History & Architectural Context Seeder Skill (Repository Onboarding)
Overview
Analyzes the repository's Git history and past fix commits to extract recurring bug patterns, architectural conventions, and security patterns, seeding CONTEXT.md during initial repository onboarding.
Execution Sequence
- Analyze Git Log:
- Inspect commits touching bug fixes, refactors, and sensitive modules:
git log --grep="fix\|bug\|refactor\|vuln\|security\|patch" -n 50 --oneline
- Inspect commits touching bug fixes, refactors, and sensitive modules:
- Extract Historical Lessons:
- Identify which files and modules have historically been prone to bugs or regressions.
- Extract past patterns and architectural conventions established by maintainers.
- Seed
CONTEXT.md:- Populate
CONTEXT.mdwith known architectural risk areas, sensitive directories, approved helpers, and custom project conventions.
- Populate