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 officialv3.3.2release 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:
- Agent only handles semantic modeling: outputs typed JSON IR (covering 10 native diagram types) or
.archify.md(a one-page explainer draft). - The local deterministic engine handles layout and gating: the
finalizepipeline 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):
- Class diagram: Payment module types and contract relationships
- Tree diagram: Payment platform single-parent capability tree
- Timeline: Multi-lane timeline retrospective of a payment incident
- Waterfall: Checkout request nesting and 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:
- Technical explanations: Why P99 tail latency spikes while the mean stays calm, What happens on the first HTTPS visit (TLS 1.3)
- Non-code daily decisions and community secondary extensions: Guide to avoiding pitfalls when signing a rental contract for your first apartment in a big city, Shanghai four-day CityWalk interactive itinerary extended by community users
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:
- Radial dependency star chart (Atlas, with sector focus) + rotatable 3D model
- Prioritized static findings: circular dependencies, module coupling, complexity hotspots, layering rule violations — each linked to the source location, with a copyable fix task that can be handed back to the Agent to execute
- Language coverage: JS/TS, Python, Java (no JDK required), Go, Rust, C, C++ (Go, Rust, C/C++ require local toolchains; JS/TS dependency parsing is embedded)
- Architecture diagram integration & offline PR commit review (
v3.3.2): pass--ir <architecture.json>to annotate each component in the architecture diagram with issue counts and mark real dependencies that were missed;v3.3.2further supports offline architecture diagnosis review of a fixed PR commit.
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.
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":
- Story tour and video export: Any native diagram can be attached with a Story mode featuring a draggable timeline, subtitles, and synthetic audio track, and exported directly as a 1080p 60fps video (WebM / MP4); you can also use
story validate | svg | stage | videoto orchestrate multiple diagrams into a dual-theme dynamic SVG, an offline.stage.htmlstage page, or a headless 1080p video. - Cross-diagram drilldowns: Through node
hrefordrilldowns, you can drill from an overview diagram into a sub-diagram HTML in the same directory, and usemeta.parentHrefor?from=to automatically provide a top return button.
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).
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 -gcommand circulated in early community posts from September 2026 is outdated. Now you install a lightweight Skill-specific package fromhttps://archify.si(about 83% smaller than a full repo clone) and it includes botharchifyandarchify-prby 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
- Chinese official site and online gallery of all 10 diagram types: https://archify.si/zh/gallery
- Tool comparison and boundary list: https://archify.si/zh/compare
- Complete authoritative documentation (with Chinese summaries): https://archify.si/llms-full.txt
- GitHub open-source repository (Apache-2.0): https://github.com/tt-a1i/archify