mirror of
https://github.com/samiyev/template.git
synced 2025-12-27 15:10:35 +05:00
d900979c4e5e71577701efe1d29b1d277cf6cdb1
CLAUDE.md Template
Standard template for Claude Code configuration files across all projects.
Usage
- Copy
CLAUDE.mdto your new project root - Replace placeholders:
PROJECT_NAME→ your project name@project/*→ your package prefix (e.g.,@myapp/*)/path/to/project→ actual project path
- Update package table with your packages
- Add project-specific sections if needed
- Remove "Template Usage" section
What's Included
| Section | Description |
|---|---|
| Code Style | 4 spaces, no semicolons, double quotes |
| ESLint Rules | 12 mandatory rules with fixes |
| Architecture | DDD + Clean Architecture |
| Git Commits | Conventional Commits format |
| Security | Forbidden patterns + requirements |
| Testing | Coverage thresholds (90/80/70%) |
| Database | MongoDB + Redis only |
| Performance | API < 200ms, DB < 100ms |
| CI/CD | Pipeline stages + deploy rules |
| Deployment | PM2 + Nginx (no Docker) |
Key Rules
✅ MUST: Return types | await promises | const | curly braces | ===
❌ NEVER: any | console.log | floating promises | var | secrets in code | Docker
LIMITS: 5 params | 100 lines | 4 depth | 15 complexity
Projects Using This Template
- RIDA — TypeScript monorepo (CRM, Bot, PWA)
- NYAMS — AI-powered food calorie tracker
- DBLand — NoSQL database GUI client
- OpenNotify — Unified notification API
- OpenPayment — Unified payment API
License
MIT
Description
Languages
Markdown
100%