plugin-sprint/skills/review/SKILL.md
Batch review sprint PRs against completion criteria and conventions
npx skillsauth add themagictower/grimoires reviewInstall 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.
Batch review sprint PRs. Can be called from /sprint:cycle Phase 5 or run independently. All settings come from sprint.config.yaml.
$ARGUMENTS — PR numbers to review (space-separated). e.g. 143 144 145 146
When called without arguments, targets all open PRs.
!cat sprint.config.yaml 2>/dev/null || echo "NO_CONFIG"
!gh pr list --state open --limit 20 2>/dev/null
!cat $(grep 'memory_file:' sprint.config.yaml 2>/dev/null | awk '{print $2}') 2>/dev/null | head -40
| Setting | Purpose |
|---------|---------|
| squads[].name | Squad name |
| squads[].scope | Allowed directories (scope check) |
| squads[].conventions | Coding conventions (formatter, linter) |
| review.checklist | Default review checklist |
| review.custom_checks | Project-specific checks |
| docs.sprint_plan | Completion criteria & edge case reference |
For each PR:
gh pr diff {number}
gh pr view {number}
gh pr diff {number} --name-only
Identify the squad from PR file paths (squads[].scope matching).
Sequentially check items from review.checklist + review.custom_checks.
docs.sprint_planCheck against the squad's conventions:
conventions.formatter (ruff format, prettier, etc.)conventions.linter (ruff check, eslint, etc.)squads[].scopereview.custom_checks)Execute project-specific checks from custom_checks:
| Check Key | Inspection |
|-----------|------------|
| legal_compliance | Raw data direct customer exposure (API response, rendering) |
| security_review | Auth/authz, input validation, secret exposure |
| performance | N+1 queries, infinite loops, memory leaks |
| accessibility | WCAG compliance, screen reader compatibility |
If a custom check key isn't in the table above, infer inspection from the key name.
For 3+ PRs, optionally use pr-review-toolkit agents in parallel:
code-reviewer: Coding conventions, stylesilent-failure-hunter: Error handlingcomment-analyzer: Comment accuracypr-test-analyzer: Test coverage| Classification | Definition | Action | |----------------|-----------|--------| | Valid Bug | Must fix (functional error, criteria unmet, security, custom check violation) | Fix in worktree → commit → push | | False Positive | Misdetection or intentional design | Record reason in PR comment | | Enhancement | Improvement outside current sprint scope | Register as separate issue |
| PR | Squad | Valid Bug | False Positive | Enhancement | Verdict | |----|-------|-----------|----------------|-------------|---------| | #{n} | {name} | {N} | {N} | {N} | PASS/FIX |
| PR | File | Line | Check Item | Description | Severity | |----|------|------|------------|-------------|----------| | #{n} | {file} | {line} | {check} | {desc} | HIGH/MED/LOW |
When Valid Bugs are found:
fix({prefix}): {fix description}| File | Purpose |
|------|---------|
| sprint.config.yaml | Squads, conventions, review settings |
| {docs.sprint_plan} | Completion criteria, edge cases |
testing
Analyze and improve test coverage
development
TDD workflow with RED-GREEN-REFACTOR cycle
tools
Initialize Grimoires for a project with auto-detection
development
Code review with design principles validation