/armory:repo-tutorfrom armory
Creates a learner-ordered multipage HTML guide from a local repo or Git URL, teaching the codebase as a coherent system with grounded evidence.
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.
Teach a repository as a coherent system. The deliverable is a learner-ordered curriculum grounded in code, not a directory tour, generated context dump, or graph with prose around it.
| File | Read when | Purpose |
|---|---|---|
references/teaching-model.md | Before selecting or writing lessons | Curriculum order, lesson grammar, exercises, simplification rules, anti-patterns |
references/artifact-contract.md | Before writing HTML and again before delivery | Page schema, Mermaid/table/SVG rules, evidence markup, security, accessibility, browser checks |
Use this skill for a readable local repository or cloneable Git URL. “Any repo” does not mean complete knowledge of opaque binaries, missing submodules, generated-only behavior, unavailable services, or runtime behavior absent from source. Name those limits.
Do not use this skill for:
| Request | Use instead |
|---|---|
| Architecture diagram only | architecture-diagram |
| Repository audit or improvement backlog | codebase-advisor or the applicable audit skill |
| API reference | api-docs-generator |
| Maintainer documentation set | A documentation-authoring skill |
| PR or diff review | pr-review |
Documented, not run.Observed, Inferred, and Unknown exactly as defined below.Accept one repository source. Infer the audience as a developer new to the project unless the user names another audience. Default to the full repository and the central workflow; a named feature narrows the through-line, not the evidence standard.
For a local path:
commit + uncommitted working tree and hash every cited file; never attribute working-tree lines to the commit alone.non-Git snapshot and hash every cited file.For a remote URL:
Create all intermediate and output files in a temporary staging directory or a user-specified path outside the target. Remove intermediate files after delivery.
Map only what is needed to teach:
Use repository mapping or retrieval tools when available, but do not initialize a missing index in the target. Verify selected claims by reading exact source/configuration ranges and, for exported symbols, using language-server definitions/references when available.
Maintain this ledger before drafting lessons:
| Claim ID | Plain claim | Status | Evidence | Learner consequence |
|---|---|---|---|---|
| C01 | ... | Observed | commit, path:lines or symbol | ... |
Status meanings:
| Status | Meaning | Required treatment |
|---|---|---|
| Observed | Directly established by source, configuration, docs, metadata, or approved execution | Cite the recorded provenance basis plus exact source location; include the cited-file hash for dirty or non-Git input |
| Inferred | A model assembled from two or more observed facts | Cite supporting claims and name the inference |
| Unknown | Evidence is absent, inaccessible, contradictory, or outside static analysis | Explain the missing evidence and its consequence |
Do not cite a generated summary, graph node, search result, or retrieval score as sole evidence. Treat README badges and numeric claims as Observed: repository claims ... unless independently re-derived.
Select:
Check contribution docs and current governance before choosing the developer journey. Never teach a frozen, rejected, deprecated, or maintainer-blocked feature as the recommended first change.
Write a one-sentence teaching spine: The learner will follow [user action] through [core responsibilities] to [result], then change [safe seam] and prove it through [test/debug surface].
Read references/teaching-model.md. Build a prerequisite order around this spine.
The artifact must retain all six pages. If evidence is missing, the relevant page teaches what is unknown and how one would resolve it; it does not disappear.
| Page | Learner question |
|---|---|
| Start Here | What is this, why does it exist, and what will I learn? |
| Use It | How do I obtain one useful result? |
| Follow the Work | What happens after the user acts, including failure? |
| Inside the System | Which parts own which responsibilities? |
| Build on It | Where do I make, test, and debug one realistic change? |
| Practice Lab | Can I explain, predict, trace, and modify it myself? |
Every core concept uses the five-part lesson grammar from references/teaching-model.md: analogy, plain model, concrete evidence, consequence, check-your-understanding. Keep beginner, deeper, and code layers connected to the same concept.
Read references/artifact-contract.md in full. Produce one self-contained HTML file with hash-routed virtual pages, persistent navigation, next/previous controls, learner progress, glossary, evidence appendix, and visible Observed/Inferred/Unknown labels.
Visual semantics are fixed:
Never replace a failed Mermaid diagram with hand-drawn workflow SVG. Fix and validate its Mermaid source.
Verification is part of delivery, not an optional polish pass.
references/artifact-contract.md.If browser automation is unavailable, finish the static and evidence checks, deliver the artifact with the visible caveat Browser checks not performed — <reason>, and list every skipped browser check. Never imply full verification. Do not claim the artifact is browser-verified when only its source, a parser result, or a screenshot was inspected.
Deliver:
Unknown claims;Browser checks not performed — <reason>.Inside the portable artifact, show a local repository basename plus commit/snapshot basis, never the absolute local path. The final chat delivery may report the canonical local path because it is not embedded in the artifact.
Do not paste the whole curriculum into chat. The artifact is the teaching surface.
| Condition | Response |
|---|---|
| Invalid/unreadable local path | Stop before analysis and report the path error |
| Clone/authentication failure | Report the Git failure without soliciting inline credentials |
| Repository exceeds practical inspection bounds | Declare the bounded scope and omitted areas before teaching |
| Docs and code conflict | Present both observed facts; label the synthesis Inferred |
| No runnable usage surface | Teach the library/service boundary and closest test-backed interface |
| No safe developer change | Teach extension boundaries and state why a first change cannot be recommended |
| Mermaid validation/rendering fails | Repair the source; do not deliver a substitute diagram |
| Evidence target is missing or stale | Repair or remove the claim |
| Browser or offline check fails | Repair and repeat the full affected check |
| Browser automation unavailable | Complete static/evidence checks and disclose every skipped browser check without claiming browser verification |
teaching-model.md.evals/cases.yaml (opens in a new tab)evals/fixtures/codecbox/README.md (opens in a new tab)evals/fixtures/codecbox/pyproject.toml (opens in a new tab)evals/fixtures/codecbox/src/codecbox/__init__.py (opens in a new tab)evals/fixtures/codecbox/src/codecbox/api.py (opens in a new tab)evals/fixtures/codecbox/src/codecbox/identity.py (opens in a new tab)evals/fixtures/codecbox/src/codecbox/protocol.py (opens in a new tab)evals/fixtures/codecbox/tests/api_cases.yaml (opens in a new tab)evals/fixtures/queuebox/CONTRIBUTING.md (opens in a new tab)evals/fixtures/queuebox/README.md (opens in a new tab)evals/fixtures/queuebox/pyproject.toml (opens in a new tab)evals/fixtures/queuebox/src/queuebox/__init__.py (opens in a new tab)evals/fixtures/queuebox/src/queuebox/cli.py (opens in a new tab)evals/fixtures/queuebox/src/queuebox/service.py (opens in a new tab)evals/fixtures/queuebox/src/queuebox/store.py (opens in a new tab)evals/fixtures/queuebox/src/queuebox/validators.py (opens in a new tab)evals/fixtures/queuebox/tests/service_cases.yaml (opens in a new tab)references/artifact-contract.md (opens in a new tab)references/teaching-model.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