/armory:prototypefrom armory
Builds a throwaway clickable artifact (state demo or UI variants) to answer design questions by observation. Keeps production code untouched.
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.
A prototype is throwaway code that answers one question. The question decides the shape, the artifact lives in scratch space, and the answer comes from observing the artifact, not from reading its source. The verdict feeds separate implementation work; the prototype itself never becomes production code.
| Situation | Package |
|---|---|
| "Does this state model / rule / transition logic hold up?" | prototype (logic branch) |
| "What should this screen look like? Show me a few structurally different options" | prototype (UI branch) |
Working a decision-map:prototype ticket (claim, ticket evidence, frontier) | decision-map, which builds the artifact with this package |
| A finished, polished HTML deliverable: dashboard, infographic, interactive diagram | static-web-artifacts-builder |
| Audit or redesign an existing page against UX criteria | ux-expert |
These boundaries hold in every branch:
references/ui.md reuses its runner.Read the request and the relevant surrounding code. Write down, before building anything:
These go visibly at the top of the artifact as well. Keep a mixed question bounded to its deciding uncertainty; list other questions it raises as follow-ups instead of prototyping them too.
Check that the answers actually diverge. Name at least one scenario where the competing answers predict different visible outcomes. If none exists (the positions are compatible, or one is too underspecified to predict an outcome), there is nothing for a prototype to distinguish: ask the clarifying question that would make them diverge ("When a hold arrives after a granted renewal, is that renewal revoked?") and build only once a diverging scenario exists. If the user is unavailable, stop with verdict inconclusive and that question; do not invent the missing rule.
Complete when the question, competing answers, at least one diverging scenario and the assumptions are written down.
| Deciding uncertainty | Branch | Reference |
|---|---|---|
| Business logic, legal transitions, representable data shapes | Logic: one self-contained shareable HTML file | references/logic.md |
| Layout, information hierarchy, primary interaction | UI: 3 structurally different variants (2–5) on one comparison surface | references/ui.md |
If the question is too vague to choose, ask one discriminator: "Are we testing what the state model permits, or how the interface presents it?" If the user is unavailable, choose only when the surrounding code clearly supports it (a backend module suggests logic; a page or component suggests UI) and state that assumption at the top of the artifact. Otherwise stop with verdict inconclusive and the exact clarification needed. Getting the branch wrong wastes the whole prototype.
Discover where scratch work belongs from the repository's own configuration. Search the repository root (git rev-parse --show-toplevel, or the working directory outside git) and each directory between it and the code in question, never above the root, for, in this order: repository instructions (AGENTS.md, CLAUDE.md, CONTRIBUTING.md), ignored scratch directories in .gitignore, and for a UI branch the routing setup and task-runner scripts (package.json scripts, Makefile, justfile, pyproject.toml). A file that does not exist is skipped, not a blocker. Record the chosen location and the file that justified it. Name the artifact so a casual reader sees it is a prototype (include prototype in the file or directory name).
If no safe project scratch location exists, create a dedicated temporary directory (mktemp -d) and report that it is temporary.
Complete when the location, its source and its lifetime are recorded.
Load the branch reference and follow it completely:
references/logic.md. It defines the single-file layout, the domain-language state panel, free play with reset, tabbed guided scenarios including an illegal action, and the separation of decision logic from the DOM.references/ui.md. It defines variant count and structural difference, the ?variant= parameter, the floating previous/name/next switcher, keyboard cycling that ignores focused inputs, reload stability, and host-page realism without touching production.Open the actual generated artifact and exercise it:
For each scenario or variant record: artifact path or URL, the scenario or variant key, actions taken, visible before/after state, and outcome. Screenshots may supplement this record but cannot prove transitions that were not performed.
If browser access or another runnable prerequisite is missing, name it, hand over the artifact with its open/start instructions, and label every scenario or variant not observed. Source inspection, a narrated walkthrough or a proposed screenshot is not a browser observation. Even when observed, the prototype shows only what the synthetic artifact did: production correctness, persistence, integration, performance, accessibility and real-user preference stay inferred or untested.
Produce the Output below. Hand the verdict to whoever owns the next step (the user, or the calling decision-map ticket); do not start implementing it.
Question: <one sentence>
Competing answers: <A> | <B>
Branch: logic | UI (reason)
Assumptions: <list>
Artifact: <absolute path or URL>; open/start: <exact instruction and its source>; location source: <config file>; lifetime: <scratch dir | temporary>
Evidence:
- <scenario or variant key>: actions <...>; observed <before → after>; outcome <...> (or: not observed — <missing prerequisite>)
Not observed: <scenarios/variants/viewports not exercised>
Inferred or untested: <production behaviour, persistence, accessibility, real-user preference, ...>
Verdict: <answer + the evidence that decides it> | inconclusive — <precise unresolved point> | awaiting human judgment — <what the human must decide>
Follow-up questions: <questions raised but not prototyped>
A verdict needs browser evidence for the distinguishing scenario or for every variant. Without it the verdict is inconclusive. When the user (or a calling ticket) reserves the judgment for a human, present the evidence and report awaiting human judgment instead of choosing.
Keeping the prototype. Only when the user explicitly asks to keep it in git. Do not switch or touch the user's current checkout; use a separate worktree:
git worktree add -b prototype/<topic> <new-temp-dir> HEAD creates the throwaway branch from the current commit.mktemp -d directory (outside the repository) goes under prototype/<topic>/; an artifact in an ignored scratch directory keeps its relative path.git -C <new-temp-dir> add -f -- <paths>. -f is required because scratch directories are usually ignored; never use git add -A or ..git worktree remove <new-temp-dir>, and report the branch name and committed paths.Never commit to the main or current feature branch.
| Situation | Action |
|---|---|
| Question too vague and the user is unavailable | Stop before building; verdict inconclusive with the exact clarification needed |
| No browser access | Build if otherwise possible, give open instructions, mark everything not observed, verdict inconclusive |
| User asks to declare the result proven without observation | Decline; report inconclusive and the missing observation |
| Question requires production data, credentials or live persistence | Use disposable scratch storage only if that answers the question; otherwise stop with the missing prerequisite |
| Existing runner cannot serve a scratch surface without changing production config | Use a self-contained scratch HTML comparison and record the realism tradeoff |
| Building would require installing dependencies | Do not install; use plain HTML/CSS/JS |
| No ignored scratch location in the repository | Use mktemp -d and report the artifact as temporary |
| User asks to merge the prototype or wire it to production | Decline; the verdict feeds separate implementation work |
| Load when | Reference | Supplies |
|---|---|---|
| Branch is logic | references/logic.md | Single-file layout, state panel, free play, guided scenarios, logic/DOM separation, skeleton |
| Branch is UI | references/ui.md | Variant rules, comparison surface, switcher behaviour, host realism, runner discovery |
For source attribution or a deliberate upstream comparison, read references/upstream/provenance.md. The MIT notice is in this package's LICENSE.
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