skill-create
Analyze local git history to extract coding patterns and generate SKILL.md files. Local version of the Skill Creator GitHub App.
- Kind
- Prompt
- Works with
- Claude Code, Codex
- Source
- affaan-m/ECC @ d3b8a3e90890
- Path
- commands/skill-create.md
- License
- MIT
- Jobs
- Review, Git workflow
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
# /skill-create - Local Skill Generation
Analyze your repository's git history to extract coding patterns and generate SKILL.md files that teach Claude your team's practices.
## Usage
```bash
/skill-create # Analyze current repo
/skill-create --commits 100 # Analyze last 100 commits
/skill-create --output ./skills # Custom output; export-only unless configured
/skill-create --instincts # Also generate instincts for continuous-learning-v2
```
## What It Does
1. **Parses Git History** - Analyzes commits, file changes, and patterns
2. **Detects Patterns** - Identifies recurring workflows and conventions
3. **Generates SKILL.md** - Creates valid Claude Code skill files
4. **Optionally Creates Instincts** - For the continuous-learning-v2 system
## Analysis Steps
### Step 1: Gather Git Data
```bash
# Get recent commits with file changes
git log --oneline -n ${COMMITS:-200} --name-only --pretty=format:"%H|%s|%ad" --date=short
# Get commit frequency by file
git log --oneline -n 200 --name-only | grep -v "^$" | grep -v "^[a-f0-9]" | sort | uniq -c | sort -rn | head -20
# Get commit message patterns
…