Loading skill
Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Systematic PR review for code quality assurance. Trigger with "review this PR", "check this pull request", "code review", "review please".
.claude/skills/wasabeef-systematic-pr-review-for-code-quality-assurance/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 53% | 0% |
| case-02 | ✗→✓ | ▲ Improved | 311% | 0% |
| case-03 | ✗→✓ | ▲ Improved | 32% | 0% |
| case-04 | ✗→✓ | ▲ Improved | 106% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 126% | 0% |
Ensure code quality and architectural soundness through systematic Pull Request reviews.
bash# Comprehensive PR review gh pr view 123 --comments "Systematically review this PR and provide feedback from code quality, security, and architecture perspectives" # Security-focused review gh pr diff 123 "Focus on reviewing security risks and vulnerabilities" # Architecture perspective review gh pr checkout 123 && find . -name "*.js" | head -10 "Evaluate the architecture from the perspectives of layer separation, dependencies, and SOLID principles"
bash# Quantitative code quality assessment find . -name "*.js" -exec wc -l {} + | sort -rn | head -5 "Evaluate code complexity, function size, and duplication, and point out improvements" # Security vulnerability check grep -r "password\|secret\|token" . --include="*.js" | head -10 "Check for risks of sensitive information leakage, hardcoding, and authentication bypass" # Architecture violation detection grep -r "import.*from.*\.\./\.\." . --include="*.js" "Evaluate layer violations, circular dependencies, and coupling issues"
text🔴 critical.must: Critical issues ├─ Security vulnerabilities ├─ Data integrity problems └─ System failure risks 🟡 high.imo: High-priority improvements ├─ Risk of malfunction ├─ Performance issues └─ Significant decrease in maintainability 🟢 medium.imo: Medium-priority improvements ├─ Readability enhancement ├─ Code structure improvement └─ Test quality improvement 🟢 low.nits: Minor points ├─ Style unification ├─ Typo fixes └─ Comment additions 🔵 info.q: Questions/information ├─ Implementation intent confirmation ├─ Design decision background └─ Best practices sharing
Format:
critical.must.Example:
textcritical.must. Password is stored in plaintext Proposed fix: const bcrypt = require('bcrypt'); const hashedPassword = await bcrypt.hash(password, 12); Hashing is required to prevent security risks.
Format:
high.imo.Example:
texthigh.imo. N+1 query problem occurs Improvement: Eager Loading const users = await User.findAll({ include: [Post] }); This can significantly reduce the number of queries.
Format:
high.must.Example:
texthigh.must. Layer violation occurred The domain layer directly depends on the infrastructure layer. Please introduce an interface following the dependency inversion principle.
Other measured skills in the registry, with their headline benchmark lift.