Command Palette

Search for a command to run...

Назад к скиллам
скилл № 48617

architecture-alternatives

Two or three structurally different designs for a code or system structure with no precedent, compared on one review page, then an adversarial challenge of…

БесплатноБез исполняемых скриптов
Motaghiот Motaghi★ 51 звезда на GitHub

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

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

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

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

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

architecture-alternatives

Turn a structural fork in code or system design into a choice the owner can make by looking: two or three structurally different designs, compared side by side on one review page, with one recommended and challenged before the owner decides. The package writes nothing and starts nothing. Contributors, reviewers and the page are requests to the orchestrator. It ends at the decision and a rationale.

Adapted from the architect, interrogate and principle-exhaust-the-design-space skills in pstack by Lauren Tan (cursor/plugins, MIT License), with the challenge step also drawing on doubt-driven-development by Addy Osmani (addyosmani/agent-skills, MIT License). Credit and licence text are in references/upstream-notice.md and in the repository's CREDITS.md.

When it applies

The orchestrator may select this package from ordinary intent when the request is for options on how code or a system should be structured and nothing in the project answers it yet: "design this twice", "where should this state live", "compare approaches". Three kinds of request reach it:

  • A structural fork: the candidate answers differ in the model itself, such as who owns a piece of state, where a boundary sits, what the data looks like or what runs when.
  • A challenge of a design decision or claim the owner names: "poke holes in this design". Only the challenge step runs.
  • A chosen shape that keeps meeting friction in the build: see references/reopen-chosen-shape.md.

General design conversation with no structural fork belongs to a brainstorming flow. When it turns up a fork, the orchestrator may route that fork here; this package never chains itself behind another skill. If a precedent or a single constraint settles the question, say so in one line and stop (step 3). When the scope is unclear, state the reading you are taking in one sentence and go on.

Gates on every path

These apply before step 1, again whenever a step would read, write or run something, and to every reply, a refusal or a hand-back included.

  • Confidential material. The project's own rules on confidential material win.
  • A pending owner choice. While a clarifying-question session or another owner decision is unconfirmed, this package starts no prototype, build or state-changing probe. Candidates are text and a page; nothing runs.
  • The package never dispatches anything, never picks a model or provider, and never commits, pushes, installs anything (a hook included) or schedules a job. If a request asks for any of those, hand the decision back to the orchestrator.
  • Output. Drafts stay unsent. A secret is never requested and never shown in chat; replace one in quoted material with <REDACTED>.

Required capabilities

  • filesystem to read the code, tests, configuration and project documents around the problem, and the files in this package. Nothing is written.
  • git-read to read history of the affected area for earlier attempts and reverted designs: log, blame and text search. No command that changes the repository.
  • shell for read-only search and listing only: every writer of a piece of state, every importer of a module. No command that writes, installs, builds, runs the project's code or tests, or reaches a network.
  • docs to read design notes, specs and decision records. Nothing is written to the docs.
  • review-page for the comparison page. The orchestrator builds it, and the exact submitted answer comes back.
  • subagent-orchestration to receive isolated contributor drafts and reviewer findings that the orchestrator routes under its slot limits. The package never starts, picks or configures them.
  • user-decision for the choice among candidates and any owner decision a step raises.

If a capability is missing, say which step it blocks and mark that step unverified. With no contributor slot, draft the candidates yourself and say isolation was not achieved. With no reviewer slot, the challenge step stops; never call a self-review adversarial. With no page capability, give the orchestrator the page content as a labeled text block, marked not rendered.

Method

  1. Pin the problem. One sentence for what is being designed and why the shape is not obvious, then the constraints, each with where it comes from. A constraint you cannot cite is a preference. The better design is the one where a change that looks right from one file is right for the whole repository.
  2. Ground it. Read the code, tests, configuration and decision records around the problem. Naming a file is not grounding. For an unfamiliar subsystem the orchestrator attaches a code-explaining method. When a candidate would change ownership or layering, the orchestrator attaches a history-recall method in its why mode, so the recorded reason for the current shape becomes a constraint. Skip this step only when the work is greenfield. Record what was read and what was not.
  3. Precedent and fork test. Run checks 1 and 2 of `references/exhaust-design
Полный SKILL.md на GitHub

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

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

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

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

  • references/design-red-flags.md
  • references/exhaust-design-space.md
  • references/interrogate.md
  • references/rationale-template.md
  • references/reopen-chosen-shape.md
  • references/upstream-notice.md

FAQ

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

Two or three structurally different designs for a code or system structure with no precedent, compared on one review page, then an adversarial challenge of the pick. Not general brainstorming, implementation plans, UI shape, named design criteria (engineering-principles) or diff review; the orchestrator routes throwaway builds.

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

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

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

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

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

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