| name | git-check |
| description | Review project consistency after code changes. Checks if code, design docs, CHANGELOG, and README are aligned. Use after finishing code modifications and before committing. |
Git Check - Project Consistency Review
Overview
This skill reviews project consistency after code changes to ensure:
- Code matches design documents
- CHANGELOG is updated for new features/fixes
- README reflects current functionality
- No outdated documentation
When to Use
Trigger /git-check after:
- Completing a feature implementation
- Fixing a bug
- Before creating a PR
- After significant code refactoring
Review Checklist
1. Code vs Design Docs
Check if implementation matches design:
- Architecture follows design patterns
- API endpoints match specification
- Data models align with schema
find . -name "DESIGN.md" -o -name "*.design.md" -o -name "design*.md"
2. CHANGELOG Update
Verify CHANGELOG.md includes:
- New features added
- Bugs fixed
- Breaking changes noted
- Version number updated (if applicable)
git diff HEAD~5 --name-only
cat CHANGELOG.md | head -50
3. README Accuracy
Ensure README.md reflects:
- Current installation steps
- Updated usage examples
- New CLI commands/options
- Correct configuration
cat README.md
4. Consistency Report
Generate a report:
## Consistency Check Report
### Files Changed
- [ ] List modified files
### Documentation Status
- [ ] CHANGELOG updated: Yes/No
- [ ] README accurate: Yes/No
- [ ] Design docs aligned: Yes/No
### Issues Found
- Issue 1: ...
- Issue 2: ...
### Recommendations
- Action 1: ...
- Action 2: ...
Workflow
Code Changes Complete
â
/git-check
â
âââââââââââââââââââââââââ
â 1. Read changed files â
â 2. Check CHANGELOG â
â 3. Verify README â
â 4. Compare with docs â
â 5. Generate report â
âââââââââââââââââââââââââ
â
Fix Issues (if any)
â
git commit
Usage
/git-check # Full consistency review
/git-check --quick # Quick check (CHANGELOG + README only)
/git-check --verbose # Detailed report with suggestions
Example Output
## Git Check Report
### Changed Files (last commit)
- src/storage.py
- src/main.py
### CHANGELOG Status
â ïž CHANGELOG.md not updated for recent changes
### README Status
â
README.md is up to date
### Recommendations
1. Add entry to CHANGELOG.md:
- "fix: save url/source/category in sent_news.json"