Harness Component — Command
Skill Create
Analyze local git history to extract coding patterns and generate SKILL.md files. Local version of the Skill Creator GitHub App.
Runtimeuniversal
Intentresearch
Definition
/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
/skill-create # Analyze current repo
/skill-create --commits 100 # Analyze last 100 commits
/skill-create --output ./skills # Custom output directory
/skill-create --instincts # Also generate instincts for continuous-learning-v2
What It Does
- Parses Git History - Analyzes commits, file changes, and patterns
- Detects Patterns - Identifies recurring workflows and conventions
- Generates SKILL.md - Creates valid Claude Code skill files
- Optionally Creates Instincts - For the continuous-learning-v2 system
Analysis Steps
Step 1: Gather Git Data
# 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
Step 2: Detect Patterns
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 |
Step 3: Generate SKILL.md
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}
#
More from affaan-m/everything-claude-code
Add Language Rules
commandWorkflow command scaffold for add-language-rules in everything-claude-code.
225,587claude-code
Database Migration
commandWorkflow command scaffold for database-migration in everything-claude-code.
225,587claude-code
Evolve
commandAnalyze instincts and suggest or generate evolved structures
225,587universal
Feature Development
commandWorkflow command scaffold for feature-development in everything-claude-code.
225,587claude-code
Projects
commandList known projects and their instinct statistics
225,587universal
Promote
commandPromote project-scoped instincts to global scope
225,587universal