Command Palette

Search for a command to run...

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

architecture

БесплатноЗапускает вложенные скриптыНе проверен

Single owner of everything under docs/architecture/ — ADRs, architecture and design documents, and architecture diagrams. Routes each deliverable to the right…

afonsoftот afonsoft507 установок в других каталогах

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

Architecture

The single entry point for all repository architecture deliverables. Instead of calling diagram skills directly, agents invoke /architecture and this skill routes each deliverable to the right engine. It owns the docs/architecture/ folder end to end: ADRs, design documents, and every diagram format.

All questions and confirmations directed at the user must be in Portuguese (pt-BR). Internal reasoning and documentation are in English.

Ownership — docs/architecture/

Everything that describes or decides the system's architecture lives here:

docs/architecture/
├── AD-NNNN-<slug>.md                    # Architecture Decision Records
├── architecture-design.md               # Architecture design doc
├── system-design.md                     # System design doc
├── api-design.md                        # API design doc
├── database-design.md                   # Database design doc
├── feature-<name>-design.md             # Feature-scoped design doc
├── system-architecture.md               # Markdown doc with embedded Mermaid
├── <name>_<type>_<title>.mmd            # Mermaid sources
├── <name>_<type>_<title>.drawio         # Editable draw.io sources
├── <name>_<type>_<title>.png|.svg|.pdf  # Exported images
├── <name>.json                          # Archify candidate specs
└── <name>.html                          # Archify interactive HTML artifacts

Ensure the directory exists before writing: mkdir -p docs/architecture.

Projects scaffolded by /scaffold-mvp may also keep ADRs under docs/adr/. Treat docs/architecture/ as canonical; when docs/adr/ exists, keep it consistent with the AD index below.

Engine Routing

Pick the engine by deliverable, never by habit:

Deliverable Engine Why
ADR (AD-NNNN) this skill (template below) Structured Markdown decision record
Design doc (system / API / DB / feature) /mermaid-architecture assets Templates live in mermaid-architecture/assets/
Markdown-native diagram (C4, sequence, flow, ER, state) /mermaid-architecture Renders in GitHub/Obsidian/wikis, works headless
Editable .drawio diagram or PNG/SVG export /drawio-architecture draw.io MCP or desktop CLI; fall back to /mermaid-architecture if graphical rendering fails in headless environments
Interactive standalone HTML diagram (presentations, explorability, trace motion) archify (optional, only if already installed) Self-contained HTML + inline SVG with themes and export — see below
Evidence-backed audit (delivered state vs code/specs/docs) /gap-analysis Owned by this skill at the end of the pipeline — see references/gap-audit-handoff.md

Default order in the Orchestrator pipeline (Phase 5): /drawio-architecture for the editable system diagram → /mermaid-architecture for native Markdown diagrams → archify for the interactive runtime diagram when installed → /gap-analysis for the final evidence-backed audit.

Guardrails

  • Never install external skills. Archify is used only when already installed in the environment. If absent, skip it — do not prompt for, suggest, or run any install command — consistent with the orchestrator's "no silent execution" and "trusted delegation only" rules.
  • Graceful degradation. If archify is absent, deliver the same content through /mermaid-architecture (and /drawio-architecture when editable output is needed). A missing optional engine never blocks the pipeline.
  • Never bypass the gap-analysis gate. gap-analysis is read-only until the user answers its own pt-BR approval gate. This skill invokes it and reports the outcome; it never pre-approves, answers for the user, or skips the audit silently.
  • Verify before claiming. Validate Mermaid syntax, .drawio XML, and archify receipts with each engine's own validator before reporting success.

Workflow

  1. Preflight (optional but recommended): run scripts/architecture-doctor.sh for a read-only inventory of docs/architecture/, the next free ADR number, engine availability (mmdc, drawio CLI), and delegated-skill detection (mermaid-architecture, drawio-architecture, gap-analysis, archify).
  2. Classify the request: ADR, design doc, Markdown diagram, editable diagram, or interactive HTML. Multiple deliverables may apply.
  3. ADRs: check the highest existing AD-NNNN number, then write the next one with the template below.
  4. Design docs: populate the matching template from mermaid-architecture/assets/ into docs/architecture/.
  5. Diagrams: route per the table. For code-grounded diagrams, extract evidence first (entry points, DI graph, docker-compose.yml, Helm/Terraform, CI files).
  6. Verify: run each engine's validation step; fix and re-run until green.
  7. Gap audit: invoke /gap-analysis per its own contract — pass the delivery context (SPEC paths, commits, files written under docs/architecture/) so its AS-IS ×
Полный SKILL.md на ClawHub

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

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

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

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

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

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

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

FAQ

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

Single owner of everything under docs/architecture/ — ADRs, architecture and design documents, and architecture diagrams. Routes each deliverable to the right engine: /mermaid-architecture for Markdown-native diagrams, /drawio-architecture for editable .drawio diagrams, and the optional archify skill for interactive standalone HTML diagrams (used only when already installed in the environment; never installed at runtime). Use whenever architecture documentation, ADRs, or architecture diagrams must be created or updated.

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

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

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

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

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

Сравнить architecture с