git-derive-docs
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
When to Use This Skill
| Use this skill when... | Use the alternative when... |
|---|---|
| Mining git history for undocumented rules, PRDs, ADRs, or PRPs | Use git-cli-agentic for one-shot porcelain queries against the history |
| Generating skeleton documentation from commit-message patterns | Use git-commit-workflow to set conventions BEFORE the history accrues |
| Detecting architectural decisions or feature work that was never recorded | Use github-issue-writing to file fresh issues from the gaps you find |
Auditing whether .claude/rules/ and docs/{prds,adrs,prps}/ reflect actual practice |
Use git-triage to triage the open issues and PRs surfaced during the audit |
Context
- Current branch: !
git branch --show-current - Commit count: !
git rev-list --count HEAD - Latest commit: !
git log --format='%ai' --max-count=1 - Existing rules: !
find . -path '*/.claude/rules/*' -maxdepth 3 -type f - Existing docs: !
find . -maxdepth 3 \( -path '*/docs/prds/*' -o -path '*/docs/adrs/*' -o -path '*/docs/prps/*' \) -type f - Commit conventions sample: !
git log --format='%s' --max-count=20