doc-condenser
**DEPRECATED** — Modern Claude models condense and summarize technical documentation natively with comparable quality. The output…
Diff-based PR review across code quality, test coverage, silent failures, type design, and comment quality with severity-ranked findings. Triggers on: "review my PR", "review this code", "check my changes", "audit this PR", "code review". NOT for pre-landing gate, use
Claude Code
$ npx -y skills add Mathews-Tom/armory --skill pr-review --agent claude-code
Codex
$ npx skills add Mathews-Tom/armory --skill pr-review -a codex -y
Cursor
$ npx skills add Mathews-Tom/armory --skill pr-review -a cursor -y
Gemini CLI
$ npx skills add Mathews-Tom/armory --skill pr-review -a gemini-cli -y
GitHub Copilot
$ npx skills add Mathews-Tom/armory --skill pr-review -a github-copilot -y
OpenCode
$ npx skills add Mathews-Tom/armory --skill pr-review -a opencode -y
Windsurf
$ npx skills add Mathews-Tom/armory --skill pr-review -a windsurf -y
name: pr-review description: 'Diff-based PR review across code quality, test coverage, silent failures, type design, and comment quality with severity-ranked findings. Triggers on: "review my PR", "review this code", "check my changes", "audit this PR", "code review". NOT for pre-landing gate, use pre-landing-review.' metadata: version: 1.2.0 category: review tags: [code-review, pull-request, quality, diff-analysis] difficulty: intermediate phase: review
Diff-based code review across five dimensions. Reads the changed files, selects applicable review methodologies, and produces an aggregated report with severity-ranked findings.
> **Native alternative:** Claude Code's `/ultrareview` runs a lightweight native bug-focused review (three free per month on Pro/Max plans at Opus 4.7's launch). Use this skill for five-dimension severity-ranked analysis (code quality + tests + error handling + types + comments) with file:line references; use `/ultrareview` for a quick bug-hunting pass on a diff.
| File | Contents | Load When | | ------------------------------- | ------------------------------------------------------- | ------------------------------- | | `references/code-review.md` | Guideline compliance, bug detection, confidence scoring | Always | | `references/test-analysis.md` | Behavioral test coverage, criticality rating | Test files changed | | `references/error-handling.md` | Silent failure patterns, catch block analysis | Error handling changed | | `references/type-design.md` | Invariant analysis, 4-dimension rating rubric | Type definitions added/modified | | `references/comment-quality.md` | Comment accuracy, long-term value, rot detection | Comments/docstrings added |
---
1. Determine the review target:
2. List all changed files with `git diff --name-only` 3. Read the project's CLAUDE.md (if present) for project-specific rules
Classify changed files and select applicable dimensions:
| Condition | Dimension | Reference to Load | | ---------------------------------------------------------------------------- | --------------- | ------------------------------- | | Always | Code review | `references/code-review.md` | | Files matching `*test*`, `*spec*`, `*_test.*`, `test_*` | Test analysis | `references/test-analysis.md` | | Files containing try/catch, except, .catch, Result, error callbacks | Error handling | `references/error-handling.md` | | Files containing class, interface, type, struct, enum, dataclass definitions | Type design | `references/type-design.md` | | Files with new/modified docstrings, JSDoc, or block comments | Comment quality | `references/comment-quality.md` |
Load only the reference files that apply. Skip dimensions with no matching files.
Review the changed behavior and affected contracts using the applicable methodologies:
1. **Code review** — report demonstrated bugs and explicit rule violations at confidence >= 80. 2. **Test analysis** — identify plausible consumer-visible regressions that required behavior does not cover. 3. **Error handling** — trace failures and their caller-visible consequences. 4. **Type design** — assess current invariants and actual consumers; speculative extensibility is not a defect. 5. **Comment quality** — report misleading contracts that affect correct use; ordinary polish is optional.
Read enough surrounding implementation and call sites to prove each scenario. Review changed source rather than generated copies. On fixes, review the changed code and affected interactions; repeat a broader review only when a changed contract or base invalidates the earlier assessment.
Merge all findings into a single report, deduplicated and severity-ranked.
**Deduplication rules:**
finding with the error-handling severity (it's the specialist)
**Severity is impact, not confidence or a design score.**
| Severity | Evidence and consequence | | --- | --- | | Critical | Demonstrated severe security, data-loss, availability or equivalent consumer risk; blocks merge. | | Important | Concrete regression, broken contract, required behavior gap or evidenced maintainability defect; blocks until resolved or an authorized decision addresses it. | | Suggestion | Optional polish or future capability; non-blocking and omitted unless useful or requested. |
Use confidence to filter uncertain claims, not to promote a certain nit into a Critical finding. Respect repository-specific severity labels and provider-required review policy.
---
# PR Review Summary **Scope:** [X files changed, Y dimensions applied] **Dimensions:** [list of active dimensions] ## Critical Issues (must fix before merge) - **[dimension]** `file:line` — Description. Fix suggestion. ## Important Issues (should fix) - **[dimension]** `file:line` — Description. Fix suggestion. ## Suggestions (consider) - **[dimension]** `file:line` — Description. ## Recommended Action 1. Resolve demonstrated blocking issues, batching fixes by bug class. 2. Re-review changed code and affected interactions only. 3. Leave optional suggestions non-blocking; do not expand the PR
Curated, production-grade skills, agents, hooks, rules, commands, utilities, and presets for AI coding agents. No magic, no demos — battle-tested workflows built for developers who use AI seriously.
**DEPRECATED** — Modern Claude models condense and summarize technical documentation natively with comparable quality. The output…
DEPRECATED: The Opus 4.7 migration scanner is retired from the active skill catalog. Retained for archival reference only; not…
**DEPRECATED** — Modern Claude models produce accurate, well-explained regex patterns with edge-case test suites natively,…
**DEPRECATED** — Opus 4.7 uses adaptive thinking (optional at each step) and Sonnet 4.6 handles structured chain-of-thought…
Generates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked…
Build AI agents and automate Claude Code programmatically via the Claude Agent SDK and headless CLI mode. Covers Python SDK,…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.