skills/pr-review-toolkit/SKILL.md
Comprehensive PR review using 7 specialized review protocols covering code quality, test coverage, error handling, type design, comment accuracy, code simplification, and component coupling. Use when reviewing PRs, preparing code for merge, or auditing specific aspects of code changes. Triggers: "review PR", "review my PR", "PR review", "review pull request", "check test coverage", "review error handling", "analyze types", "check comments", "simplify code", "code review", "pre-merge review", "check coupling", "review coupling", "orthogonality review".
npx skillsauth add silvabyte/skills pr-review-toolkitInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Comprehensive code review using 7 specialized protocols, each focusing on a different aspect of code quality. Reviews can target specific aspects or run all applicable checks.
| Aspect | Keyword | Focus | Auto-apply when... |
|--------|---------|-------|-------------------|
| Code Review | code | Project guidelines, bugs, quality | Always applicable |
| Test Analysis | tests | Coverage quality, critical gaps | Test files changed |
| Silent Failures | errors | Error handling, catch blocks | Error handling changed |
| Type Design | types | Encapsulation, invariants | Types added/modified |
| Comment Analysis | comments | Accuracy, completeness, rot | Comments/docs changed |
| Code Simplification | simplify | Clarity, maintainability | After review passes |
| Coupling Analysis | coupling | Component independence, dependency direction | New modules added or imports changed |
Identify changed files to understand what needs review:
git diff --name-only # Unstaged changes
git diff --cached --name-only # Staged changes
gh pr diff # If a PR exists
For each selected aspect, load the corresponding reference protocol and apply it to the changed files.
Combine findings into a prioritized summary:
## PR Review Summary
### Critical Issues (X found)
- [aspect]: Issue description [file:line]
### Important Issues (X found)
- [aspect]: Issue description [file:line]
### Suggestions (X found)
- [aspect]: Suggestion [file:line]
### Strengths
- What's well-done in this PR
### Recommended Action
1. Fix critical issues first
2. Address important issues
3. Consider suggestions
4. Re-run review after fixes
Each protocol uses its own scoring to prioritize findings:
| Aspect | System | Threshold | |--------|--------|-----------| | Code Review | Confidence 0-100 | Report at >= 80 | | Test Analysis | Criticality 1-10 | Focus on 8-10 | | Silent Failures | Severity: Critical/High/Medium | All reported | | Type Design | 4 dimensions rated 1-10 | All reported | | Comment Analysis | Category: Critical/Improvement/Removal | All reported | | Code Simplification | Qualitative assessment | All reported | | Coupling Analysis | Red/Green flags → 4-tier rating | All reported |
Full review (all applicable aspects):
"Review my PR" / "Run a comprehensive review"
Specific aspects:
"Review test coverage and error handling" "Check if the comments are accurate" "Simplify the code"
Parallel execution:
"Review everything in parallel"
1. Write code → code review + error handling
2. Review architecture → coupling analysis
3. Fix critical issues → re-run targeted reviews
4. Add tests → test analysis
5. Add documentation → comment analysis
6. Final polish → code simplification
7. Create PR
tools
Weekend Business Shared Drive: Browse, search, upload, and manage files. Triggers: 'weekend business drive', 'wb drive', 'upload to brand', 'shared drive', 'WB shared drive', 'list WB files', 'find in drive'
documentation
--- name: unglaze description: Rewrite glazy, eye-glazing generated content into a tight, scannable, bullet-tight engineering voice. Use when the user says "unglaze", "ungloss this", "punch this up", "tighten this", "less glazy", "eyes glaze", "make my eyes not glaze", "cut the fluff", "rewrite punchier", "make it sharper", "less corporate", "de-fluff", "less LLM-flavored". Also auto-triggers on dissatisfaction signals like "ugh too long", "tldr this", "this is boring", "too much". Applies to PR
content-media
Transcribe audio and video files using Audetic whisper service. Use when: (1) User wants to transcribe an audio or video file (2) User has a recording and needs a text transcript (3) User wants transcript analysis (gaps, speech rate, silence detection) (4) User wants to transcribe all media files in a directory Triggers: "transcribe", "transcription", "transcript", "speech to text", "audio to text", "transcribe audio", "transcribe video", "transcribe recording"
development
Testing Trophy philosophy for JS/TS. Use when: writing tests, deciding what/how to test, reviewing tests, choosing unit/integration/E2E, mocking decisions. Triggers: "write tests", "what should I test", "test this component", "review my tests", "testing strategy", "mock this", "test setup".