Help us improve
Share bugs, ideas, or general feedback.
From project-optimizer
CLAUDE.md generation patterns using project.md and brand.md context. Use when creating CLAUDE.md, running /my_setup, optimizing Claude Code configuration, or asking about technical documentation for Claude Code.
npx claudepluginhub anilcancakir/claude-code-plugins --plugin project-optimizerHow this skill is triggered — by the user, by Claude, or both
Slash command
/project-optimizer:skills/claude-setupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Patterns and templates for creating optimized CLAUDE.md files that integrate project.md and brand.md context.
Generates, analyzes, and enhances CLAUDE.md files using best practices, modular architecture, and tech stack customization for new and existing projects.
Generates or audits a CLAUDE.md for a project by combining data from Repo Auditor with a guided developer interview.
Provides best practices for creating, updating, and auditing CLAUDE.md files including constraints, commands, architecture overviews, and bloat reduction for projects.
Share bugs, ideas, or general feedback.
Patterns and templates for creating optimized CLAUDE.md files that integrate project.md and brand.md context.
project.md (what) → brand.md (identity) → CLAUDE.md (how)
CLAUDE.md should:
| Project Size | Target Tokens | Max Lines |
|---|---|---|
| Small (<10k LOC) | 500-1000 | 50-100 |
| Medium (10-50k LOC) | 1000-2000 | 100-200 |
| Large (>50k LOC) | 2000-4000 | 200-300 |
Use XML-style tags for parseability:
<ARCHITECTURE> - Technical architecture decisions<CONVENTIONS> - Project-specific code patterns<TOOLS> - MCP servers and preferences<TESTING> - Test framework and patterns<COMMANDS> - Quick reference table<BRAND> - Quick reference from brand.md<GOTCHAS> - Proven solutions to problems# [Project Name]
[One-line description - from project.md or detected]
## Quick Reference
| Command | Description |
|---------|-------------|
| `[cmd]` | [purpose] |
For project overview, see [project.md](project.md).
For brand guidelines, see [brand.md](brand.md).
<ARCHITECTURE>
## Architecture
[Technical architecture - patterns, layers, data flow]
[Reference project.md for project goals and features]
</ARCHITECTURE>
<CONVENTIONS>
## Conventions
### Naming
- [File naming pattern]
- [Class/function naming]
### Code Organization
- [Feature vs layer structure]
- [Import ordering]
</CONVENTIONS>
<TESTING>
## Testing
- **Framework**: [PHPUnit/Jest/Pest/etc.]
- **Run**: `[command]`
- **Coverage**: `[command]`
### Patterns
- [Test organization]
- [Mocking approach]
</TESTING>
<TOOLS>
## Available Tools
### Research
- `WebSearch` - Documentation lookup
- `mcp__context7__query-docs` - Framework docs
### Development
- `mcp__github__*` - Issue/PR management
- `Bash` - Build and test commands
### Tool Preferences
- [When to use which tool]
</TOOLS>
<BRAND>
## Design Guidelines
Reference: See [brand.md](brand.md) for full guidelines.
**Quick Reference:**
- Archetype: [From brand.md]
- Primary: [HEX from brand.md]
- Font: [From brand.md]
- Voice: [Key attributes from brand.md]
</BRAND>
<GOTCHAS>
## Gotchas
### [Issue Name]
**Problem**: [Description]
**Solution**: [Fix with file reference]
</GOTCHAS>
Extract and use:
Extract and reference:
See reference files for detailed templates:
When updating existing CLAUDE.md:
Before finalizing CLAUDE.md: