Command Palette

Search for a command to run...

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

executor-architecture

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

Use when an approach has been chosen and structure must be decided before a spec exists, when superseding a decision, when a task is blocked on a missing…

aiskillstoreот aiskillstore★ 509 звёзд на GitHub

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

Architecture & Design

Two phases, one skill. Architecture settles what the parts are, what may depend on what, and what every shared seam looks like exactly. Design settles how one component works inside its boundary.

This is the layer that decides whether the spec has anything to argue from. A plan built on prose architecture produces tasks whose halves do not meet.

Read ../executor/SKILL.md and its four references before writing into either store. Paths, ID grammar, frontmatter fields, and index formats come from there and are binding.

Scripts live in ../executor/scripts/ and are written below with that prefix; they must run inside the git repository, since every store path resolves from the repo root.

Outputs

Kind ID File location Template Produced when
Architecture INIT-NNNN-ARCH-nn architecture/ arch-template.md Every initiative reaching this phase gets exactly one. It may be a single page.
Decision INIT-NNNN-ADR-nn architecture/ adr-template.md One per decision that had a live alternative and that a future reader could reasonably reverse.
Interface INIT-NNNN-IFCE-nn architecture/ interface-template.md One per seam crossed by more than one task or plan.
Design INIT-NNNN-DSGN-nn design/ design-template.md One per component whose internals are not obvious from ARCH plus IFCE.

No code is written in this phase. The only code-shaped text produced is signatures and type declarations inside an IFCE — those are contract text, not implementation. Writing implementation here means the gate has nothing left to reject.

Preconditions

Check If it fails
The initiative folder exists and the charter states goals, non-goals, and success criteria Route to executor-initiative. Architecture with no success criteria optimises for nothing.
Discovery produced an OPTS document with a recommendation the human accepted, or the charter lists discovery in skipped_phases Stop. Architecture without a chosen approach silently invents the approach, and the human never got to reject it.
The intake and discovery phase-log rows show Gate passed (or skipped) Do not proceed on an unpassed gate. Restructuring after a spec exists invalidates the spec.

Procedure

1. Ground yourself, then open the phase

../executor/scripts/exec-initiative resolve INIT-0004
../executor/scripts/exec-initiative phase INIT-0004 architecture entered

Read, in this order: charter.md (problem, success criteria, constraints, scope boundaries), the accepted OPTS document, then any RSCH note whose measurements bear on structure. Everything you write must be traceable to a constraint or criterion in one of those. A component nobody asked for is the cheapest thing to delete now and the most expensive later.

2. Triage what this initiative warrants

Signal Produce
More than one component, or one component with an externally visible boundary ARCH — always
A choice was made where another option was genuinely viable An ADR for that choice
Two tasks (or two plans) will touch opposite sides of one call, schema, event, or file format An IFCE for that seam
A component has non-obvious internal state, a real algorithm, or contested file decomposition A DSGN for that component
One component, one plan, one task, no seam ARCH only — declare the rest skipped per Skipping

Over-producing is the second failure mode of this phase; the first is prose where a signature belongs. Neither is fixed by writing more documents — it is fixed by writing the documents the seams demand and no others.

3. Write the ARCH document

Allocate the ID immediately before writing, never earlier:

../executor/scripts/exec-id INIT-0004 ARCH        # -> INIT-0004-ARCH-01

Write to architecture/INIT-0004-ARCH-01-<slug>.md following arch-template.md. Sections are fixed: context and forces, component inventory, boundaries, data flow, failure modes, deployment shape.

The boundaries section is the load-bearing one. See Boundaries. If you cannot say which side of a boundary a component sits on, the boundary is wrong — fix it before continuing, because every later document inherits it.

4. Harvest the decisions into ADRs

Re-read your own ARCH and mark every sentence of the form "we use X" or "X owns Y" where something else was possible. Each mark is either an ADR or a one-line note in the ARCH saying no alternative existed.

Allocate one ID per ADR, each immediately before writing that file:

../executor/scripts/exec-id INIT-0004 ADR         # -> INIT-0004-ADR-01
Полный SKILL.md на GitHub

Установить executor-architecture в Claude Code и Claude Desktop

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

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

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

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

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

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

Вложенные файлы

references/adr-template.mdreferences/arch-template.mdreferences/design-template.mdreferences/interface-template.mdskill-report.json

FAQ

Что делает скилл executor-architecture?

Use when an approach has been chosen and structure must be decided before a spec exists, when superseding a decision, when a task is blocked on a missing interface, or when declaring that an initiative needs no ADRs or designs.

Как установить скилл executor-architecture?

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

Скилл executor-architecture запускает скрипты?

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

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

Сравнить executor-architecture с