Build production-ready web apps faster with AI-powered Skills handling Requirements, Architecture, Development, QA, and Deployment.
This template uses Claude Code with modern Skills, Rules, and Sub-Agents to provide a complete AI-powered development workflow.
git clone https://github.com/YOUR_USERNAME/ai-coding-starter-kit.git my-project
cd my-project
npm installIf you need a backend:
- Create Supabase Project: supabase.com
- Copy
.env.local.exampleto.env.local - Add your Supabase credentials
- Uncomment the Supabase client in
src/lib/supabase.ts
Skip this step if you're building frontend-only (landing pages, portfolios, etc.)
npm run devOpen http://localhost:3000 in your browser.
Open Claude Code and describe your project. The /requirements skill automatically detects that this is a fresh project and enters Init Mode:
/requirements I want to build a project management tool for small teams
where users can create projects, assign tasks, and track progress.
The skill will:
- Ask interactive questions to clarify your vision, target users, and MVP scope
- Create your Product Requirements Document (
docs/PRD.md) - Break the project into individual features (Single Responsibility)
- Create all feature specs (
features/PROJ-1.md,PROJ-2.md, etc.) - Update feature tracking (
features/INDEX.md) - Recommend which feature to build first
You don't need to put everything in the first prompt - a brief description is enough. The skill asks follow-up questions interactively.
After project initialization, build features one at a time using skills:
/architecture Design the tech approach for features/PROJ-1-user-auth.md
/frontend Build the UI for features/PROJ-1-user-auth.md
/backend Build the API for features/PROJ-1-user-auth.md
/qa Test features/PROJ-1-user-auth.md
/deploy Deploy to Vercel
Each skill suggests the next step when it finishes. Handoffs are always user-initiated.
To add more features later, run /requirements again - it detects the existing PRD and adds a single feature.
| Skill | Command | What It Does |
|---|---|---|
| Requirements Engineer | /requirements |
Creates feature specs with user stories, acceptance criteria, edge cases |
| Solution Architect | /architecture |
Designs PM-friendly tech architecture (no code, only high-level design) |
| Frontend Developer | /frontend |
Builds UI with React, Tailwind CSS, and shadcn/ui |
| Backend Developer | /backend |
Builds APIs, database schemas, RLS policies with Supabase |
| QA Engineer | /qa |
Tests features against acceptance criteria + security audit |
| DevOps | /deploy |
Deploys to Vercel with production-ready checks |
| Help | /help |
Context-aware guide: shows where you are and what to do next |
- Skills are defined in
.claude/skills/and auto-discovered by Claude Code - Rules in
.claude/rules/are auto-applied based on file context (no manual loading) - Sub-Agents run heavy tasks (frontend, backend, QA) in isolated contexts for cost efficiency
- CLAUDE.md provides project context automatically at every session start
1. Define /requirements --> Feature spec in features/PROJ-X.md
2. Design /architecture --> Tech design added to feature spec
3. Build /frontend --> UI components implemented
/backend --> APIs + database (if needed)
4. Test /qa --> Test results added to feature spec
5. Ship /deploy --> Deployed to Vercel
Features are tracked in features/INDEX.md:
| ID | Feature | Status | Spec |
|---|---|---|---|
| PROJ-1 | User Login | Deployed | Spec |
| PROJ-2 | Dashboard | In Progress | Spec |
Every skill reads this file at start and updates it when done, preventing duplicate work.
| Category | Tool | Why? |
|---|---|---|
| Framework | Next.js 16 | React + Server Components + App Router |
| Language | TypeScript | Type safety |
| Styling | Tailwind CSS | Utility-first CSS |
| UI Library | shadcn/ui | Copy-paste, customizable components |
| Backend | Supabase (optional) | PostgreSQL + Auth + Storage + Realtime |
| Deployment | Vercel | Zero-config Next.js hosting |
| Validation | Zod | Runtime type validation |
ai-coding-starter-kit/
+-- CLAUDE.md <-- Auto-loaded project context
+-- .claude/
| +-- settings.json <-- Team permissions (committed)
| +-- settings.local.json <-- Personal overrides (gitignored)
| +-- rules/ <-- Auto-applied coding rules
| | +-- general.md Git workflow, feature tracking
| | +-- frontend.md shadcn/ui, component standards
| | +-- backend.md RLS, validation, queries
| | +-- security.md Secrets, headers, auth
| +-- skills/ <-- Invocable workflows (/command)
| | +-- requirements/SKILL.md /requirements
| | +-- architecture/SKILL.md /architecture
| | +-- frontend/SKILL.md /frontend (runs as sub-agent)
| | +-- backend/SKILL.md /backend (runs as sub-agent)
| | +-- qa/SKILL.md /qa (runs as sub-agent)
| | +-- deploy/SKILL.md /deploy
| | +-- help/SKILL.md /help
| +-- agents/ <-- Sub-agent configs
| +-- frontend-dev.md Model, tools, limits
| +-- backend-dev.md
| +-- qa-engineer.md
+-- features/ <-- Feature specifications
| +-- INDEX.md Status tracking
| +-- README.md Spec format documentation
+-- docs/
| +-- PRD.md <-- Product Requirements Document
| +-- production/ <-- Production setup guides
| +-- error-tracking.md Sentry setup (5 min)
| +-- security-headers.md XSS/Clickjacking protection
| +-- performance.md Lighthouse, optimization
| +-- database-optimization.md Indexing, N+1, caching
| +-- rate-limiting.md Upstash Redis
+-- src/
| +-- app/ <-- Pages (Next.js App Router)
| +-- components/
| | +-- ui/ <-- shadcn/ui components (35+ installed)
| +-- hooks/ <-- Custom React hooks
| +-- lib/ <-- Utilities
+-- public/ <-- Static files
Define your product vision in docs/PRD.md:
- What are you building and why?
- Who are the target users?
- What features are on the roadmap?
Run /requirements with your feature idea. The skill will:
- Ask interactive questions to clarify requirements
- Create a feature spec in
features/PROJ-1-name.md - Update
features/INDEX.mdwith the new feature - Suggest running
/architectureas the next step
35+ components are pre-installed. Add more as needed:
npx shadcn@latest add [component-name]When you're ready to deploy, the /deploy skill guides you through:
- Vercel setup and deployment
- Error tracking with Sentry
- Security headers configuration
- Performance monitoring with Lighthouse
See docs/production/ for detailed setup guides.
Each skill is a structured workflow that Claude Code discovers automatically. Skills can run inline (in the main conversation) or as forked sub-agents (isolated context window).
| Skill | Execution | Why? |
|---|---|---|
/requirements |
Inline | Needs live interaction with user |
/architecture |
Inline | Short output, user reviews in real-time |
/frontend |
Sub-agent (forked) | Heavy file editing, lots of output |
/backend |
Sub-agent (forked) | Heavy file editing, SQL, API code |
/qa |
Sub-agent (forked) | Systematic testing, lots of output |
/deploy |
Inline | Deployment needs user oversight |
/help |
Inline | Quick status check and guidance |
Coding standards that are auto-applied based on which files Claude is working with. No manual loading needed.
Lightweight configurations that define model, tool access, and turn limits for forked skills.
Auto-loaded at every session start. Contains tech stack, conventions, and references to PRD and feature index.
AI agents work best with clean, structured context - not longer prompts. This template is designed around these principles:
Every skill reads features/INDEX.md and the relevant feature spec at start. After context compaction or a new session, nothing is lost - the agent simply re-reads the files. Progress tracking, acceptance criteria, and tech designs all live in markdown files, not in the conversation.
Not everything is loaded at once. Information is layered by relevance:
| Layer | What | When loaded |
|---|---|---|
CLAUDE.md |
Tech stack, conventions, commands | Every session (auto) |
.claude/rules/ |
Coding standards | When editing matching files (auto) |
Skill SKILL.md |
Workflow instructions | When skill is invoked |
| Feature spec | Requirements, AC, tech design | On demand (skill reads it) |
docs/production/ |
Deployment guides | Only when referenced |
Heavy implementation skills (/frontend, /backend, /qa) run as forked sub-agents with their own context window. Research noise from one skill doesn't pollute another. Each fork starts clean and loads only what it needs.
All forked skills include a Context Recovery section: if the context is compacted mid-task, the agent re-reads the feature spec, checks git diff for progress, and continues without restarting or duplicating work.
A global rule (rules/general.md) enforces: always read a file before modifying it, never assume contents from memory, verify import paths and API routes by reading. This prevents hallucinated code references - the most common source of AI coding errors.
This template is designed as a starting point. Customize it for your team:
- Edit CLAUDE.md - Add your project-specific conventions and build commands
- Edit docs/PRD.md - Define your product vision and roadmap
- Edit .claude/rules/ - Adjust coding standards for your team
- Edit .claude/skills/ - Modify workflows to match your process
- Edit .claude/settings.json - Configure team permissions
Standalone guides in docs/production/:
| Guide | Setup Time | What It Does |
|---|---|---|
| Error Tracking | 5 min | Sentry integration for automatic error capture |
| Security Headers | 2 min | XSS, Clickjacking, MIME sniffing protection |
| Performance | 10 min | Lighthouse checks, image optimization, caching |
| Database Optimization | 15 min | Indexing, N+1 prevention, query optimization |
| Rate Limiting | 10 min | Upstash Redis for API abuse prevention |
npm run dev # Development server (localhost:3000)
npm run build # Production build
npm run start # Production server
npm run lint # ESLintCreated by Alex Sprogis – AI Product Engineer & Content Creator.
MIT License - feel free to use for your projects!