BACK TO DIRECTORY
settingbeginner
AI-Assisted Development
The definitive configuration for getting the most out of Claude Code in your development workflow. Includes a comprehensive CLAUDE.md file that sets coding standards, preferred libraries, project structure conventions, and task execution guidelines. Also includes VS Code settings for Claude Code integration, custom slash commands, and recommended MCP server configurations.
1.2k STARS
18.9k DOWNLOADS
claude-templates
claudeaiproductivityconfigworkflow
CONFIGURATION
markdown
1# CLAUDE.md - AI-Assisted Development Configuration23## Project Context4This is a [Next.js/React/Node.js] project using TypeScript.5The codebase follows these conventions strictly.67## Tech Stack8- Runtime: Node.js 22+9- Framework: Next.js 15+ (App Router)10- Language: TypeScript (strict mode)11- Styling: Tailwind CSS 412- Database: PostgreSQL with Prisma13- Testing: Vitest (unit), Playwright (E2E)14- Package Manager: pnpm1516## Code Standards1718### TypeScript19- No `any` types. Use `unknown` and type narrow.20- Prefer `interface` over `type` for object shapes.21- Use `as const` for literal types.22- Export types separately: `export type { MyType }`2324### React25- Server Components by default.26- `"use client"` only for interactive components.27- Co-locate components with their pages.28- Use `React.ComponentProps<"element">` for HTML props.2930### File Naming31- Components: PascalCase (UserCard.tsx)32- Utilities: camelCase (formatDate.ts)33- Constants: SCREAMING_SNAKE_CASE34- Files: kebab-case for non-component files3536### Git37- Conventional commits: feat:, fix:, docs:, etc.38- Branch naming: feature/description, fix/description39- Always create a new branch for changes40- PR descriptions must include testing instructions4142## Allowed Commands43- pnpm install, pnpm dev, pnpm build, pnpm test44- npx prisma migrate dev, npx prisma generate45- git add, git commit, git push, git checkout4647## Forbidden Actions48- Never modify .env files49- Never run destructive database commands in production50- Never force push to main51- Never install packages without checking bundle size52- Never use `eval()` or dynamic code execution5354## Testing Requirements55- Every new function must have unit tests56- Every new page must have E2E tests57- Minimum 80% code coverage on new code58- Run tests before committing: pnpm test -- --run