/architecture:architecture-reviewfrom architecture
Judges an existing system's structure: recovers claimed invariants, tests them against import-graph and churn evidence, and lands ranked findings with options and kill triggers. Use when the user says "review our architecture", "is this codebase structured well", or "where is the coupling". Not for repo inventory (codebase-survey), new specs (architecture-spec), or one interface (deep-modules).
Ships in architecture. 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; scripts run unread.
Assess an existing system's boundaries against its stated invariants and real cost of change. A finding needs evidence of structural harm, not a preference for another directory layout.
Recover invariants from architecture docs, decisions, module contracts, and boundary rules. Cite stated constraints; label inferred ones as hypotheses. Do not invent a minimum count when the system has few meaningful invariants.
Use scripts/depgraph.sh for supported-language import edges, fan-in/out, and cycles; use scripts/churn.sh for change counts. Resolve these paths from the installed skill directory and inspect the script headers for limits. Both are offline and read-only. When the language or history is unsupported, inspect representative callers and changes directly and state the coverage limit. An approximation is not a complete import graph.
Read the code behind hotspots. High fan-in or churn is a lead, not a defect; verify whether changes actually propagate or violate a contract.
Apply deep-modules at consequential seams: what must callers know, which volatile details escape, and where would the complexity go if the abstraction were removed? Its essential test works inline when the companion is absent: an interface earns its cost by hiding repeated knowledge or enforcing policy.
Inspect reversed dependency edges, cycles, shared-change hotspots, and leaked vendor/schema knowledge. Establish the concrete effect on a representative change before ranking it. Separate design hypotheses from confirmed violations.
For each finding give the violated or missing invariant, supporting paths and edges, and recurring maintenance consequence. Rank by demonstrated cost and risk. For the material choices compare keeping the current design with feasible alternatives; do not manufacture two redesigns for a simple defect.
State the recommended change, migration cost and uncertainty, and evidence that would justify stopping or revisiting it. Use migration-plan for a requested transition design. Reliability failure modes belong to failure-mode-analysis. A rewrite needs evidence that its cost is justified by the alternatives.
Use references/review-checklist.md for a full review when needed. Lead with actual scope and ranked findings; include enough code and history evidence for a reader to challenge them. Distinguish untested recommendations from verified improvements. Do not infer whole-system quality from a narrow subtree or claim absent history was analyzed.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub smithdak/skillsmith --plugin architecture7 skills in this plugin
/api-designDesigns the contract for an interface others program against — REST, gRPC, GraphQL, events, or a library's public surface — consumers first, errors and compatibility before the happy path. Use when the user says "design the API for", "how should we version this endpoint", or "review our REST API". Not for one internal module's interface (deep-modules) or a whole-system spec (architecture-spec)./architecture-specCo-authors a versioned architecture spec for a new or redesigned system: design invariants, open decisions, and kill/pivot triggers. Use when the user says "write an architecture spec", "spec out" a system, or "draft a design doc". Not for judging an existing system (architecture-review), one feature (feature-spec), one decision (decision-record), or reviewing a draft (falsification-review)./Other plugins' skills for the same job