/kairos:architecture-reviewfrom kairos
Review the codebase's architecture — scan, classify by altitude, present deepening candidates as an HTML report, then grill through the one you pick.
Ships in kairos. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The architecture-review reference is the single source of truth for this review — vocabulary, heuristics, checklists, finding format, strength calibration, and reviewer anti-patterns live there and nowhere else. Read it end to end before touching the codebase and apply it verbatim; this file only sequences the work and its presentation.
search filtered to ADRs (scoped to the area under review), then get_item on each hit for full content. The reference's system-level ADR checks (A2-6..A2-8) and its re-litigation rules cannot be applied without them.Run the reference's Section 1 scan pass over both altitudes. Use the Agent tool with subagent_type=Explore to walk the codebase and inventory the Section 2 modules and the Section 3 containers, C4 views included.
Code index first. Find code with the tools of the kairos-code MCP server before you read a file. code_search finds what the code does; symbol finds one name. callers and references find its uses; path finds how one symbol reaches another. Then read only the files that they name. grep is for literal text only: a log line, a config key, an error message. After you change code, run kairos index update. Give the paragraph and the path of the checkout to each Explore agent.
Complete when every module and container is inventoried with a path.
Work the inventory through the reference's Section 1 classify pass and the Section 2.3 / 3.3 checklists. Complete when each checklist has been answered for everything inventoried at its altitude.
Draft every finding in the reference's Section 4 format, then self-check the whole set against Section 5 before the user sees anything.
Present the findings as a self-contained HTML report — HTML-REPORT.md has the scaffold, card layout, diagram patterns, and styling. Write it to the OS temp directory (resolve $TMPDIR, fall back to /tmp; %TEMP% on Windows) as architecture-review-<timestamp>.html so nothing lands in the repo, open it for the user (open on macOS, xdg-open on Linux, start on Windows), and tell them the absolute path.
Do not propose interfaces yet. Ask: "Which of these would you like to explore?"
When the user picks a candidate, invoke the grilling skill and walk its design tree — constraints, dependencies, the shape of the deepened module, what sits behind the seam, which tests survive. The reference's design-it-twice rule binds any interface that crystallizes here.
If the user rejects a candidate for a load-bearing reason, offer to record it — create_item with item_type: adr — framed as: "Want me to record this as an ADR so future architecture reviews don't re-suggest it?" Skip ephemeral reasons ("not worth it right now") and self-evident ones.
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub colliery-io/kairos --plugin kairos28 skills in this plugin
/bootstrapWire this repo and engineer to a Kairos deployment — MCP endpoint config, auth check, repository detection from the git remote, board discovery, and the wiring (a project entry in ~/.config/kairos/config.toml)./cancel-ralphStop the Ralph loop of this session, or of this folder after /clear. Then the Stop hook lets the session stop./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./code-reviewReview the changes since a fixed point (commit, branch, tag, or merge-base) along two axes — repo Standards and the originating Kairos item's Spec — and post the record back to the item. Use when the user wants to review a branch, a PR, or work-in-progress changes, or asks to "review since X"./decomposeBreak an initiative, plan, or PRD into independently-grabbable Kairos tasks using tracer-bullet vertical slices./diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.