tsaol/awesome-claude/git-review
Claude Code and agent skill by tsaol/awesome-claude
- community
Checking that the SKILL.md file is still in the repository.
Review code changes against requirements and original design. Validates implementation correctness, design alignment, code quality, and runs tests. Use before committing or creating a PR.
Install
npx vskill@latest install tsaol/awesome-claude/git-reviewSKILL.md
Git Review - Requirements Check, Design Validation & Testing
Overview
This skill performs a thorough code review by:
- Verifying code changes match the stated requirements (issue, PR description, or user input)
- Checking changes are sensible modifications aligned with the original design
- Evaluating code quality, patterns, and potential issues
- Running project tests to ensure nothing is broken
When to Use
Trigger /git-review when:
- You've finished implementing a feature and want to verify before committing
- You want to validate code changes against an issue or PR description
- You need a sanity check that changes align with the project's architecture
- Before running
/git-committo ensure quality
Usage
Flag behavior
- No flags: Run all 6 phases
- `--design-only`: Run Phase 1 (context) → Phase 2 (requirements) → Phase 3 (design) → Phase 4 (code quality) → Phase 6 (report). Skip Phase 5 (tests).
- `--test-only`: Run Phase 1 (context) → Phase 5 (tests) → Phase 6 (report). Skip Phase 2-4.
Workflow
Phase Details
Phase 1: Gather Context
Collect all information needed for the review.
1a. Collect code changes:
1b. Identify requirements source:
Requirements can come from:
- GitHub Issue: Extract from issue URL via
gh issue view <number> - GitHub PR: Extract from PR description via
gh pr view <number> - User input: The user describes what the changes should do
- Commit messages: Infer intent from recent commit messages
1c. Find design documents:
Phase 2: Requirements Check
Compare the code changes against stated requirements.
Checklist:
- [ ] Completeness: Every requirement has a corresponding code change
- [ ] No missing pieces: All acceptance criteria are addressed
- [ ] No scope creep: Changes don't include unrelated modifications
- [ ] Edge cases: Requirements' edge cases are handled
How to check:
- Parse the requirements into a bullet list of expected behaviors
- For each requirement, identify the code that implements it
- Flag any requirement without matching code (missing implementation)
- Flag any code change that doesn't map to a requirement (scope creep)
Phase 3: Design Alignment
Verify changes respect the project's existing architecture and design.
Checklist:
- [ ] Architecture fit: New code follows the project's module structure
- [ ] Design patterns: Uses the same patterns as existing code (e.g., if the project uses repository pattern, new data access follows it)
- [ ] Naming conventions: Variables, functions, files follow project conventions
- [ ] Data model consistency: Schema changes are backward-compatible or properly migrated
- [ ] API contract: Endpoint changes maintain backward compatibility or are versioned
- [ ] Dependency direction: No circular dependencies introduced
- [ ] Separation of concerns: Business logic not mixed with presentation/infrastructure
How to check:
- Read DESIGN.md / ARCHITECTURE.md if they exist
- If no design docs exist: Infer the design by examining existing code structure, module organization, import patterns, and naming conventions in the same directory/module
- Examine the structure of unchanged files in the same module
- Compare new code patterns against existing patterns in the project
- Verify imports and dependencies flow in the correct direction
Phase 4: Code Quality
Review the actual code for correctness and quality.
Checklist:
- [ ] Logic correctness: Algorithms and conditions are correct
- [ ] Error handling: Errors are caught and handled appropriately, not swallowed
- [ ] Security: No injection vulnerabilities, secrets not hardcoded, inputs validated at boundaries
- [ ] Edge cases: Null/empty/boundary values handled
- [ ] Resource management: Files, connections, streams are properly closed
- [ ] Concurrency: Thread safety if applicable
- [ ] Performance: No obvious N+1 queries, unnecessary loops, or memory leaks
- [ ] Readability: Code is clear without excessive complexity
- [ ] TODO/FIXME/HACK: Flag any leftover debug code, TODO comments, or HACK markers in changed files
Severity levels:
- CRITICAL: Bugs, security vulnerabilities, data loss risks
- WARNING: Code smells, potential issues, missing error handling
- SUGGESTION: Style improvements, minor optimizations
Phase 5: Run Tests
Detect and run the project's test suite.
Test framework detection:
Run tests:
If no tests exist:
- Note this in the report
- Suggest which tests should be written for the changed code
Phase 6: Review Report
Generate a structured review report.
Verdict Criteria
- PASS: All requirements met, no critical issues, tests pass
- PASS WITH WARNINGS: All requirements met, no critical issues, but has warnings or minor test failures
- FAIL: Missing requirements, critical issues found, or major test failures
Integration with /git-commit
Typical workflow:
Example Output
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/git-review/SKILL.md
Popularity
- Repository stars
- 62
- Repository forks
- 4
- 7-day trend score
- 21
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tsaol/awesome-claude/git-review)