/kk:review-architecturefrom kk
Reviews architecture artifacts (ADRs, design docs, domain glossaries) against the system they describe. Verifies declared mechanisms exist and are topologically correct. Not for behavioral correctness or security.
Ships in kk. 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.
Review a single committed architecture artifact against the system it describes. The review is claim-driven: the artifact is normalized into an explicit, inspectable claim-set (Pass 0), each claim is verified for the existence and topology of the mechanism it names (Pass 1), and the artifact's decisions are graded against its own stated context (Pass 2). Verification is delegated to the read-only architecture-reviewer agent; this skill owns acceptance and presentation.
The altitude line — the load-bearing constraint. This skill verifies that declared mechanisms exist and are wired into the right topology — "is there an idempotency-key column / a circuit breaker targeting dependency D / a /v2/ route." It never verifies behavioral correctness ("does the code use the key correctly under retries") — that belongs to /kk:review-code and /kk:review-spec. Every dimension, the input contract, and the eval strategy are consequences of this line. Do not let a dimension expand into whole-system behavioral reasoning.
Security architecture is delegated OUT to the PAL secaudit tool (mcp__pal__secaudit). There is no kk: security skill. Trust boundaries, authN/authZ enforcement, and data-classification flow drag the reviewer into runtime analysis — surface such claims under Not Reviewed with a secaudit pointer (see output-contract.md).
Profiles are not consulted in M1 — evidence-gathering mechanics ship as inline examples in the pass procedures. Profile detection and an architecture/ profile phase are deferred (see the review design §8).
Before declaring the review complete, verify all outputs are delivered:
The workflow below is strictly sequential. Do not read the artifact's content, extract claims, or form any verdict until you have loaded every instruction file: this SKILL.md, input-contract.md, and output-contract.md. Your only early contact with the input is the artifact path(s) passed on invocation — enough to apply the acceptance contract, not enough to pattern-match claims. The pass procedures (pass0-extraction.md, pass1-topology.md, pass2-soundness.md) are the delegated agent's to load; the agent restates the same instruction-before-action rule on its own side.
This ordering is load-bearing, not stylistic: with the artifact text in context before the contracts are loaded, the model has enough to emit plausible claims and verdicts and will optimize away the methodology.
Phases:
Acceptance — apply input-contract.md to the invocation path(s): exactly one committed written artifact per invocation; diagrams count only with accompanying prose; verbal/diagram-only or multi-artifact inputs are rejected with an actionable message. A domain-reference kit is the one composite exception: pass either kit page's path and resolve the counterpart (<context>.md ↔ <context>-traps.md sibling naming, cross-link fallback) so the pair is reviewed as one artifact — two explicit paths are still rejected, and an unresolvable counterpart means the page is reviewed solo with a loud report note. No path given → list candidate artifacts (docs/adr/, docs/feat/wip/*/design.md) and ask. This is the only phase the main agent performs against the input directly, and it reads the artifact's shape, not its claims.
Delegate to architecture-reviewer — spawn the read-only architecture-reviewer agent (via the Agent tool) to run Pass 0 → Pass 1 → Pass 2. The agent has no shell, so resolve the plugin root yourself first (echo "${TOOLBOX_PLUGIN_ROOT:-NOT_SET}") and inject the absolute path under a ## Plugin Root heading. Pass the agent:
${TOOLBOX_PLUGIN_ROOT}/skills/review-architecture/pass0-extraction.md, ${TOOLBOX_PLUGIN_ROOT}/skills/review-architecture/pass1-topology.md, ${TOOLBOX_PLUGIN_ROOT}/skills/review-architecture/pass2-soundness.md, and ${TOOLBOX_PLUGIN_ROOT}/skills/review-architecture/output-contract.md;## Plugin Root absolute path.Present — relay the agent's report verbatim per output-contract.md — do not summarize, compress, or re-narrate it: the full Claim Set table, per-dimension verdicts, the Not Reviewed section (delegated/unrouted claims), and Pass 2 findings, with the verdict→severity mapping applied. A summarized relay destroys the inspectable intermediate artifact the Claim Set exists to be (the read-only agent has no other home for it). Then confirm next steps with the user.
/kk:review-architecture <artifact-path>
Exactly one artifact per invocation. For a design doc, an optional heading argument scopes the review to its architecture section. For a domain-reference kit, pass either page's path — the glossary/traps counterpart is auto-discovered and the pair is reviewed as one composite artifact. See output-contract.md for full invocation/scope rules.
evals/pass0-extraction-recall/eval.json (opens in a new tab)evals/pass0-extraction-recall/oracle/gold-claims.json (opens in a new tab)evals/pass0-extraction-recall/test-files/0007-orders-billing-split.md (opens in a new tab)evals/pass0-provenance/eval.json (opens in a new tab)evals/pass0-provenance/oracle/gold-provenance.json (opens in a new tab)evals/pass0-provenance/test-files/services/sales/campaigns.go (opens in a new tab)evals/pass0-provenance/test-files/services/sales/go.mod (opens in a new tab)evals/pass0-provenance/test-files/services/traffic/airlog.go (opens in a new tab)evals/pass0-provenance/test-files/services/traffic/go.mod (opens in a new tab)evals/pass0-provenance/test-files/services/traffic/rotation.go (opens in a new tab)evals/pass0-provenance/test-files/services/traffic/separation.go (opens in a new tab)evals/pass0-provenance/test-files/traffic-scheduling-arch.md (opens in a new tab)evals/pass1-boundary-violation/eval.json (opens in a new tab)evals/pass1-boundary-violation/oracle/expected-verdicts.json (opens in a new tab)evals/pass1-boundary-violation/test-files/0010-payments-ledger-isolation.md (opens in a new tab)evals/pass1-boundary-violation/test-files/services/ledger/go.mod (opens in a new tab)evals/pass1-boundary-violation/test-files/services/ledger/schema/ledger.go (opens in a new tab)evals/pass1-boundary-violation/test-files/services/payments/api/api.go (opens in a new tab)evals/pass1-boundary-violation/test-files/services/payments/go.mod (opens in a new tab)evals/pass1-boundary-violation/test-files/services/payments/handler.go (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub serpro69/agentstakk --plugin kk16 skills in this plugin
/brainstormTRIGGER when: asked to brainstorm, think through, explore, or pressure-test a technical idea or decision through conversation. Interviews adaptively, asks one question at a time, and closes with a chat recap.
For technical products, architecture, infrastructure, tools, operations, and engineering workflows. Written design/specification and task-list requests belong to /kk:design; durable domain glossary/reference kits to /kk:model; implementation and fixes to /kk:implement. Not for nontechnical brainstorming.
/chain-of-verificationApply Chain-of-Verification (CoVe) prompting to improve response accuracy through self-verification.
Use when complex questions require fact-checking, technical accuracy, or multi-step reasoning.
/clarify-docsTRIGGER when: asked to clarify or improve existing documentation, PR drafts or
issue descriptions, including URLs and pasted bodies. Saves results locally,
grounded in requirements and source while preserving meaning. Not for requests
to implement, fix or work on an issue, code, config, generic response brevity,
or agent instructions. Explicit instruction or SKILL.md targets receive a
/kk:implement suggestion without edits or invoking implementation.
/dependency-handlingTRIGGER when: adding or upgrading any dependency — library, SDK, framework, API, IaC API version (K8s/Terraform/Helm), CRD, or container image. Use BEFORE writing the call. Forces context7/capy lookup instead of guessing.
/designTRIGGER when: asked to write or refine a technical design, PRD, specification, implementation plan, or task list, or resume an existing docs/feat/wip feature.
Turns ideas and requirements into written design documents, implementation plans, and tasks in docs/feat/wip/ before coding. For conversational exploration without written planning, use /kk:brainstorm.
/diff-skillCompare two versions of a skill's instructions to detect degradations and complexity increases.
TRIGGER when: user asks to diff, compare, or review changes to a skill's markdown instructions.
Asymmetric check — only regressions count. Additions, clarifications, and strengthenings are not degradations.
Compares HEAD → working tree by default. Walks the full reachable file set from SKILL.md via markdown links.
Produces a report file under docs/reviews/diff-skill/ and an inline summary.
Other plugins' skills for the same job