跪拜 Guibai
← Back to the summary

Archify v3.3.2: Offline Architecture Diagnosis, Story Video Export, and PR Change Visualization

Affiliation disclosure: This article is written by a maintainer of the open-source project tt-a1i/archify (Apache-2.0). All features, commands, and online links are verified against the official v3.3.2 release and the website archify.si/zh.

When Archify first gained attention in September 2026, the introduction across the web was almost the same sentence: "An open-source Skill that helps Claude Code / Cursor draw 5 types of architecture diagrams, used as a replacement for Mermaid."

Now the repository has officially surpassed 100,000 GitHub stars and advanced to version v3.3.2. Real production usage and daily workflows have moved far beyond "drawing a few architecture block diagrams." Besides the familiar interactive HTML diagrams, it has evolved into a fully local, account-free, offline-deliverable visualization and code diagnosis toolkit: covering 10 native diagram types, 4 styles of proactive one-page explainers (Explainer), built-in offline architecture diagnosis (Code Analysis) for 7 languages, 1080p 60fps Story walkthrough video export, and default-bundled GitHub PR / GitLab MR change visualization.

This article thoroughly explains the core evolution of v3.3.2, corrects outdated "5 major diagram types" and old installation commands from earlier posts, and gives an honest boundary of when you should not choose Archify.

1. Why abandon letting LLMs write Mermaid directly? Typed JSON IR + deterministic validation

For a small flowchart with 10 nodes or fewer to embed in a README, Mermaid remains the lightest option. But once the node count exceeds 20, letting an LLM directly write Mermaid syntax or raw SVG essentially couples "understanding business semantics" and "computing 2D geometric layout" into one step. The result often has crossed lines, truncated text, and static images that cannot be interactively drilled into.

Archify separates these two concerns completely:

  1. Agent only handles semantic modeling: outputs typed JSON IR (covering 10 native diagram types) or .archify.md (a one-page explainer draft).
  2. The local deterministic engine handles layout and gating: the finalize pipeline uniformly performs schema validation, auto-layout (layout.mode: \"auto\"), orthogonal anti-crossing routing, and for native diagrams runs a real headless browser render check by default (Explainer runs structural and delivery validation by default, optionally adding --browser-check). The final output is a single-file HTML that opens offline with a double-click, plus a versionable source file.

2. From 5 diagram types to 10 native types + 4-style one-page explainers (not limited to code)

Besides the original architecture, workflow, sequence, dataflow, and lifecycle, now it has added erd (entity-relationship), class (class diagram), tree (tree diagram), timeline (timeline), and waterfall (waterfall chart). New architecture diagrams support \"layout\": {\"mode\": \"auto\"} for automatic arrangement, compressing dangling branches and reserving lane corridors for edge labels, while strictly preserving any manually specified node positions and routing.

Public examples of the four newer diagram types are available online (single-file offline HTML, no login):

Archify workflow chain highlight

Checkout request concurrency timing waterfall

When a single diagram can't explain the "why," the .archify.md one-page explainer uses a structure of "conclusion and reasons first + side-by-side panels for text, tables, charts, steps, and validation" — as you read to a step, the corresponding part of the diagram automatically highlights — with 4 built-in layout styles and light/dark themes. Since v3.3, it will proactively generate for complex flows / troubleshooting / solution comparisons (if you want it only on demand, add a line [archify explainer: on-demand] to the global rules file).

And it requires no code repository at all:

Archify Chinese P99 one-page explainer

3. Built-in offline architecture diagnosis (Code Analysis): 7 languages, 3D dependency star chart, and copyable fix tasks

After drawing an architecture diagram of a real codebase, the most common follow-up question is: "Where are the circular dependencies hidden? Which modules have the highest coupling? Where should we start refactoring?"

v3.3 integrates Architecture Diagnosis directly into the core Skill, no extra plugin needed. You can normally ask the Agent to run the diagnosis; if you want to invoke the CLI manually, run it from the installed Skill directory and pass the target repository path:

node <installed-skill-dir>/bin/archify.mjs code-analysis prepare <repo> --out <dir> --locale zh-CN

This produces a single-file offline diagnosis workbench repo.analysis.html:

Boundary note: Diagnosis conclusions come from static analysis of a single workspace or fixed commit, and do not represent production runtime tracing or fault evidence.

Archify offline architecture diagnosis Atlas star chart

Archify architecture diagnosis rotatable 3D model

4. Story mode 1080p 60fps video export + multi-diagram bidirectional drilldown

To address the pain point of large diagrams in asynchronous reviews, technical sharing, or documentation where "readers don't know where to look first":

5. PR / MR change visualization (v3.3.2 bundles archify-pr by default)

In a diff of several hundred lines, the architectural additions, deletions, and coupling changes are extremely hard to see at a glance. v3.3.2 bundles the archify-pr companion Skill into the official default installation. All 10 diagram types support native change annotation, using a restrained "color-is-change" visual design (unchanged nodes and edges stay neutral, deleted elements use dashed lines, and clear badges are added). You can directly attach light/dark dual-theme change diagrams to GitHub PRs or GitLab MRs (default only prompts when there are substantive code changes).

Archify PR architecture change visualization

6. Honest boundary: when should you NOT choose Archify?

Use case Recommended tool Reason
Embedding a small flowchart in a README / documentation Mermaid Native Markdown rendering, zero artifact steps
Real-time multiplayer whiteboard brainstorming Excalidraw (with MCP) Freehand drawing and real-time collaboration are core strengths
Team heavily reliant on text-only CI line diffs or C4 DSL PlantUML / D2 / LikeC4 Mature text modeling and CI pipeline ecosystem
Need cloud account system and multi-user permission workspaces Eraser.io Hosted SaaS collaboration platform; Archify focuses on local zero-account delivery
High-quality interactive HTML for complex systems / life planning, one-page explainers, offline diagnosis, 1080p demos, and PR change diagrams Archify Typed JSON IR + deterministic anti-crossing validation + offline single-file delivery

Validation note: Automated validation guarantees structural correctness and measurable anti-crossing layout, but does not replace human visual review, nor does it vouch for real-world or production runtime business facts. Full tool comparison at archify.si/zh/compare.

7. Latest official installation (replaces old commands)

Correction: The npx skills add tt-a1i/archify -g command circulated in early community posts from September 2026 is outdated. Now you install a lightweight Skill-specific package from https://archify.si (about 83% smaller than a full repo clone) and it includes both archify and archify-pr by default.

Method 1 (recommended, just delegate to the Agent): In Claude Code, Codex, Cursor, OpenCode, or GitHub Copilot, say:

"Please read https://archify.si/llms.txt and help me install Archify"

Method 2 (first inspect the manifest from the terminal and confirm no conflicts in the target directory before installing):

Before running the installation, check whether there are existing archify / archify-pr folders in the target Agent directory. If there are unmanaged custom files, back them up or stop first to avoid overwrite conflicts.

# 1. Read-only list of Skills included in the official package (confirm it is archify and archify-pr)
npx -y skills@latest add https://archify.si --list --full-depth

# 2. Globally install to Claude Code (replace with cursor / codex / opencode / github-copilot; remove --global for project-level install)
npx -y skills@latest add https://archify.si --skill archify --skill archify-pr --agent claude-code --global --copy --yes