A modern, enterprise-grade portfolio website showcasing enterprise intelligence projects and professional experience. Built with Next.js 15, TypeScript, and cutting-edge web technologies.
π€ Built entirely through AI-assisted development using specialized expert prompts with Claude Code. See /.prompts/
for the complete methodology and role-based prompts used to achieve enterprise-grade quality.
- β¨ Modern Tech Stack: Next.js 15 with App Router, TypeScript, Tailwind CSS
- π¨ Theme Toggle: Light/dark mode switching with system preference detection
- π± Responsive Design: Mobile-first approach with seamless cross-device experience
- π Type Safety: Comprehensive TypeScript implementation with strict mode
- π§ Functional Contact Form: FormSpree integration with real email delivery
- π Smooth Animations: Intersection Observer-based scroll animations with reduced motion support
- βΏ Accessibility First: WCAG 2.1 AA compliance with keyboard navigation and screen reader support
- π§ͺ Testing Excellence: 153 E2E tests across 5 browsers with 100% reliability and flaky test elimination
- π§ Form Validation: React Hook Form + Zod schema validation with real-time feedback
- π Analytics Ready: Vercel Analytics integration for engagement insights
- π SEO Optimized: Meta tags, Open Graph, structured data, and dynamic sitemap
- Node.js 18+
- pnpm (recommended) or npm
# Clone the repository
git clone https://github.com/ncolesummers/enterprise-intelligence-portfolio.git
cd enterprise-intelligence-portfolio
# Install dependencies
pnpm install
# Start development server
pnpm dev
Open http://localhost:3000 to view the portfolio.
pnpm dev
- Start development server with Turbopackpnpm build
- Build production versionpnpm start
- Start production serverpnpm lint
- Run ESLintpnpm format
- Format code with Prettier
pnpm test:e2e
- Run Playwright E2E tests (UI behavior + mocked integration)pnpm test:e2e:ui
- Run tests with interactive UIpnpm test:contact-form
- Run contact form specific testsTEST_INTEGRATION=true pnpm test:e2e
- Run full integration tests (use sparingly due to rate limits)
This project achieves testing excellence through comprehensive automation:
π Test Metrics:
- 153 E2E tests across 5 browser configurations (Chromium, Firefox, WebKit, Mobile Chrome, Mobile Safari)
- 100% test reliability with flaky test elimination and browser-specific optimizations
- Three-tier strategy: UI behavior tests, integration health checks, full API testing
- WCAG 2.1 AA compliance with accessibility and keyboard navigation testing
π― Quality Achievements:
- Zero ESLint violations with strict TypeScript
- Cross-browser form validation and error handling
- Performance testing with <3s load time requirements
- Rate-limit-aware testing with FormSpree API mocking
For detailed testing documentation and AI-assisted development methodology, see docs/TEST_PLAN.md
and /.prompts/
.
This portfolio follows enterprise-grade development practices with AI-assisted excellence:
- Component Architecture: Modular components with clear separation of concerns
- Design System: shadcn/ui components with consistent theming and accessibility
- Form Validation: React Hook Form + Zod schemas with TypeScript integration
- State Management: Centralized configuration with next-themes for theme management
- Testing Strategy: Three-tier approach with mocked APIs and cross-browser validation
- Performance: Optimized images, lazy loading, and efficient bundle splitting
- Error Handling: Comprehensive error boundaries and graceful degradation
This project demonstrates enterprise-grade AI-assisted development using:
- Role-based expert prompts for specialized development tasks
- Quality-first approach with comprehensive testing and validation
- Open source transparency - all prompts and methodologies are public
- Educational value for developers learning AI-assisted patterns
See /.prompts/README.md
for complete methodology and 8 specialized expert roles used.
Please follow our Definition of Done for all contributions:
Before considering any code change complete, ensure all criteria are met:
- Linting passes: Run
pnpm lint
with zero errors or warnings - Build succeeds: Run
pnpm build
successfully without TypeScript errors - Type safety: All TypeScript types are properly defined and used
- Code formatting: Code follows Prettier formatting standards
- Feature works as intended: Manual testing confirms expected behavior
- Cross-browser compatibility: Tested in Chrome, Firefox, and Safari (when applicable)
- Responsive design: Works on mobile, tablet, and desktop viewports
- Accessibility: Meets WCAG 2.1 AA standards (keyboard navigation, screen readers, color contrast)
- E2E tests pass: Relevant Playwright tests execute successfully
- No console errors: Browser console shows no JavaScript errors
- Contact form verification: FormSpree integration tested (when touching contact functionality)
- Reduced motion respected: Animations honor
prefers-reduced-motion
setting - Theme compatibility: Works correctly in both light and dark themes
- Loading states: Appropriate loading indicators for async operations
- Error handling: Graceful error states with user-friendly messages
- Code is self-documenting: Clear component and function names
- Complex logic explained: Comments added for non-obvious implementations
- CLAUDE.md updated: Architecture notes updated if patterns change
- Atomic commits: Each commit represents one logical change
- Clear commit messages: Descriptive messages explaining "why" not just "what"
- No sensitive data: No API keys, secrets, or personal data committed
- Vercel deployment succeeds: Build and deployment pipeline completes
- Analytics working: Vercel Analytics tracking page views (when applicable)
- SEO optimized: Meta tags, Open Graph, and structured data present
- Framework: Next.js 15 with App Router
- Language: TypeScript with strict mode
- Styling: Tailwind CSS with CSS variables
- Components: shadcn/ui + Radix UI primitives
- Theme: next-themes with system preference detection
- Icons: Lucide React
- Forms: React Hook Form + Zod validation with FormSpree integration
- Testing: Playwright E2E testing with 153 tests across 5 browsers
- Analytics: Vercel Analytics
- Deployment: Vercel Platform
src/
βββ app/ # Next.js App Router pages
β βββ api/ # API routes (FormSpree mock)
βββ components/ # Reusable components
β βββ ui/ # shadcn/ui components
βββ lib/ # Utilities, validation, and configurations
βββ assets/ # Static assets and images
tests/
βββ e2e/ # Playwright E2E tests
βββ fixtures/ # Test data and configurations
.prompts/ # AI-assisted development methodology
βββ roles/ # Specialized expert prompts
The portfolio is automatically deployed on Vercel with continuous deployment from the main branch.
This project is for portfolio purposes. All rights reserved.
Built with β€οΈ by N. Cole Summers
Showcasing the future of AI-assisted development: enterprise-grade quality through intelligent automation and specialized expert prompts.