本文へ移動
cccskills
無料GitHub で公開

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.

インストール方法を見る

含まれるファイル(107)

  • SKILL.md12.9 KB
  • .gitattributes20 B
  • assets/JetBrainsMono-OFL.txt4.3 KB
  • assets/template.html710.9 KB
  • bin/archify.mjs260.8 KB
  • bin/delivery-update.mjs3.6 KB
  • bin/finalize.mjs39.4 KB
  • bin/open-artifact.mjs4.0 KB
  • bin/preview.mjs35.7 KB
  • bin/recover-output.mjs1.3 KB
  • bin/visual-check.mjs110.3 KB
  • brand-marks/catalog.json13.8 KB
  • brand-marks/README.md1.4 KB
  • delta/architecture-delta.mjs76.7 KB
  • examples/agent-run.lifecycle.json3.3 KB
  • examples/agent-tool-call.workflow.json4.8 KB
  • examples/async-job-roundtrip.sequence.json3.7 KB
  • examples/brand-aware-delivery.architecture.json2.7 KB
  • examples/cache-miss-request.sequence.json3.7 KB
  • examples/checkout-platform.base.architecture.json2.2 KB
  • examples/checkout-platform.head.architecture.json2.4 KB
  • examples/deployment-release.lifecycle.json3.4 KB
  • examples/event-stream.dataflow.json4.7 KB
  • examples/holiday-planning.workflow.json2.9 KB
  • examples/incident-response.workflow.json4.6 KB
  • examples/locales/de.json25.9 KB
  • examples/locales/es.json26.6 KB
  • examples/locales/fr.json26.7 KB
  • examples/locales/fr.partial.json959 B
  • examples/locales/it.json26.3 KB
  • examples/locales/ja.json29.8 KB
  • examples/locales/ko.json27.9 KB
  • examples/locales/pt.json25.9 KB
  • examples/locales/ru.json33.7 KB
  • examples/product-analytics.dataflow.json4.9 KB
  • examples/production-deployment.architecture.json4.6 KB
  • examples/release-delivery.workflow.json4.4 KB
  • examples/web-app.architecture.json3.1 KB
  • LICENSE1.1 KB
  • migrations/workflow-v2.mjs9.0 KB
  • package-lock.json4.8 KB
  • package.json1.6 KB
  • PROVENANCE.md1.9 KB
  • recipes/scenarios.mjs37.3 KB
  • references/architecture-layout-repair.md4.3 KB
  • references/authoring-contract.md26.5 KB
  • references/authoring-defaults.md7.6 KB
  • references/brand-marks.md3.3 KB
  • references/delivery-contract.md41.4 KB
  • references/repository-authoring.md6.4 KB
  • references/update-awareness.md1.3 KB
  • references/viewer-runtime.md3.2 KB
  • renderers/architecture/grid.mjs2.0 KB
  • renderers/architecture/labels.mjs10.4 KB
  • renderers/architecture/render-architecture.mjs46.6 KB
  • renderers/architecture/routing.mjs53.5 KB
  • renderers/dataflow/README.md4.1 KB
  • renderers/dataflow/render-dataflow.mjs24.0 KB
  • renderers/lifecycle/grid-routing.mjs20.0 KB
  • renderers/lifecycle/README.md8.6 KB
  • renderers/lifecycle/render-lifecycle.mjs42.1 KB
  • renderers/sequence/README.md5.8 KB
  • renderers/sequence/render-sequence.mjs24.9 KB
  • renderers/shared/atomic-output.mjs68.7 KB
  • renderers/shared/brand-marks.mjs26.6 KB
  • renderers/shared/cli.mjs20.4 KB
  • renderers/shared/desktop-readability.mjs6.7 KB
  • renderers/shared/diagnostics.mjs6.7 KB
  • renderers/shared/engineering-profiles.mjs6.8 KB
  • renderers/shared/generated-brand-marks.mjs159.8 KB
  • renderers/shared/generated-validators.mjs518.1 KB
  • renderers/shared/geometry.mjs81.6 KB
  • renderers/shared/i18n.mjs42.2 KB
  • renderers/shared/layout-report.mjs1.1 KB
  • renderers/shared/legend.mjs8.5 KB
  • renderers/shared/output-path.mjs18.6 KB
  • renderers/shared/path-semantics.mjs31.6 KB
  • renderers/shared/portable-path.mjs12.2 KB
  • renderers/shared/repository-evidence.mjs17.1 KB
  • renderers/shared/repository-location.mjs3.5 KB
  • renderers/shared/route-quality.mjs23.0 KB
  • renderers/shared/sidecar-path.mjs1.2 KB
  • renderers/shared/spatial-grid.mjs2.4 KB
  • renderers/shared/text-fit.mjs5.1 KB
  • renderers/shared/utils.mjs12.3 KB
  • renderers/shared/validator.mjs3.4 KB
  • renderers/workflow/README.md14.9 KB
  • renderers/workflow/render-workflow.mjs1.2 KB
  • renderers/workflow/workflow-compiler.mjs191.1 KB
  • renderers/workflow/workflow-migration-geometry.mjs5.2 KB
  • schemas/architecture.schema.json5.9 KB
  • schemas/common.schema.json5.6 KB
  • schemas/dataflow.schema.json6.2 KB
  • schemas/lifecycle.schema.json6.9 KB
  • schemas/README.md14.4 KB
  • schemas/sequence.schema.json5.9 KB
  • schemas/workflow.schema.json9.9 KB
  • scripts/check-render-output.mjs60.2 KB
  • scripts/check-update.mjs57.6 KB
  • scripts/delivery-update-child.mjs1.1 KB
  • scripts/generate-brand-marks.mjs5.0 KB
  • scripts/generate-validators.mjs3.6 KB
  • scripts/render-examples.mjs1.2 KB
  • scripts/update-contract.mjs6.6 KB
  • skill-license.json1.1 KB
  • skill-release.json260 B
  • THIRD_PARTY_NOTICES.md5.1 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

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 enough room for actual relationship labels. No node, relationship, source, view, card, or boundary count is a target or ceiling. Use automatic routes first; add explicit routing only for necessary branch, return, supplied geometry, or measured repair. Set meta.quality_profile to "showcase" unless the user requests dense standard.

  4. Once the complete first candidate is written, run finalize directly. Its first gate is showcase validation; successful first drafts need no separate pre-validation. Keep the candidate unchanged while the command runs:

    node bin/archify.mjs finalize <type> <candidate.json> <output.html> --quality showcase --json
    

    For a repository-backed candidate, include evidence on the first draft and use the complete first command: node bin/archify.mjs finalize <type> <candidate.json> <output.html> --repo-root <repo-root> --quality showcase --json.

    A passing receipt proves the included validate, deliver, strict check, and real-browser browser-check gates passed. Use its compact summary; run standalone commands only for a separate request or focused failure diagnosis.

  5. A non-zero exit is never success. Read compact stdout or evidence.summaryReceipt, then repair the failed gate, including its repair limit. Preserve requested meaning and source evidence. For several tangled Architecture routes, read Architecture layout repair; for measured field or geometry failures, read Authoring contract. Edit the connected neighborhood and rerun the complete finalize command from step 4.

Update awareness

finalize and standalone deliver include update in their receipts. Do not run a separate check for the same delivery. If update.noticeRequired is true, read references/update-awareness.md and keep one update line in your final response to the user, even after a quality gate fails. For a task with several diagrams, mention the update once in the final response. Snooze or ignore a reminder only when the user explicitly asks; never install or update on your own initiative.

Before the first candidate, use the authoring references and relevant repository source, not Archify implementation or tests. Inspect Archify implementation if diagnostics remain unactionable after focused repairs.

Type router

TypeUse forSchemaExample
architectureComponents, services, cloud/security boundaries, infrastructureschemas/architecture.schema.jsonSystem descriptions, services, libraries, and CLI repos: examples/web-app.architecture.json; deployment repos: examples/production-deployment.architecture.json
workflowProcesses, approval gates, tool calls, runbooks, CI/CDschemas/workflow.schema.jsonexamples/agent-tool-call.workflow.json
sequenceAPI call chains, request lifecycles, async traces, returnsschemas/sequence.schema.jsonexamples/cache-miss-request.sequence.json
dataflowPipelines, ETL/ELT, lineage, governance, consumersschemas/dataflow.schema.jsonexamples/product-analytics.dataflow.json
lifecycleState/status transitions, retries, waiting and terminal statesschemas/lifecycle.schema.jsonexamples/deployment-release.lifecycle.json

When ambiguous, run node bin/archify.mjs guide "<scenario>" --json. Scenario proof examples are structural references, not facts to copy.

Mermaid input

Read Mermaid for topology and meaning, then author fresh Archify JSON; do not mechanically render Mermaid styling.

  • flowchart / graph → workflow, or architecture for a component map.
  • sequenceDiagram → sequence; participants become semantic participants and arrows become messages.
  • stateDiagram → lifecycle; states and transitions retain meaning, not Mermaid style.

Delivery

Use the finalize command above for the first candidate and after a repair.

finalize stops at the first non-passing gate. Its compact stdout and <output-stem>.finalize-summary.json are ordinary evidence. A passing run creates no screenshots and reports visualReview: "not-requested".

When a passing Architecture receipt reports visualReviewRecommendation.signals.resolvedCrossovers, copy the candidate aside and apply the hints in one edit that changes only node positions and sizes: every node, relationship (including its from and to), label, and source stays as it was. Rerun the complete finalize once with --out-dir <folder>/review-2, because the previous HTML already owns its browser evidence. If that run fails or reports more crossings, restore the copy and finalize it with --out-dir <folder>/review-3. Do not start a second placement round. Hints about extra bends alone are optional.

When layoutReviewRecommendation.action is inspect-sequence-width, follow Sequence width review before handing off a newly authored Sequence.

Perceptual review is optional for ordinary generation, including a newly positioned Architecture. Use Optional capture evidence, with --out-dir <folder>/visual-check, when the user requests visual review, during development audits, or for a concrete route/browser concern. visualReviewRecommendation is advisory. Inspect captures before claiming visual quality; otherwise report automated checks only.

Read Delivery contract for failed gates, standalone commands, provenance/recovery, repeated delivery, exports, or opening. Recovery follows deliver → strict provenance check → browser-check; captures require strict provenance.

For workflow viewport overflow, read Workflow viewport repair before the next layout edit.

Report artifact checks, browser evidence, captures, and actual perceptual review as distinct results. For an explicitly requested immediate preview or active desktop loop, see Optional opening.

Optional viewer capabilities

meta.animation: "trace" is opt-in.

Read references/viewer-runtime.md only when the user explicitly asks for Share Cards, Route/Reach cards, motion, deep links, presentation, search/focus, or another Viewer Runtime feature.

Setup and fallback

No install is required inside the skill package. For setup diagnosis, verify with:

node bin/archify.mjs doctor
node bin/archify.mjs demo <output-directory>

When shell access is unavailable, hand-place architecture SVG into assets/template.html, use CSS semantic classes rather than inline colors, and follow the visual review contract in references/delivery-contract.md.

Output

Return the checked HTML as an absolute path, diagram type, validation summary, specification/artifact receipt, browser-evidence status, and truthful visual-review status. Do not claim success for a non-zero command or claim visual inspection you did not perform.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

agentic-workflow-guide

無料日本語概要

Design, review, and debug agent workflows, and decide when a request should use a prompt, instruction, skill, agent, or hook before escalating to multi-agent design. Use for .agent.md / .instructions.md / .prompt.md / AGENTS.md work, workflow architecture, orchestration planning, scheduled automation model allocation, or when agent workflows may be overkill. Triggers on 'agent workflow', 'create agent', 'automation models', 'ワークフロー設計', 'orchestrator'.

aktsmm/Agent-Skills262026年10月10日 更新

Design, run, and review fair performance, token, and cost comparisons across GitHub Copilot CLI, Codex CLI, and direct model APIs. Use for AI CLI benchmark, Copilot vs Codex, prompt-cache diagnosis, cache read/write analysis, fresh-process latency measurement, token-cost comparison, or when a benchmark must separate provider caching from local CLI caches.

日本語の概要は準備中です。原文の説明を表示しています。

aktsmm/Agent-Skills262026年10月10日 更新

Analyze historical VS Code GitHub Copilot Chat sessions by model, reasoning effort, AIU, time, reliability, workflow behavior, and external quality evidence, or safely prune workspace-scoped local chat history by age. Use for session analysis, repeated-task retrospectives, model evaluation, cost/performance analysis, and old session cleanup.

日本語の概要は準備中です。原文の説明を表示しています。

aktsmm/Agent-Skills262026年10月10日 更新

animated-infographic

無料日本語概要

Create reproducible animated infographic GIFs from structured data or measured results, with audience-language labels, explicit timing semantics, representative-frame QA, and a static fallback. Use when asked for GIF生成, animated infographic, 動的インフォグラフィック, 結果が流れる図, animated benchmark, or a blog/SNS animation whose displayed metrics must remain traceable to source data.

aktsmm/Agent-Skills262026年10月10日 更新

ascii-banner

無料日本語概要

Generate ASCII-art text banners for terminals, READMEs, and CLI startup messages. Use when a user asks for an ASCII banner, text art, バナー, アスキーアート, or a decorative header for a script/README.

aktsmm/Agent-Skills262026年10月10日 更新

azure-advisor-report

無料日本語概要

Generate Azure environment monthly report (Markdown + PowerPoint) from Azure Advisor and Cost Management API. Use when creating Advisor recommendations report, cost trend analysis, or security/reliability assessment for a customer subscription. Triggers on 'Advisor report', 'Azure monthly report', 'subscription report', 'Azure環境レポート', '簡易月次レポート'.

aktsmm/Agent-Skills262026年10月10日 更新

aktsmm のスキルをすべて見る

このスキルの問題を報告する