Command Palette

Search for a command to run...

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

archify

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

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light…

aktsmmот aktsmm★ 27 звёзд на GitHub

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

Archify

Create an interactive HTML diagram from typed JSON. Static output is the default; enable motion only when requested.

Run commands from your working directory. Unless the user names another location, give each new diagram request its own folder .archify/<type>-<slug>-<YYYYMMDD-HHMMSS>/ there (local time, chosen once when the request starts): keep candidate.json and <slug>.html in it, set meta.output to that relative HTML path, and reuse the folder for every repair rerun. A later request gets a new folder, so earlier versions stay intact. Replace bin/archify.mjs in the commands below with the installed package's absolute path, or its path relative to your working directory; input and output paths resolve from that working directory.

For a real codebase, read Repository authoring while tracing the requested behavior. A system description uses the steps below; an existing JSON uses the handoff path.

Local adaptation notes

This section is not upstream; see PROVENANCE.md. Apply it before the first command.

  • Host conventions win. If the repository requires editable diagrams (for example draw.io) or a specific output folder, follow that rule; Archify HTML supplements it and never replaces a required editable source or image.
  • Node on Windows. Run this probe once per machine: node -e "const f=require('fs'),o=require('os'),p=require('path');const d=f.mkdtempSync(p.join(o.tmpdir(),'archify-probe-'));try{const x=p.join(d,'f');f.writeFileSync(x,'');const h=f.openSync(x,'r');console.log(f.lstatSync(x).dev===f.fstatSync(h).dev);f.closeSync(h)}finally{f.rmSync(d,{recursive:true})}". If it prints false, or finalize fails before any gate with finalize-receipt-changed-during-inspection, that Node build reports a path dev of 0, which Archify's file-identity checks reject. Observed on Node 22.14.0 and 22.15.0; Node 20.19.6 passed all four gates. Run the same commands with a Node 18–20 executable by absolute path instead of switching the global Node version.
  • Browser. browser-check finds Chrome or Chromium only. When neither is installed, set ARCHIFY_CHROME to a Chromium-based browser executable; Microsoft Edge through this variable is untested.
  • Network. finalize and deliver fetch the upstream update manifest. Set ARCHIFY_UPDATE_CHECK_DISABLED=1 when the task must stay offline. Never update this copy in place; re-import it as described in PROVENANCE.md.
  • Evidence hygiene. JSON sidecars (*.finalize.json, *.finalize-summary.json, *.delivery.json, *.delivery-pending.json, *.browser-check.json, *.visual-check.json, *.receipt.json, and any custom --receipt <name>.json path plus its derived <name>-summary.json) and captured command output contain absolute local paths and the OS user name. Put custom receipts inside the .archify/ folder, add that folder and these sidecar patterns to the host repository's ignore file, keep all of them out of commits and shared material, and report the gate summary instead.

Existing candidate handoff

When the user supplies a frozen candidate, run finalize first as one CLI invocation. Its passing receipt completes the automated gates; follow any visual review recommendation under Delivery before claiming visual quality. For repair, follow step 5.

finalize includes a bounded update check in its delivery receipt; see Update awareness.

Fast authoring path

Use this path for ordinary generation. Read branch references only when their stated trigger applies.

  1. Choose architecture, workflow, sequence, dataflow, or lifecycle from the question.
  2. Use the exact schema and example paths in the Type router without listing their directories. Read Authoring defaults and the mode's example in a bounded batch separate from project documents and complete schemas so neither is truncated; recover any missing section before writing. For Architecture, use the matching showcase example. For Sequence, Dataflow, and Lifecycle, also read the mode and common schemas. Read the relevant schema definition before choosing any new field, enum, or constrained text, especially boundary kinds. Examples teach shape, not facts. Use fresh IDs, wording, and layout. Go directly to the candidate without preliminary help, doctor, starter validation, temporary diagrams, or output-path listing. Query brands only for an explicitly requested mark; read Brand marks for an unknown mark with a user-provided URL.
  3. Once the requested scope and, for a real codebase, source evidence are covered, write the complete candidate directly without planning coordinates in prose. Choose Architecture abstraction and connected placement using Authoring defaults before coordinates: show the main user journey and necessary branches, preserve control roles and behavior-changing conditions, and leave enoug
Полный SKILL.md на GitHub

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

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

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

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

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

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

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

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

.gitattributesLICENSEPROVENANCE.mdTHIRD_PARTY_NOTICES.mdassets/JetBrainsMono-OFL.txtassets/template.htmlbin/archify.mjsbin/delivery-update.mjsbin/finalize.mjsbin/open-artifact.mjsbin/preview.mjsbin/recover-output.mjsbin/visual-check.mjsbrand-marks/README.mdbrand-marks/catalog.jsondelta/architecture-delta.mjsexamples/agent-run.lifecycle.jsonexamples/agent-tool-call.workflow.jsonexamples/async-job-roundtrip.sequence.jsonexamples/brand-aware-delivery.architecture.jsonexamples/cache-miss-request.sequence.jsonexamples/checkout-platform.base.architecture.jsonexamples/checkout-platform.head.architecture.jsonexamples/deployment-release.lifecycle.jsonexamples/event-stream.dataflow.jsonexamples/holiday-planning.workflow.jsonexamples/incident-response.workflow.jsonexamples/locales/de.jsonexamples/locales/es.jsonexamples/locales/fr.jsonexamples/locales/fr.partial.jsonexamples/locales/it.jsonexamples/locales/ja.jsonexamples/locales/ko.jsonexamples/locales/pt.jsonexamples/locales/ru.jsonexamples/product-analytics.dataflow.jsonexamples/production-deployment.architecture.jsonexamples/release-delivery.workflow.jsonexamples/web-app.architecture.json

FAQ

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

Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and stateDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, or to convert/beautify Mermaid. Also use for Archify, interactive or animated HTML diagrams, インタラクティブ図, 動く構成図. When an editable .drawio file is required, use the draw.io workflow instead and treat Archify HTML only as a supplement.

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

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

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

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

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

Сравнить archify с