everything-claude-code / examples
tpavanipradeep/everything-claude-code/examples/CLAUDE.md
This is an example project-level CLAUDE.md file. Place this in your project root. [Brief description of your project - what it does, tech stack]
CLAUDE.md104 starsChanged 7 months ago
- Reads credentials
What's in it
- Example Project CLAUDE.md
- Project Overview
- Critical Rules
- 1. Code Organization
- 2. Code Style
- 3. Testing
- 4. Security
- File Structure
- Key Patterns
- API Response Format
- Error Handling
- Environment Variables
- Available Commands
- Git Workflow
# Example Project CLAUDE.md
This is an example project-level CLAUDE.md file. Place this in your project root.
## Project Overview
[Brief description of your project - what it does, tech stack]
## Critical Rules
### 1. Code Organization
- Many small files over few large files
- High cohesion, low coupling
- 200-400 lines typical, 800 max per file
- Organize by feature/domain, not by type
### 2. Code Style
- No emojis in code, comments, or documentation
- Immutability always - never mutate objects or arrays
- No console.log in production code
- Proper error handling with try/catch
- Input validation with Zod or similar
### 3. Testing
- TDD: Write tests first
- 80% minimum coverage
- Unit tests for utilities
- Integration tests for APIs
- E2E tests for critical flows
### 4. Security
- No hardcoded secrets
- Environment variables for sensitive data
- Validate all user inputs
- Parameterized queries only
- CSRF protection enabled
## File Structure
```
src/
|-- app/ # Next.js app router
|-- components/ # Reusable UI components
|-- hooks/ # Custom React hooks
|-- lib/ # Utility libraries
|-- types/ # TypeScript definitions
```
## Key Patterns
### API Response Format
```typescript
interface ApiResponse<T> {
success: boolean
data?: T
error?: string
}
```
### Error Handling
```typescript
try {
const result = await operation()
return { success: true, data: result }
} catch (error) {
console.error('Operation failed:', error)
return { success: false, error: 'User-friendly message' }
}
```
## Environment Variables
```bash
# Required
DATABASE_URL=
API_KEY=
# Optional
DEBUG=false
```
## Available Commands
- `/tdd` - Test-driven development workflow
- `/plan` - Create implementation plan
- `/code-review` - Review code quality
- `/build-fix` - Fix build errors
## Git Workflow
- Conventional commits: `feat:`, `fix:`, `refactor:`, `docs:`, `test:`
- Never commit to main directly
- PRs require review
- All tests must pass before merge
More agent context in tpavanipradeep/everything-claude-code
81 other files this repository gives its agents, the first 60 shown.
AGENTS.md
CLAUDE.md
Cursor rule
- .cursor/rules/common-agents.md
- .cursor/rules/common-coding-style.md
- .cursor/rules/common-development-workflow.md
- .cursor/rules/common-git-workflow.md
- .cursor/rules/common-hooks.md
- .cursor/rules/common-patterns.md
- .cursor/rules/common-performance.md
- .cursor/rules/common-security.md
- .cursor/rules/common-testing.md
- .cursor/rules/golang-coding-style.md
- .cursor/rules/golang-hooks.md
- .cursor/rules/golang-patterns.md
- .cursor/rules/golang-security.md
- .cursor/rules/golang-testing.md
- .cursor/rules/kotlin-coding-style.md
- .cursor/rules/kotlin-hooks.md
- .cursor/rules/kotlin-patterns.md
- .cursor/rules/kotlin-security.md
- .cursor/rules/kotlin-testing.md
- .cursor/rules/php-coding-style.md
- .cursor/rules/php-hooks.md
- .cursor/rules/php-patterns.md
- .cursor/rules/php-security.md
- .cursor/rules/php-testing.md
- .cursor/rules/python-coding-style.md
- .cursor/rules/python-hooks.md
- .cursor/rules/python-patterns.md
- .cursor/rules/python-security.md
- .cursor/rules/python-testing.md
- .cursor/rules/swift-coding-style.md
- .cursor/rules/swift-hooks.md
- .cursor/rules/swift-patterns.md
- .cursor/rules/swift-security.md
- .cursor/rules/swift-testing.md
- .cursor/rules/typescript-coding-style.md
- .cursor/rules/typescript-hooks.md
- .cursor/rules/typescript-patterns.md
- .cursor/rules/typescript-security.md
- .cursor/rules/typescript-testing.md
Skill
- api-design.agents/skills/api-design/SKILL.md
- article-writing.agents/skills/article-writing/SKILL.md
- backend-patterns.agents/skills/backend-patterns/SKILL.md
- bun-runtime.agents/skills/bun-runtime/SKILL.md
- claude-api.agents/skills/claude-api/SKILL.md
- coding-standards.agents/skills/coding-standards/SKILL.md
- content-engine.agents/skills/content-engine/SKILL.md
- crosspost.agents/skills/crosspost/SKILL.md
- deep-research.agents/skills/deep-research/SKILL.md
- dmux-workflows.agents/skills/dmux-workflows/SKILL.md
- documentation-lookup.agents/skills/documentation-lookup/SKILL.md
- e2e-testing.agents/skills/e2e-testing/SKILL.md
- eval-harness.agents/skills/eval-harness/SKILL.md
- exa-search.agents/skills/exa-search/SKILL.md
- fal-ai-media.agents/skills/fal-ai-media/SKILL.md
- frontend-patterns.agents/skills/frontend-patterns/SKILL.md
- frontend-slides.agents/skills/frontend-slides/SKILL.md
- investor-materials.agents/skills/investor-materials/SKILL.md
Also found in 21 other repositories
The same file, byte for byte, in the weekly crawl of public GitHub; the 10 with the most stars.
- WorldFlowAI/everything-claude-code2k
- loulanyue/awesome-claude-notes272
- mit-network/everything-claude-code76
- j7-dev/everything-github-copilot19
- Infopibe/everything-claude-code8
- XD3an/cc-plus4
- yapota2018/affaan-m-everything-claude-code4
- ArogyaReddy/https-github.com-affaan-m-everything-claude-code12
- steven715/cpp-claude-code2
- ashutoshrathi0909-oss/everything-claude-code1
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

