architecture — скилл для Claude Code: ADR и разбор дизайна системы
Помогает оформить Architecture Decision Record или разобрать чужой дизайн системы: варианты, компромиссы, последствия. Пригодится, когда выбираете между технологиями.
npx skills add anthropics/knowledge-work-plugins --skill architecture -a claude-codeЧто делает architecture
Скилл architecture работает в трёх режимах: создаёт ADR, разбирает предложенный дизайн и проектирует новый компонент по требованиям и ограничениям. Вызов один — /architecture с описанием решения или системы.
На выходе — готовый ADR в markdown: статус, дата, кто утверждает, контекст, само решение, рассмотренные варианты с таблицей по сложности, стоимости, масштабируемости и знакомству команды, разбор компромиссов, последствия и список задач. Для каждого варианта отдельно расписаны плюсы и минусы.
Чтобы разбор был полезным, задайте ограничения сразу: сроки, нагрузку, нефункциональные требования вроде задержки и стоимости поддержки. Если подключена база знаний, скилл ищет прошлые ADR и проектные документы; если трекер задач — связывает решение с эпиками и создаёт задачи на внедрение. За детальными рамками по сбору требований и оценке масштабируемости скилл отсылает к скиллу system-design.
Какие задачи решает
- выбрать между Kafka и SQS для шины событий
- зафиксировать проектное решение с компромиссами и последствиями
- разобрать чужое предложение по микросервисам
- спроектировать систему уведомлений по требованиям и ограничениям
- связать ADR с эпиками и задачами на внедрение
Примеры запросов агенту
- /architecture Стоит ли брать Kafka или SQS для шины событий?
- /architecture Разбери это предложение по микросервисам
- /architecture Спроектируй систему уведомлений для нашего приложения
Как установить architecture
1Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill architecture -a claude-code2Вручную: положить файлы
~/.claude/skills/architecture/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/architecture/
1Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill architecture -a codex2Вручную: положить файлы
.agents/skills/architecture/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill architecture -a cursor2Вручную: положить файлы
.cursor/skills/architecture/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install anthropics/knowledge-work-plugins architecture2Вручную: положить файлы
.github/skills/architecture/SKILL.md1Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill architecture -a gemini-cli2Командой платформы
gemini skills install https://github.com/anthropics/knowledge-work-plugins --path engineering/skills/architectureВручную: положить файлы
.devin/skills/architecture/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add anthropics/knowledge-work-plugins --skill architecture -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
Из того же набора89
Весь набор →Похожие
Вопросы о architecture
Как установить architecture в Claude?
Выполните npx skills add anthropics/knowledge-work-plugins --skill architecture -a claude-code. Файл скилла появится по пути ~/.claude/skills/architecture/SKILL.md.
Что делает скилл architecture?
Создаёт Architecture Decision Record или разбирает дизайн системы. Выдаёт варианты с плюсами и минусами, анализ компромиссов, последствия и список шагов.
Что нужно указать, чтобы разбор был по делу?
Ограничения и нефункциональные требования: сроки, нагрузку, задержку, стоимость, опыт команды. Скилл советует называть варианты явно, даже если склоняетесь к одному.
Исходный текст
SKILL.md · Apache-2.0
--- name: architecture description: Create or evaluate an architecture decision record (ADR). Use when choosing between technologies (e.g., Kafka vs SQS), documenting a design decision with trade-offs and consequences, reviewing a system design proposal, or designing a new component from requirements and constraints. argument-hint: "<decision or system to design>" --- # /architecture > If you see unfamiliar placeholders or need to check which tools are connected, see [CONNECTORS.md](../../CONNECTORS.md). Create an Architecture Decision Record (ADR) or evaluate a system design. ## Usage ``` /architecture $ARGUMENTS ``` ## Modes **Create an ADR**: "Should we use Kafka or SQS for our event bus?" **Evaluate a design**: "Review this microservices proposal" **System design**: "Design the notification system for our app" See the **system-design** skill for detailed frameworks on requirements gathering, scalability analysis, and trade-off evaluation. ## Output — ADR Format ```markdown # ADR-[number]: [Title] **Status:** Proposed | Accepted | Deprecated | Superseded **Date:** [Date] **Deciders:** [Who needs to sign off] ## Context [What is the situation? What forces are at play?] ## Decision [What is the change we're proposing?] ## Options Considered ### Option A: [Name] | Dimension | Assessment | |-----------|------------| | Complexity | [Low/Med/High] | | Cost | [Assessment] | | Scalability | [Assessment] | | Team familiarity | [Assessment] | **Pros:** [List] **Cons:** [List] ### Option B: [Name] [Same format] ## Trade-off Analysis [Key trade-offs between options with clear reasoning] ## Consequences - [What becomes easier] - [What becomes harder] - [What we'll need to revisit] ## Action Items 1. [ ] [Implementation step] 2. [ ] [Follow-up] ``` ## If Connectors Available If **~~knowledge base** is connected: - Search for prior ADRs and design docs - Find relevant technical context If **~~project tracker** is connected: - Link to related epics and tickets - Create implementation tasks ## Tips 1. **State constraints upfront** — "We need to ship in 2 weeks" or "Must handle 10K rps" shapes the answer. 2. **Name your options** — Even if you're leaning one way, I'll give a more balanced analysis with explicit alternatives. 3. **Include non-functional requirements** — Latency, cost, team expertise, and maintenance burden matter as much as features.
© anthropics · Apache-2.0 · anthropics/knowledge-work-plugins