A meta-skill that analyzes your repositories to discover your coding patterns and generates a reusable "your-coding-style" skill for Claude.
# 1. Build
npm install && npm run build
# 2. Analyze your code
npm run dev analyze --path ~/workspace
# 3. Use in Claude
"Generate a component following my coding style"Full guide: QUICK_START.md (5 min)
| Need | Document | Time |
|---|---|---|
| Just start | QUICK_START.md | 5 min |
| Understand the skill | SKILL.md | 10 min |
| Install & setup | This README | 5 min |
| See what it generates | EXAMPLE_OUTPUT.md | 10 min |
| Technical details | INTEGRATION.md | 15 min |
| Architecture & code | SUMMARY.md | 20 min |
| Problem solving | TROUBLESHOOTING.md | 5-10 min |
| Contributing | CONTRIBUTING.md | varies |
cd plugins/coding-style-analyzer
npm install
npm run build"Analyze my coding style for ~/workspace"
Claude will guide you through: scan → questions → generate skill
npm run dev analyze --path ~/workspace
npm run dev analyze --path ~/workspace --name my-style
npm run dev analyze --path ~/workspace --non-interactiveSee QUICK_START.md for all options.
The skill creates 6 files that encode your coding style:
~/.openclaw/workspace/skills/your-coding-style/
├── RULES.md # Your extracted rules with examples
├── PROMPTS.md # Claude prompts for your style
├── EXAMPLES.md # Good/bad code examples
├── style-guide.json # Machine-readable rules
├── SKILL.md # Documentation
└── metadata.json # Analysis metadata
See it in action: EXAMPLE_OUTPUT.md
TypeScript, JavaScript, Python, Rust, Go, Java, C# (+ 20+ frameworks detected)
- Scan - Analyzes your code for patterns (naming, functions, tests, etc.)
- Ask - Generates smart questions based on what it found
- Synthesize - Merges your code patterns + your answers into rules
- Generate - Creates a reusable skill with documentation and prompts
Full details: INTEGRATION.md or SKILL.md
- AST parsing for deeper analysis
- Linter rule generation (ESLint, Pylint)
- Configuration merging
- Team style aggregation
- Web UI
MIT