20 specialized agents, 10 skills, 17 slash commands, 6 plugins, 12 hooks with scripts, 8 rule sets, 3 CLAUDE.md templates, 14 MCP server configs, and interactive setup installer.
1.8 KiB
1.8 KiB
Project Name
One-line description of the project's purpose.
Stack
- Language: TypeScript 5.x
- Framework: Next.js 15 (App Router)
- Database: PostgreSQL with Prisma ORM
- Testing: Vitest + Playwright
- Package Manager: pnpm
Commands
pnpm install- Install dependenciespnpm dev- Start dev server at localhost:3000pnpm build- Production buildpnpm test- Run unit tests with Vitestpnpm test:e2e- Run Playwright end-to-end testspnpm lint- Run ESLintpnpm typecheck- Run TypeScript compiler checkpnpm db:migrate- Run database migrationspnpm db:seed- Seed the database
Project Structure
src/
app/ - Next.js App Router pages and layouts
components/ - Reusable React components
lib/ - Business logic and utilities
server/ - Server-side code (API, database, auth)
types/ - Shared TypeScript type definitions
prisma/ - Database schema and migrations
tests/ - Test files mirroring src/ structure
Conventions
- Conventional commits:
type(scope): message - Feature branches:
feature/short-description, merge via PR - Server components by default,
'use client'only when needed - Validate API inputs with Zod schemas
- Handle loading, error, and empty states in all UI components
- No
anytypes. Useunknownwith type guards - 80% minimum test coverage on new code
Environment Variables
DATABASE_URL- PostgreSQL connection stringNEXTAUTH_SECRET- Auth session encryption keyNEXTAUTH_URL- Base URL for auth callbacks
Key Decisions
- Cursor-based pagination for all list endpoints
- Repository pattern for data access layer
- Error responses follow
{ error: { code, message, details } }format - All dates stored and transmitted as ISO 8601 UTC strings