arckit-archify
Render governed artefacts as interactive, self-contained HTML diagrams via Archify, or Wardley Maps via ArcKit's built-in renderer
от tractorjuice★ 19 звёзд на GitHub
Установить arckit-archify в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
ArcKit: Interactive Diagram Rendering
You render ArcKit's governed artefacts as interactive, self-contained HTML — a single file with inline SVG, dark/light themes, pan/zoom and dependency tracing, that opens offline with no external requests.
Two engines sit behind this one command:
| Requested type | Engine | Availability |
|---|---|---|
architecture, workflow, sequence, dataflow, lifecycle |
Archify (third party, MIT) | Only when the user has installed it |
wardley |
ArcKit's own renderer (scripts/owm-to-html.mjs) |
Always — ships with the plugin |
ArcKit does not bundle Archify. It is an independently maintained skill (https://github.com/tt-a1i/archify, MIT, by tt-a1i). This command detects it, uses it when present, and degrades honestly when it is not. Never claim a diagram was rendered by Archify unless its CLI actually exited zero.
User Input
$ARGUMENTS
Step 1: Route on the requested type
Parse $ARGUMENTS for a diagram type and a subject.
- If the type is
wardley(or the subject names a WARD artefact / Wardley Map), go to Step 5. Archify is not involved and not required. - Otherwise continue to Step 2.
- If no type is given, infer one from the subject and say what you inferred. Default to
architecture.
Step 2: Detect Archify
Run the bundled detector:
node .arckit/scripts/archify-detect.mjs --json
It searches $ARCKIT_ARCHIFY_HOME, then project-local skill directories, then
each runtime's global skill directory. Exit code 0 means found, 1 means absent.
If found is false, stop and tell the user plainly:
Archify is not installed, so I can't render an interactive {type} diagram.
Install it (one-off, ~7.5MB, MIT licensed, third party):
npx skills add tt-a1i/archify -g
Or point ArcKit at an existing checkout:
export ARCKIT_ARCHIFY_HOME=/path/to/archify
In the meantime I can run $arckit-diagram to produce the Mermaid or
PlantUML C4 version of the same diagram, which needs no extra install.
Then offer to run $arckit-diagram instead. Do not attempt to install
Archify yourself, and do not fabricate an interactive artefact by hand — a
hand-written HTML file is not an Archify render and must never be presented as
one.
If found is true, note root, version and cli from the JSON and
continue. Confirm the requested type appears in the reported types array.
Step 3: Gather the governed source material
Note: The ArcKit Project Context hook has already detected projects, artefacts, external documents and global policies. Use that context — do not scan directories manually.
Read what the requested type needs, and use the artefacts as the facts of record. The diagram must depict what ArcKit's artefacts actually say, not a plausible generic architecture.
| Type | Read | Extract |
|---|---|---|
architecture |
Vendor HLD, DIAG, REQ, PRIN | Containers, technology choices, boundaries, external systems |
workflow |
SOW, PLAN, PROC, delivery artefacts | Stages, approval gates, decision points, owners |
sequence |
Vendor DLD, INT requirements, API contracts | Participants, ordered messages, returns, async hops |
dataflow |
DFD, DATA (data model), DPIA | Sources, transformations, stores, consumers, PII flows |
lifecycle |
REQ (status fields), DATA, ADRs | States, transitions, retries, terminal and failure states |
Also read any external documents in external/ and enterprise standards in
projects/000-global/external/. When a diagram element comes from an external
source, follow .arckit/references/citation-instructions.md and
record the citation in the governed artefact you write in Step 7 — the HTML
itself carries no citation markers.
If there is nothing to depict, say so and stop. Do not invent an architecture.
Step 4: Author, validate and deliver through Archify
Follow Archify's own authoring contract; it is the authority on its schema, not
this command. Read <root>/schemas/<type>.schema.json, <root>/schemas/common.schema.json
and one matching example under <root>/examples/ before writing anything.
Write the candidate first. Save the IR to
projects/{project-dir}/diagrams/.archify/ARC-{PROJECT_ID}-DIAG-{NUM}.{type}.json. Use the Write tool. Start with one clear main path, at most 12 primary nodes, automatic routes, andmeta.quality_profile: "showcase".Validate:
node <cli> validate <type> <candidate.json> --quality showcase --jsonA showcase pass reports 9 artefact checks, 0 errors, 0 warnings. A receipt showing only 4 checks is basic validation, not showcase acceptance.
Repair from the diagnostics, not by guessing. Each diagnostic names a
subject,evidenceand often a literal suggested fix (labelAt [615, 322]). Apply the diagnosed change only. Continue while the error count reaches a new minimum; if
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- agents/openai.yaml
FAQ
Что делает скилл arckit-archify?
Render governed artefacts as interactive, self-contained HTML diagrams via Archify, or Wardley Maps via ArcKit's built-in renderer
Как установить скилл arckit-archify?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл arckit-archify запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…