Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

arch-review

БесплатноБез исполняемых скриптовНе проверен

Review pending architecture docs. Judge whether the design will deliver the change it describes and whether an implementer could build it without inventing…

leogodin217от leogodin217★ 65 звёзд на GitHub

Об этом скилле

Architecture Review

Review a pending architecture doc — a doc that describes a specific change we want to make to the system (a new feature, a refactor, or a redesign).

Review the change, not the doc. Your job is to judge whether the design delivers what the Problem section says it should, and whether the contracts, semantics, and invariants are complete enough that an implementer could build it without inventing things. Document hygiene, section ordering, and prose partition are not the point.

The doc is a draft. Nothing in it is settled. You can recommend adding sections, removing sections, or rescoping the design. But every recommendation must trace back to a concrete implementation risk, not aesthetic preference.

The design talks about the system, not about docs. Review the system the design specifies — its code, contracts, semantics, invariants, reasoning. Findings about which sibling docs will go stale, who updates them, whether a section is "superseded," or which doc sections drift after implementation are out of scope. If you see the pending doc itself talking about sibling-doc updates — "X doc must be updated," "this supersedes section Y of Z," "today's W doc says..." in diff voice — flag it as drift.

This is pre-implementation work. Do not mention sprints, file inventories, line ranges, or import rewrites — those are sprint-planning mechanics. If the doc contains them, flag it as drift.


The primary lens

For every finding, ask: would an implementer have to invent semantics, a contract, or an invariant to build this? If yes, the design has a real gap. If no, you may be reviewing the doc rather than the design.

A solid pending design is implementable as written: a competent implementer could build it without inventing semantics, and the resulting code would not contradict shipped code, sibling subsystems, or the principles in CLAUDE.md.

Concretely, check:

  • Does the design deliver the Problem? Read Problem, then read Semantics + Interface Contracts. If you can't trace each part of the problem to a part of the solution, the design has a gap.
  • Semantic completeness — every behavior the design introduces is specified. No hand-waving.
  • Contract completeness — every function signature has Args, Returns, Raises. Every model has fields with types. No ... bodies.
  • Invariant coverage — invariants the design relies on are stated. New invariants the design introduces are stated.
  • Principle compliance — every principle in CLAUDE.md § Core Principles, and its vocabulary. The ones a design most often trips: no defaulting of author-specified values, no future scaffolding, no compatibility shims, and whatever architectural rule the repo states about how components compose. Cite principles by name; the numbering is local to each repo.
  • Internal consistency — Semantics, Contracts, and Validation Rules agree. The doc doesn't contradict itself.

Feature completeness (the scope check that matters)

The one scope question worth asking: is this design usable end-to-end after implementation, or does it need a sibling design to land first?

A design is incomplete when:

  • The implementer would have to invent load-bearing semantics.
  • An invariant the design relies on isn't stated anywhere — not here, not in a shipped sibling doc.
  • The "feature" isn't usable end-to-end after implementation. A verb is introduced without its companion verb. A writer is designed without a reader. A new contract depends on an interface a sibling package lacks and the design doesn't specify how that interface is added.

If part of the feature is genuinely separable and deferred, that should be called out explicitly in the doc. Silent omission is the failure mode.

What is not worth a finding:

  • Whether the doc "owns" the right set of packages (no owns field exists).
  • Whether sections could be split across multiple pending docs.
  • Whether the doc's section ordering matches a template.
  • Prose wording, voice, or tense — unless it causes ambiguity an implementer would have to resolve by inventing.

Context posture

Full architecture. Run /understand architecture first — it loads the pipeline boundaries and docs/PROCESS.md a pending doc is judged against. CLAUDE.md is already in context. On top of the bundle, load:

  1. Forward constraints binding this design — ## Forward constraints introduced in the architecture docs of the subsystems it touches, plus python3 ~/.claude/skills/note/cli.py list --forward --area <area> (decision entries are binding)
  2. The pending doc(s) under review
  3. Sibling architecture docs the design references — load only as needed

Phase 1: Find issues

Think hard. Read with the framing above. Categorize each issue:

Category Meaning
Missing spec Behavior referenced but not defined. The implementer would have to invent it.
Contract gap
Полный SKILL.md на GitHub

Установить arch-review в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл arch-review?

Review pending architecture docs. Judge whether the design will deliver the change it describes and whether an implementer could build it without inventing semantics.

Как установить скилл arch-review?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл arch-review запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить arch-review с