New to Claude Skills? Learn how to install them →

tt-a1i on GitHub

Archify

Free

Visualize and validate system architectures with ease.

by tt-a1i11.2k stars on tt-a1i/archify
13 views
Updated Aug 6, 2026
Get this skill

Free · Opens the source repo

What Archify does

Archify is a powerful tool designed for developers and designers who need to create interactive, polished diagrams representing system architectures, workflows, sequences, data flows, and lifecycles. By accepting plain-language requirements or Mermaid syntax, Archify allows users to visualize complex technical concepts in a clear and engaging manner. The output is a self-contained HTML document that includes inline SVG graphics, which can be customized with dark or light themes and even animated for presentations.

The skill operates through a straightforward authoring process that guides users in generating diagrams based on specific schemas. Users can choose from a variety of diagram types including architecture, workflow, sequence, dataflow, or lifecycle. Archify emphasizes validation, ensuring that each diagram is accurate and adheres to quality standards before final delivery. This focus on quality is crucial for professionals who rely on precise representations of their systems for communication and documentation.

Archify is particularly beneficial for teams involved in software development, system design, and project management. It aids in the visualization of API call sequences, data pipelines, and infrastructure layouts, making it easier to understand and communicate complex systems. The ability to export diagrams in multiple formats (PNG, JPEG, WebP, SVG, WebM) adds versatility, allowing users to integrate these visuals into various documentation and presentation materials.

Overall, Archify streamlines the process of creating technical diagrams, making it an essential tool for anyone looking to enhance their documentation and improve stakeholder communication. Its interactive HTML output and validation features ensure that users can produce high-quality diagrams efficiently.

When to use it

Use Archify when you need to visualize system architectures, workflows, or data flows in a clear, interactive format, especially when collaborating with teams or stakeholders.

When not to use it

This tool may not be suitable for simple diagrams or when a quick sketch is needed, as it emphasizes validation and quality over speed.

What you can build with it

Visualizing API Call Sequences

Use Archify to create clear diagrams that depict the flow of API calls in your application, helping teams understand interactions.

Documenting System Architecture

Generate detailed architecture diagrams that illustrate components and services within your system, facilitating better communication among stakeholders.

Mapping Data Pipelines

Create dataflow diagrams that visualize ETL processes and data lineage, ensuring clarity in data governance and management.

How to install Archify

View source

1. Install with the skills CLI

npx skills add tt-a1i/archify/archify --agent claude-code

2. Or install it manually

Download the skill folder and drop it into ~/.claude/skills/ for all projects, or .claude/skills/ to scope it to one repo. Restart Claude Code so it picks up the new skill.

Anthropic's agentic coding CLI, and the reference implementation of Agent Skills. Drop a skill folder into ~/.claude/skills and Claude Code loads it automatically whenever a task matches the skill's description. Claude Code docs

Inside SKILL.md

Written by tt-a1i

Archify

Create a self-contained, interactive HTML diagram from a small typed JSON specification. Static output is the default; enable motion only when the user asks for a demo or presentation.

Fast authoring path

Use this bounded path for ordinary generation. Do not read the optional Viewer Runtime reference unless the user asks about those features.

  1. Choose architecture, workflow, sequence, dataflow, or lifecycle from the question.

  2. Read one matching schema in schemas/, schemas/common.schema.json, and one matching JSON example in examples/. Read only those files. Fresh authorship means new stable IDs, domain wording, and layout; use the example for field shape, not facts.

  3. Artifact first: the next tool action must write the candidate. Write the candidate before inspecting renderer internals. Do not plan exact coordinates in prose. Start with one clear main path, short side branches, sparse labels, and at most 12 primary nodes. Set meta.quality_profile to "showcase" unless the user explicitly requests a dense standard map. Start with automatic routes and labels. Do not add via, channelX, channelY, or labelAt before a diagnostic calls for one; apply at most one diagnosed geometry control per repair.

  4. Validate after every candidate edit and immediately before handoff:

    node bin/archify.mjs validate <type> <candidate.json> --quality showcase --json
    

    A receipt with only 4 artifact checks is basic validation, never showcase acceptance. A showcase pass must report all 9 artifact checks with 0 composition errors and 0 warnings. If the candidate omits or misspells the exact meta.quality_profile field, fix it before geometry. A passing final validation freezes the candidate: never edit it afterward.

  5. For a delivered HTML, deliver is the final acceptance command:

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

    A non-zero exit can never be described as success. If validation fails, change only the diagnosed subject, verify evidence, choose from supportedFixes, and rerun. Continue focused correction while the objective error count reaches a new minimum. If two consecutive rounds do not improve that best count, stop and report the unresolved diagnostics truthfully.

Do not read renderers/shared/geometry.mjs, renderer source, validator source, tests, or benchmarks before the first candidate. Inspect implementation only for an unsupported internal diagnostic or after two focused repairs fail.

Lifecycle note: phase columns 0..4 occupy the main rail; event/outcome columns 0..2 align beneath later phases. A recoverable state uses type: "failure" plus a real transition back to the active state.

Type router

TypeUse for
architectureComponents, services, cloud/security boundaries, infrastructure
workflowProcesses, approval gates, tool calls, runbooks, CI/CD
sequenceAPI call chains, request lifecycles, async traces, returns
dataflowPipelines, ETL/ELT, lineage, governance, consumers
lifecycleState/status transitions, retries, waiting and terminal states

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 / graphworkflow, or architecture for a component map.
  • sequenceDiagramsequence; participants become semantic participants and arrows become messages.
  • stateDiagramlifecycle; states and transitions retain meaning, not Mermaid style.

Authoring invariants

  • One obvious main path; side branches leave the nearest main-path node. Remove low-value edges before adding routing controls.
  • Omit meta.legend for the truthful auto default. When needed, use only mode: auto|all|hidden and renderer-supported entries.<kind>.label|visible; labels never change semantics.
  • Component types are frontend, backend, database, cloud, security, messagebus, and external; variants are default, emphasis, security, and dashed.
  • Spacing means clear gap, not center distance. For a relationship label, clear gap must exceed its measured mask width; otherwise omit the label or move it deliberately.
  • Automatic routes own their endpoint sides. A side is a direction contract: the first and final segment must leave/enter perpendicular to that side.
  • Automatic Port Spread is a default renderer behavior for architecture, workflow, data-flow, and lifecycle. It skips single relationships and explicit via, channelX, channelY, labelAt, or non-auto routes. Near parallel ports use an outside bridge so automatic routing cannot create a sub-8px segment or sub-16px interior turn.
  • Never accept an edge crossing an unrelated opaque node, an ambiguous shared corridor, or a relationship label masking another route.

Read references/authoring-contract.md only when you need field enums, spacing math, geometry repair rules, repository evidence, or mode-specific placement.

Delivery

Use validate during repair and deliver once for final acceptance. Delivery freezes the exact specification bytes into a private same-directory snapshot, renders and checks that snapshot, atomically commits the HTML, and reports SHA-256 plus byte counts for both specification and artifact.

Add --open only when the user wants an immediate local preview. For an active desktop authoring loop, the optional command is:

node bin/archify.mjs preview <type> <input>.json <output>.html --quality showcase

Never start preview by default. Read references/delivery-contract.md when using preview, repository evidence, export receipts, visual review, or post-commit opening.

Optional viewer capabilities

Generated HTML already contains theme switching, pan/zoom, search, focus, relationship tracing, semantic views, presentation, and truthful exports. These are reader capabilities, not extra authoring work. meta.animation: "trace" is opt-in; meta.views is optional and should contain at most five curated chapters.

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

Setup and fallback

No install is required inside the skill package. 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 path, diagram type, validation summary, specification/artifact receipt, and truthful visual-review status. Do not claim success for a non-zero command or claim visual inspection you did not perform.

Frequently asked questions about Archify

Similar skills