-
Notifications
You must be signed in to change notification settings - Fork 670
Expand file tree
/
Copy pathCLAUDE.md.project-template
More file actions
71 lines (52 loc) · 1.46 KB
/
Copy pathCLAUDE.md.project-template
File metadata and controls
71 lines (52 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# Project Memory - [Project Name]
> This file provides Claude with persistent context about your project.
> Place at: ./CLAUDE.md (project root) for team conventions.
## Project Overview
**Name**: [Project Name]
**Type**: [Web app / API / CLI / Library]
**Stack**: [e.g., TypeScript, Next.js, Prisma, PostgreSQL]
## Architecture
```
src/
├── app/ # Next.js app router
├── components/ # React components
├── lib/ # Shared utilities
├── services/ # Business logic
└── types/ # TypeScript types
```
## Conventions
### Code Style
- Use TypeScript strict mode
- Prefer `const` over `let`
- Use named exports
- Maximum function length: 30 lines
### Naming
- Files: `kebab-case.ts`
- Components: `PascalCase.tsx`
- Functions: `camelCase`
- Constants: `SCREAMING_SNAKE_CASE`
### Git
- Branch format: `type/description` (e.g., `feat/user-auth`)
- Commit format: Conventional Commits
- PR required for main branch
## Key Files
- `@src/lib/db.ts` - Database connection
- `@src/services/auth.ts` - Authentication logic
- `@docs/api.md` - API documentation
## Testing
- Framework: Vitest
- Run: `npm test`
- Coverage target: 80%
## Commands
```bash
npm run dev # Development server
npm run build # Production build
npm run test # Run tests
npm run lint # Lint code
```
## Known Issues
- [Issue description and workaround if any]
## Team Contacts
- **Tech Lead**: [Name]
- **Backend**: [Name]
- **Frontend**: [Name]