/armory:pr-reviewfrom armory
Reviews a PR diff across code quality, test coverage, silent failures, type design, and comment quality with severity-ranked findings and file:line refs.
Ships in armory. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
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
/ultrareviewruns 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/ultrareviewfor 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 |
git diff (unstaged changes)git diff main...HEAD or gh pr diff <number>git diff --name-onlyClassify 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:
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:
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 to obtain reviewer silence.
4. After three unsuccessful fix/re-review rounds, report the recurring findings for an owner decision. The cap never authorizes merging known defects.
If no issues are found at any severity level, confirm the code meets standards with a brief summary of what was reviewed and which dimensions were applied.
Users can request specific dimensions instead of running all:
| User Says | Dimensions Applied |
|---|---|
| "review my PR" / "check my changes" | All applicable (default) |
| "review the code" / "check code quality" | Code review only |
| "check the tests" / "is test coverage good" | Test analysis only |
| "check error handling" / "find silent failures" | Error handling only |
| "review the types" / "check type design" | Type design only |
| "check the comments" / "review documentation" | Comment quality only |
When a specific aspect is requested, load only that reference file and skip routing.
| Problem | Resolution |
|---|---|
| No git diff available | Ask user to specify files or scope |
| CLAUDE.md not found | Review against general best practices; note the absence |
| No test files in diff | Skip test analysis dimension; note in output |
| Diff is empty | Report "no changes to review" and stop |
| Diff exceeds context limits | Focus on files the user is most likely to care about; summarize skipped files |
function declarations.code-refiner skill's job. Keep the roles separate.| Rationalization | Reality |
|---|---|
| "Tests pass, so the code is fine" | Tests are necessary but insufficient — they miss architecture, security, readability, and maintainability concerns |
| "It's a small diff, no real review needed" | Small changes cause most production incidents; a 3-line auth bypass is worse than a 300-line refactor |
| "We'll clean it up later" | Fix demonstrated current defects now; defer optional capability and polish without weakening current correctness |
| "The author is senior, I trust them" | Seniority doesn't prevent mistakes; fresh eyes catch what familiarity blinds |
| "I already reviewed similar code recently" | Each diff has unique context — assumptions from past reviews cause missed issues |
| "This is just a refactor, nothing can break" | Refactors change behavior in subtle ways — verify with tests and trace call sites |
evals/cases.yaml (opens in a new tab)evals/fixtures/buggy_diff.patch (opens in a new tab)references/code-review.md (opens in a new tab)references/comment-quality.md (opens in a new tab)references/error-handling.md (opens in a new tab)references/test-analysis.md (opens in a new tab)references/type-design.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mathews-tom/armory --plugin armory94 skills in this plugin
/adr-writerGenerates Architecture Decision Records capturing context, rationale, alternatives, and consequences in numbered status-tracked format. Triggers on: "write an ADR", "document this decision", "architecture decision record", "decision record", "design decision", "ADR for"./agent-builderBuild AI agents and automate Claude Code programmatically via the Claude Agent SDK and headless CLI mode. Covers Python SDK, claude -p, SDK MCP servers, hooks, sessions. Triggers on: "build an agent", "agent SDK", "headless mode", "automate Claude", "programmatic agent"./animateCreate Manim (Python) animated explainers: algorithm step-throughs, math and equation walkthroughs, pipeline and data-flow diagrams, comparisons and timelines, rendered to MP4, WebM or GIF with optional audio overlay. Includes a template path that renders validated config data with no model call, plus output checks (ffprobe duration, fps, dimensions, full decode, sampled-frame review receipt). Use when asked to "create a video", "animate this", "make an explainer", "manim animation", "animate this algorithm", or "motion graphic". NOT for HTML/CSS/GSAP or Hyperframes video, NOT for React or Remotion video, and NOT for a launch or promo video of the user's own project, use launch-video./api-docs-generatorAudits and enhances FastAPI and REST API documentation: missing descriptions, response codes, examples, docstrings, Pydantic models, OpenAPI spec. Triggers on: "generate API docs", "document this API", "OpenAPI for", "FastAPI docs", "document endpoints", "swagger docs"./appraiseEvidence-based competency and seniority appraisal of a software engineer from one or more Git repositories: attributes authorship with git blame, separates fork and upstream code, verifies every cited line, and calibrates technical, scope and overall levels with explicit uncertainty, a development plan and targeted questions. Use this skill when asked to "appraise this developer", "calibrate my seniority", "assess this candidate from their GitHub", "what level am I based on my repos", "review this engineer's contributions", "build a promotion evidence pack", or "how can I grow as an engineer from my code". Covers candidate review, self-appraisal, promotion packs, manager or mentor appraisals with consent, progress over time and recalibration after interview answers. Not for code review of a diff, repository tutorials, or architecture reviews./architecture-diagramGenerate architecture diagrams as fully editable SVG with native AWS, Azure, and GCP icons for cloud diagrams, or hand-drawn generic icons for everything else. Optionally deliver a self-contained editable draw.io mxGraph companion. Deterministic layout computes zone nesting and orthogonal routing instead of hand-placed coordinates. Triggers on: "architecture diagram", "infra diagram", "system diagram", "deployment diagram", "topology diagram", "draw architecture", "AWS diagram", "Azure diagram", "GCP diagram", "cloud infrastructure diagram", "VPC diagram", "draw my AWS setup". Use when a user wants a static architecture diagram they can still edit afterward in Figma, Illustrator, Inkscape, or draw.io. NOT for architecture reviews, use architecture-reviewer.Other plugins' skills for the same job