/soe:skill-createfrom soe
Analyze local git history to extract coding patterns and generate SKILL.md files. Local version of the Skill Creator GitHub App.
Ships in soe. Installing the plugin adds it to Claude Code.
Analyze your repository's git history to extract coding patterns and generate SKILL.md files that teach Claude your team's practices.
/soe:skill-create # Analyze current repo
/soe:skill-create --commits 100 # Analyze last 100 commits
/soe:skill-create --output ./skills # Custom output directory
/soe:skill-create --instincts # Also generate instincts for continuous-learning-v2
# 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
git log --oneline -n 200 | cut -d' ' -f2- | head -50
Look for these pattern types:
| Pattern | Detection Method |
|---|---|
| Commit conventions | Regex on commit messages (feat:, fix:, chore:) |
| File co-changes | Files that always change together |
| Workflow sequences | Repeated file change patterns |
| Architecture | Folder structure and naming conventions |
| Testing patterns | Test file locations, naming, coverage |
Output format:
---
name: {repo-name}-patterns
description: Coding patterns extracted from {repo-name}
version: 1.0.0
source: local-git-analysis
analyzed_commits: {count}
---
# {Repo Name} Patterns
## Commit Conventions
{detected commit message patterns}
## Code Architecture
{detected folder structure and organization}
## Workflows
{detected repeating file change patterns}
## Testing Patterns
{detected test conventions}
For continuous-learning-v2 integration:
---
id: {repo}-commit-convention
trigger: "when writing a commit message"
confidence: 0.8
domain: git
source: local-repo-analysis
---
# Use Conventional Commits
## Action
Prefix commits with: feat:, fix:, chore:, docs:, test:, refactor:
## Evidence
- Analyzed {n} commits
- {percentage}% follow conventional commit format
Running /soe:skill-create on a TypeScript project might produce:
---
name: my-app-patterns
description: Coding patterns from my-app repository
version: 1.0.0
source: local-git-analysis
analyzed_commits: 150
---
# My App Patterns
## Commit Conventions
This project uses **conventional commits**:
- `feat:` - New features
- `fix:` - Bug fixes
- `chore:` - Maintenance tasks
- `docs:` - Documentation updates
## Code Architecture
src/ ├── components/ # React components (PascalCase.tsx) ├── hooks/ # Custom hooks (use*.ts) ├── utils/ # Utility functions ├── types/ # TypeScript type definitions └── services/ # API and external services
## Workflows
### Adding a New Component
1. Create `src/components/ComponentName.tsx`
2. Add tests in `src/components/__tests__/ComponentName.test.tsx`
3. Export from `src/components/index.ts`
### Database Migration
1. Modify `src/db/schema.ts`
2. Run `pnpm db:generate`
3. Run `pnpm db:migrate`
## Testing Patterns
- Test files: `__tests__/` directories or `.test.ts` suffix
- Coverage target: 80%+
- Framework: Vitest
For advanced features (10k+ commits, team sharing, auto-PRs), use the Skill Creator GitHub App:
/skill-creator analyze on any issue/soe:instinct-import - Import generated instincts/soe:instinct-status - View learned instincts/soe:evolve - Cluster instincts into skills/agentsPart of Everything Claude Code
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub faisalalqarni/soe --plugin soe16 commands in this plugin
/critiqueRed-team a design or plan document before it is executed. Dispatches the soe:devils-advocate agent to run the soe:adversarial-review methodology against a target file and return numbered findings./evolveCluster related instincts into skills, commands, or agents/goHuman-in-loop entry to the soe Evaluate-Loop — brainstorm a design with you first, bind it to a track, then the orchestrator plans, executes, evaluates, and drives to completion./go-allDual-derivation entry to the soe Evaluate-Loop — a human brainstorm and an independent auto-spec are derived concurrently, then reconciled with you into one canonical design, bound to the track, and driven to completion by the orchestrator./go-autoAutonomous entry to the soe Evaluate-Loop — a subagent derives the spec from your goal + a codebase analysis (no human brainstorm), binds it to the track, then the orchestrator plans, executes, evaluates, and drives to completion./instinct-exportExport instincts for sharing with teammates or other projectsOther plugins' commands for the same job