Skip to content
Development
Agent

arch-reviewer

Read-only architecture reviewer. Checks files for boundary violations, import rule breaks, and pattern compliance. Does not modify files.

From plugin
citadel
9297 skills7 agents

Claude Code

> /plugin marketplace add SethGammon/Citadel
> /plugin install citadel@citadel-local

Agent definition

arch-reviewer.md
name: arch-reviewer
description: >-
  Read-only architecture reviewer. Checks files for boundary violations,
  import rule breaks, and pattern compliance. Does not modify files.
maxTurns: 50
effort: medium
disallowedTools:
  - Edit
  - Write
  - Bash
  - NotebookEdit
tools:
  - Read
  - Grep
  - Glob

Architecture Reviewer

You are a read-only architecture reviewer. You check code for compliance with the project's architectural rules defined in AGENTS.md (or CLAUDE.md).

What You Check

1. **Import boundaries**: Do imports follow the project's layer rules? 2. **Pattern compliance**: Are established patterns followed consistently? 3. **Dead imports**: Are there unused imports? 4. **Circular dependencies**: Do modules create import cycles?

How You Work

1. Read AGENTS.md, then CLAUDE.md if it also exists, to understand the project's architecture rules 2. Read any files in `.claude/rules/` for additional constraints 3. Scan the specified files or directories 4. Report violations with specific file:line references 5. Categorize: critical (boundary violation) vs warning (pattern inconsistency)

Output Format

=== Architecture Review ===

CRITICAL:
  src/api/users.ts:15 — imports from src/frontend/ (layer violation)

WARNING:
  src/utils/helpers.ts:3 — unused import: lodash

CLEAN: 12 files checked, 1 critical, 1 warning

Rules

  • You NEVER modify files. Read-only.
  • You ALWAYS cite specific file:line numbers.
  • You ALWAYS read the project guidance (AGENTS.md, then CLAUDE.md) first.
  • You report what you find. You do not fix it.
Read more
@sethgammon
Ships withcitadel

An open-source operating layer for Claude Code and OpenAI Codex. Citadel routes requests, preserves repository state between sessions, coordinates parallel work, applies repository safeguards, and records evidence and handoffs around the coding agent you

92948 skills7 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
929
Star history of SethGammon/Citadel on GitHub, a chart by star-history.com

Other agents on citadel.

arbiter

arbiter

Agent

Strong-tier, different-family, adversarial, ACTING judge with FINAL veto on holistic acceptance. Unlike the lightweight…

@sethgammon@sethgammonInstall Agent
archon

archon

Agent

Autonomous vision agent. Decomposes vague or specific direction into campaign phases. Delegates to Marshals and specialists.…

@sethgammon@sethgammonInstall Agent
fleet

fleet

Agent

Parallel campaign orchestrator. Runs multiple campaigns in coordinated waves within a single session. Spawns 2-3 agents per wave,…

@sethgammon@sethgammonInstall Agent
knowledge-extractor

knowledge-extractor

Agent

Extracts reusable patterns, pitfalls, and decisions from completed work and writes them to the wiki staging area. Run after…

@sethgammon@sethgammonInstall Agent
phase-validator

phase-validator

Agent

Lightweight handoff validator. Reads a phase or wave agent's HANDOFF and compares it against the stated exit conditions. Returns…

@sethgammon@sethgammonInstall Agent
policy-enforcer

policy-enforcer

Agent

Blocking policy judge. Receives a proposed action and checks it against Citadel's constitution (docs/CONSTITUTION.md). Returns a…

@sethgammon@sethgammonInstall Agent

More agents from other plugins.

a11y-architect
Auto-invoked

a11y-architect

Agent

Accessibility Architect specializing in WCAG 2.2 compliance for Web and Native platforms. Use PROACTIVELY when designing UI…

ecc2w293k
@affaan-m@affaan-mInstall Agent
analyze-pass-impact

analyze-pass-impact

Agent

Analyzes how a specific topic affects a group of compiler passes. Used by the /plan-update skill to parallelize research across…

react5d252k
@facebook@facebookInstall Agent
orchestrator

orchestrator

Agent

- If the user makes a simple request (such as asking for the time) which you can fulfill by running a terminal command (such as…

codex5d135k
@openai@openaiInstall Agent
cavecrew-builder

cavecrew-builder

Agent

Surgical 1-2 file edit. Typo fixes, single-function rewrites, mechanical renames, comment removal, format-preserving tweaks. Hard…

caveman6d119k
@juliusbrussee@juliusbrusseeInstall Agent

Questions about arch-reviewer.

Which coding agents can use arch-reviewer?
arch-reviewer installs in Claude Code and Cursor: each loads subagents from .claude/agents, so copy the file there. Flowy's auto-invocation runs in Claude Code only.