arch-review

Review architecture documents against code implementation and principles.

24 stars

Best use case

arch-review is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Review architecture documents against code implementation and principles.

Teams using arch-review should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/arch-review/SKILL.md --create-dirs "https://raw.githubusercontent.com/leogodin217/leos_claude_starter/main/.claude/skills/arch-review/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/arch-review/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How arch-review Compares

Feature / Agentarch-reviewStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Review architecture documents against code implementation and principles.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Architecture Review

Review architecture documents against implementation and principles.

## Context to Load

1. `CLAUDE.md` - Core principles
2. `docs/architecture/README.md` - Architecture overview, implementation status
3. Architecture docs being reviewed (user specifies or all in `docs/architecture/`)
4. Relevant implementation code in `src/fabulexa/`

## Process

### Phase 1: Analysis

**Code navigation:** Use LSP tools for code exploration — `find_definition` to locate implementations, `find_references` to trace usages, `get_hover` for type info. Do not Grep for `def foo` or `class Bar`.

1. Read all specified architecture docs
2. Read corresponding implementation code
3. Compare design vs implementation
4. Identify issues in these categories:
   - **Mismatch**: Doc says X, code does Y
   - **Missing spec**: Doc references undefined behavior
   - **Inconsistency**: Docs contradict each other
   - **Design question**: Valid approaches, needs decision

### Phase 2: Document Issues

Create or update `docs/SCRATCHPAD.md` with:

```markdown
# Architecture Review Scratchpad

## Issues to Resolve

### 1. [Short title]

**Status:** Open

**Location:** [file:line or section reference]

**Problem:** [What's wrong]

**Options:** [If design question, list options A/B/C]

---

## Resolved Issues

### N. [Short title]

**Resolution:** [What was decided]

**Decision:** [Rationale and changes made]

---
```

### Phase 3: Resolution Loop

For each issue:

1. **Present** the issue with context
2. **Analyze** options if it's a design question
3. **Wait for user decision** - DO NOT change docs until user approves
4. **Make changes** after approval
5. **Update scratchpad** - move to Resolved with decision rationale

### Phase 4: Completion

Review is complete when:
- All issues resolved, OR
- Only nitpicky issues remain (formatting, minor wording)

If significant issues found → user may request another review round.

## Key Principles

- **Code is truth** after implementation - docs point to code, not duplicate
- **Evaluate which is better** - don't blindly sync doc to code or vice versa
- **Agree before changing** - get user decision before modifying docs
- **Document rationale** - future readers need to know WHY

## Output

After each round, summarize:
- Issues found: N
- Resolved: N
- Remaining: N (with brief list)

## Example Usage

User: "Review simulation.md and actors.md"
→ Load docs, analyze, create scratchpad, present first issue, wait for decision

Related Skills

role-architect

24
from leogodin217/leos_claude_starter

System architect mode for designing interfaces, contracts, and architecture decisions.

review-tests

24
from leogodin217/leos_claude_starter

Comprehensive test review using parallel test-reviewer agents.

review-sprint

24
from leogodin217/leos_claude_starter

Post-implementation mechanical audit of sprint deliverables.

arch-design

24
from leogodin217/leos_claude_starter

Design architecture docs for new features, refactors, or redesigns. Produces implementation-ready docs with complete file impact analysis.

verify-sprint

24
from leogodin217/leos_claude_starter

Spec-fidelity verification tracing requirements through code.

session

24
from leogodin217/leos_claude_starter

Analyze Claude Code session transcripts — search, summarize, list, or inspect how a session went.

role-educator

24
from leogodin217/leos_claude_starter

Course designer mode for creating exercises, configs, and QA criteria.

issue

24
from leogodin217/leos_claude_starter

Create, list, and resolve review issues. Critical issues get individual files for research; warnings and gaps go to a quick-fix checklist.

implement-sprint

24
from leogodin217/leos_claude_starter

Automated sprint implementation with context discipline and quality gates.

get-started

24
from leogodin217/leos_claude_starter

Interactive setup guide for configuring CLAUDE.md and CAPABILITIES.md.

eval-sprint

24
from leogodin217/leos_claude_starter

Adversarial evaluation of sprint spec before implementation.

create-sprint

24
from leogodin217/leos_claude_starter

Guide sprint planning from scope assessment to spec artifacts.