Brownfield Developer Skills Generator
Generate Claude Code Project Skills for brownfield (existing) projects.
What This Skill Does
Analyze an existing project and generate structured Skills files that enable AI to:
- Master the project - Deep understanding of tech stack, architecture, and code style
- Follow conventions - Work according to existing coding patterns
- Ensure compatibility - Maintain backward compatibility when extending
- Reuse code first - Prioritize existing implementations over new code
Quick Start
- Run this skill in your project root
- Generated Skills are placed in
.claude/skills/brownfield-developer-[project-name]/ - Claude Code automatically loads these Skills
Output Structure
.claude/skills/brownfield-developer-[project-name]/
├── SKILL.md # Entry point with project overview
└── references/
├── architecture.md # Architecture and layering
├── tech-stack.md # Tech stack and versions
├── coding-conventions.md # Coding standards
├── module-structure.md # Module responsibilities
└── development-patterns.md # Development patterns
Execution Process
Phase 0: Deep Project Analysis
Analyze the project like a senior engineer taking over:
- Tech Stack Identification - See references/analysis-guide.md
- Architecture Recognition - See references/analysis-guide.md
- Conventions Extraction - See references/analysis-guide.md
- Module Analysis - See references/analysis-guide.md
- Pattern Recognition - See references/analysis-guide.md
Phase 1: Generate Skills Files
Transform analysis into structured Skills using templates in references/templates.md.
Phase 2: Validation
Verify generated Skills:
- Directory structure is correct
- All 5 reference files exist
- SKILL.md entry is valid
- Reference links work
Pre-Output Checklist
| Check | Correct | Wrong |
|---|---|---|
| Skills root | .claude/skills/ |
skills/ |
| Skill dir | brownfield-developer-[name] |
Other names |
| Entry file | SKILL.md |
skill.md |
| References | references/ |
reference/ |
Brownfield Principles
- Respect existing architecture - Don't "improve", follow accurately
- Code reuse first - Search existing code before creating new
- Forward compatibility - New features must not break existing
- Refactor on-demand - Only when necessary
Reference Files
- references/analysis-guide.md - Detailed analysis procedures
- references/templates.md - Output file templates
- references/templates-cn.md - Chinese templates
Integration
Works alongside Repomix:
- Run
repomix --skill-generatefor code snapshots - Run this skill for development expertise
- Together they provide complete project mastery
Converted and distributed by TomeVault — claim your Tome and manage your conversions.