Skip to content
Back to skills

Arch Review

ASecurity

Review architecture documents against code implementation and principles.

  • 62 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added May 28, 2026
documentationgo

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add leogodin217/leos_claude_starter --skill arch-review --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Arch Review?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Arch Review
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/leogodin217-arch-review/badge)](https://www.skillsdirectory.com/skills/leogodin217-arch-review)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: arch-review
description: Review architecture documents against code implementation and principles.
disable-model-invocation: true
---

# 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

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.