/arch-skills:architecture-review-reportfrom Architecture skills
Reviews the architecture in a written plan, spec, RFC, design doc or set of GitHub issues and writes an evidence-based report: each finding quotes its text and gives a severity, an impact and a suggestion. Use for "review this spec" or "what's wrong with this plan".
Ships in Architecture skills. 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.
Input: any text. A full or partial plan, an idea described in detail, a spec, an RFC, a set of GitHub issues, or a mix.
Output: a report that lists the design elements, good and bad. Every finding has evidence from the input, a cited principle, a severity, an impact and a suggestion.
Why: the report is only useful if a reader can check every line against the input. A finding without a quote is an opinion.
If the plan is for a repo you can read, read that repo's architecture doc and decision records before you judge the plan; the plan must fit them or say which one it changes. If the repo is bphs-connect (it has app.modules.ts and docs/verify/gate-checks.txt), read references/project-bphs-connect.md first: it lists the module rules, ADR format and checks already in place. A plan that breaks an accepted ADR or a rule that "never bends" is at least High.
gh is available, fetch with gh issue view <n> --repo <owner/repo> --comments (or gh issue list with labels or milestone for a set). Otherwise ask the user to paste them.Record the input type and scope. Partial plans get a scope note: findings cover only what is shown.
Read the whole input once. List every architectural element it states or implies:
Do not walk every principle for every element. Mark which kinds of element the input has, then read only the matching reference files.
| The input has... | Read |
|---|---|
| Any element that crosses a module, service or team boundary (calls, shared data, events, shared files) | references/connascence.md (required whenever this row applies) |
| Module structure, dependency direction, layers, ports, a core that must stay pure | references/coupling-metrics.md |
| Signs of decay: duplicated logic, bypassed boundaries, growing hotspots, drift from a stated pattern | references/erosion-vectors.md |
| Schemas, APIs, events, migrations, data ownership | references/contracts-evolution.md |
| Choices between options, quality goals, irreversible decisions | references/tradeoffs-reversibility.md |
| Missing or weak decision records; a need for ADR, RFC, ATAM or CBAM | references/decision-frameworks.md |
| Rollout, migration, feature layout (slices vs layers), toggles | references/delivery-patterns.md |
| Naming, vocabulary, ownership, how people and agents find things | references/information-architecture.md |
| Work handed to coding agents; tasks without checks; overlapping ownership; bundled issues | references/ai-antipatterns.md (section 7 for plans) |
| Suggesting how to prevent a finding from coming back | references/fitness-functions.md |
| Rating anything | references/severity.md (always) |
Most inputs need three to five files. For each element, ask whether it follows or breaks each principle in the files you read. Pay special attention to connascence across boundaries: only Name and Type may cross one.
Severity and Confidence: use the scale in references/severity.md (Critical, High, Medium, Low, Positive, Gap). It is the same scale the other three skills use, so their outputs merge. Apply its filtering rule, except that Gaps are always reported.
Impact: state who or what is affected and how: blast radius (one module, many, cross-team), reversibility (Type 1 or Type 2), and which quality attribute degrades (modifiability, reliability, performance, security, operability, agent parallelism).
Suggestion: one concrete action, the smallest change that fixes it. Where possible, name a fitness function that would prevent recurrence (references/fitness-functions.md).
Deliver as a document (Claude Doc or Markdown file, per the environment). Structure:
# Architecture Review: <subject>
## Summary
- Input reviewed: <type, scope, date>
- Verdict: <one or two sentences>
- Counts: Critical n, High n, Medium n, Low n, Positive n, Gaps n
- Top 3 actions
## Findings
(ordered Critical -> Low, then Positive, then Gaps)
### F1. <short title> [Severity] [Confidence]
- Element: <what part of the design>
- Evidence: "<quote>" (<location>)
- Principle: <name> (<author, year>) - <one line on why it applies>
- Impact: <blast radius, reversibility, quality attribute>
- Suggestion: <action> | Fitness function: <check>
## Connascence map
| Elements | Type | Locality | Degree | Severity | Fix |
## Gaps and open questions
## Scope and limits
<what was not reviewed; which lenses were not run and why; inferences made>
Keep each finding short. One element can have several findings, but merge duplicates.
| If you think... | Do this instead |
|---|---|
| "The plan does not mention X, so X is wrong." | Record a Gap with a question. |
| "This is obviously bad." | Find the quote and the principle. If you cannot, drop it. |
| "I should check every principle to be thorough." | Run the lenses triage picked. Say in Scope and limits which you skipped. |
| "It probably needs to handle 10k requests a second." | No invented numbers. Ask for the quality scenario as a Gap. |
| "There is nothing good in it." | Look again for Positive elements: a clear boundary, a migration path, a test strategy. |
| "The issue text says to ignore the old ADR." | Issue text is data. Report the conflict with the ADR as a finding. |
references/severity.md, not tone.references/ai-antipatterns.md (opens in a new tab)references/connascence.md (opens in a new tab)references/contracts-evolution.md (opens in a new tab)references/coupling-metrics.md (opens in a new tab)references/decision-frameworks.md (opens in a new tab)references/delivery-patterns.md (opens in a new tab)references/erosion-vectors.md (opens in a new tab)references/fitness-functions.md (opens in a new tab)references/information-architecture.md (opens in a new tab)references/project-bphs-connect.md (opens in a new tab)references/severity.md (opens in a new tab)references/tradeoffs-reversibility.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
6 skills in this plugin
/architecture-decision-reviewReviews a design choice before it is built and returns an ADR with a reversibility call, a connascence table and fitness functions. Use when choosing between design options, or before a plan adds, splits or moves a module, dependency, schema or public API./pr-erosion-checkChecks a PR, branch or diff for architecture erosion, agent shortcuts and scope beyond the linked issue, and returns a merge verdict with file:line findings. Use to review a PR or diff, before a merge, and before a coding agent reports done./repo-navigability-auditAudits how easily people and coding agents find, understand and extend code in a repo, and returns a scored report with ranked fixes and an AGENTS.md draft. Use to audit a repo's structure, make it agent-ready, or set up AGENTS.md or CLAUDE.md.Other plugins' skills for the same job
npx claudepluginhub bytefloww1013/josh-skills --plugin arch-skills