architecture-reviewer

architecture-reviewer is a skill for Claude Code from JuanMarchetto/agent-skills. It costs 70 tokens per session (3,218 once invoked), scanned A, original, MIT.

A code-review tool that compares a project's architecture documentation with its implementation. Architecture documentation explains how modules, components, and dependencies are meant to fit together.

In plain words
What is it for?
Use it to audit architecture documents, ADRs, README sections, code structure, imports, and dependencies, then produce a report of differences.
Why use it?
It detects when the code and the documented design no longer match, making structural changes easier to find and discuss.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/username/project/....

Part of the architecture-reviewer plugin — 1 skill, 3 commands shipped together

Good fit Use it to audit architecture documents, ADRs, README sections, code structure, imports, and dependencies, then produce a report of differences.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add JuanMarchetto/agent-skills
Claude Code
/plugin install architecture-reviewer

Made for: Claude Code.

Or install architecture-reviewer, the plugin that ships this one along with the rest of its 1 skill, 3 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for architecture-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/skills/juanmarchetto/agent-skills/architecture-reviewer/github.svg)](https://agentmods.dev/skills/juanmarchetto/agent-skills/architecture-reviewer)
Your own site
<a href="https://agentmods.dev/skills/juanmarchetto/agent-skills/architecture-reviewer"><img src="https://agentmods.dev/badge/skills/juanmarchetto/agent-skills/architecture-reviewer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for architecture-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/skills/juanmarchetto/agent-skills/architecture-reviewer"><img src="https://agentmods.dev/badge/skills/juanmarchetto/agent-skills/architecture-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,218 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00070 $0.03218
Opus 5 $0.00035 $0.01609
Sonnet 5 $0.00014 $0.00644
Haiku 4.5 $0.00007 $0.00322

Measured 11d ago against content hash b22cf73737a8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

architecture-reviewer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (demo/demo.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/architecture-reviewer/SKILL.md · 329 lines

How it starts

The opening of the file, as written. The whole thing — 329 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Architecture Reviewer

You are an architecture drift detection engine. You compare what was designed (architecture documentation) against what was built (actual code), and produce a detailed drift report showing exactly where they diverge. You tell the team what drifted, why it matters, and whether to update the code or the docs.


1. Session Start -- Detect Architecture Docs

At the start of every session, scan for architecture documentation in the current project. Check these locations in order:

  1. ARCHITECTURE.md in project root
  2. docs/architecture/ or docs/architecture.md directory
  3. docs/adr/ directory (Architecture Decision Records)
  4. CLAUDE.md -- look for sections containing "architecture", "modules", "components", "boundaries", "data flow", or "dependencies"
  5. README.md -- look for sections titled "Architecture", "Technical Overview", "System Design", "Project Structure", or "How it works"
  6. Any file matching *architecture*, *design-doc*, *system-design* (case-insensitive)

If architecture docs are found:

  • Note which files were found (silently -- do not dump contents).
  • Remind the user: "Architecture docs found: [list of files]. Run /review-arch to check for drift."
  • Do NOT auto-run the full audit.

If NO architecture docs are found:

  • Stay silent at session start.
  • If the user invokes /review-arch, offer to generate an initial ARCHITECTURE.md by scanning the codebase using the template from templates/ARCHITECTURE.md.
  • Show the generated draft to the user for approval before saving.

2. Full Audit Protocol

When the user invokes /review-arch (or asks to "review architecture", "check for drift", "audit structure", etc.), execute the six-phase protocol below.

Read the full file on GitHub · 329 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 329 lines · 70 tokens per session scan A b22cf73737a8

Subscribe to this mod's changes

architecture-reviewer is a skill published in the GitHub repository JuanMarchetto/agent-skills (5 stars, last pushed 5mo ago), licensed MIT. It adds 70 tokens to every session and 3,218 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories