blueprint-derive-rules

Solid

Derive Claude rules from git commit history. Use when extracting implicit decisions from commits or codifying code-style, testing, and API-design rules.

Code & Development 48 stars 6 forks Updated today MIT

Install

View on GitHub

Quality Score: 80/100

Stars 20%
56
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# /blueprint:derive-rules Extract project decisions from git commit history and codify them as Claude rules. Newer commits override older decisions when conflicts exist. **Use case**: Derive implicit project patterns from git history to establish consistent AI-assisted development guidelines. **Usage**: `/blueprint:derive-rules [--since DATE] [--scope SCOPE]` ## When to Use This Skill | Use this skill when... | Use alternative when... | |------------------------|-------------------------| | Want to extract implicit decisions from git history | Creating rules from requirements (use PRDs instead) | | Project has significant commit history | New project with little history | | Establishing project coding standards | Quick manual rule creation | ## Context - Git repository: !`git rev-parse --git-dir` - Blueprint initialized: !`find . -path '*/docs/blueprint/*' -maxdepth 3 -name 'manifest.json' -type f` - Total commits: !`git rev-list --count HEAD` - Conventional commits %: !`git log --format="%s"` - Existing rules in default location: !`find . -path '*/.claude/rules/*' -maxdepth 3 -name "*.md" -type f` - Existing rules in blueprint subdir: !`find . -path '*/.claude/rules/blueprint/*' -maxdepth 4 -name "*.md" -type f` ## Parameters Parse `$ARGUMENTS`: - `--since DATE`: Analyze commits from specific date (e.g., `--since 2024-01-01`) - `--scope SCOPE`: Focus on specific area (e.g., `--scope api`, `--scope testing`) ## Execution Execute the complete git-to-rules derivatio...

Details

Author
laurigates
Repository
laurigates/claude-plugins
Created
7 months ago
Last Updated
today
Language
Shell
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category