Command Palette

Search for a command to run...

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

architecture

This skill should be used when managing Architecture Decision Records or C4 diagrams.

БесплатноБез исполняемых скриптов
jikig-aiот jikig-ai★ 21 звезда на GitHub

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

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

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

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

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

Grok Build (plugins/soleur/lib/harness.ts invokeSkill()): Read this SKILL.md in this process and run it to completion. A one-segment soleur:<name> in this document names a SKILL — on Grok Build, Read plugins/soleur/skills/<name>/SKILL.md in this process; it is not a nested tool_use. A multi-segment id such as soleur:<domain>:<name> names an AGENT: spawn it, never Read it, and on Grok Build spawn_subagent takes the id with its colons replaced by hyphens (agentIdToGrokSubagentType). Claude Code: Skill tool for a skill (soleur:<name>), Task tool with subagent_type for an agent. Forbidden is executing a subset, not the Read.

Architecture as Code

Create, manage, and query Architecture Decision Records (ADRs) and maintain an interactive LikeC4 architecture model. ADRs are version-controlled markdown; the C4 model is version-controlled LikeC4 DSL (.c4). All artifacts live in knowledge-base/engineering/architecture/.

Any message this skill PRINTS that tells the operator to run a skill or command renders at emit time. The doc names it canonically (soleur:<name>, ADR-226); before printing, render it as the active harness's operator-typed form per formatSkillInvocation (plugins/soleur/lib/harness.ts), which owns the per-harness slash and sigil forms — the operator types that string into a fresh session where no routing contract is in context, so a bare canonical name is model-discretion there rather than a dispatch. This covers abort messages, AskUserQuestion prompts and options, Display/echo lines and resume prompts alike; an agent-read instruction stays canonical.

Sub-commands

Command Description
architecture create [title] Create a new ADR with the next sequential number
architecture list Display all ADRs with status, title, and date
architecture supersede <N> [title] Mark ADR-N as superseded and create its replacement
architecture diagram [type] Create or update the LikeC4 model and its views (context, container, component)
architecture add-container <id> Add a container/database element to the model
architecture add-component <id> Add a component element to the model
architecture add-relationship <from> <to> Add a relationship between two model elements
architecture render Validate the LikeC4 project (likec4 validate) and report element/view counts
architecture assess [feature] Assess a feature against the NFR register and principles register
architecture principle list Display the architecture principles register

If no sub-command is provided, display the table above and ask which sub-command to run.

Arguments

$ARGUMENTS is parsed for a sub-command and optional parameters:

architecture [sub-command] [arguments...]

Phase 0: Prerequisites

Verify the knowledge-base directory exists:

if ! -d &quot;knowledge-base&quot;; then
  echo "No knowledge-base/ directory found. Create one first or run soleur:sync."
  # Stop execution
fi

Create the architecture directories if they do not exist:

mkdir -p knowledge-base/engineering/architecture/decisions
mkdir -p knowledge-base/engineering/architecture/diagrams

Branch safety check (defense-in-depth): Run git branch --show-current. If the result is main or master, abort with: "Error: architecture skill cannot run on main/master. Checkout a feature branch first."

Vocabulary. Before committing a word that names a concept, check it against knowledge-base/project/glossary.md and use the sense its pointer settles; if the word is materially ambiguous and has no entry, hedge in the artifact and name the ambiguity. The instruction is stated once in glossary-format.md §The consumer pointer and is not restated here.

Rejected-concepts substrate. Before recording a decision that refuses a concept rather than a mechanism, read ADR-234: an ADR's ## Alternatives Considered table is scoped to the mechanisms of one decision, so a concept-level refusal belongs in the no-list at knowledge-base/project/rejected/ instead, where the intake pre-check can find it by concept. The two are siblings, not substitutes — the no-list cites ADR tables as a store the lookup also checks, and imports nothing from them.


Sub-command: create

Create a new ADR with the next sequential number.

Steps

  1. Determine next ADR number. List existing ADRs in knowledge-base/engineering/architecture/decisions/:

    ls knowledge-base/engineering/architecture/decisions/ADR-*.md 2>/dev/null | sort -V | tail -1
    

    Ex

Полный SKILL.md на GitHub

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

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

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

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

  • references/adr-template.md
  • references/likec4-reference.md
  • references/nfr-reference.md

FAQ

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

This skill should be used when managing Architecture Decision Records or C4 diagrams.

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

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

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

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

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

Сравнить architecture с