跪拜 Guibai
← All articles
Frontend · Backend · Agent

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

By 也无风雨也雾晴 ·
Read original on juejin.cn ↗ Google Translate ↗ Alt translation

AI-assisted architecture diagrams now come with deterministic validation and offline deliverables, so teams can rely on them in code reviews and static analyses without an internet connection or a vendor account. The built-in diagnosis and PR change highlighting turn a diagramming tool into a code-quality checkpoint, directly addressing the messy reality of large refactors.

Summary

Archify v3.3.2, an Apache-2.0 skill for Claude Code, Cursor, and other coding agents, has crossed 100,000 GitHub stars. It no longer just draws five architecture diagrams from a prompt; it now produces validated, offline single-file HTML artifacts based on typed JSON IR. That IR separates the semantic model (what the agent understands about the system) from the deterministic layout engine, which handles schema validation, auto-layout, orthogonal anti-crossing routing, and browser-based rendering checks. The result is a double-clickable HTML file with no runtime dependencies and a versionable source file.

The new release expands to 10 native graph types, including ERD, class, tree, timeline, and waterfall diagrams, plus a one-page Explainer mode with four layout styles that auto-highlights the corresponding section as you read. Built-in architecture diagnosis covers JS/TS, Python, Java, Go, Rust, C, and C++ (some require local toolchains), producing a single-file workbench with a radial Atlas star chart, rotatable 3D model, and prioritized findings like circular dependencies and coupling issues, each linked to source and a copyable fix task. Story mode exports 1080p 60fps video guides, and the archify-pr skill, now bundled by default, highlights architectural changes in GitHub PRs and GitLab MRs using a "color-is-change" design. Installation has also been simplified to a lightweight package from archify.si, about 83% smaller than a full clone, and the article includes an honest boundary table: Mermaid for small diagrams, Excalidraw for whiteboarding, PlantUML/D2 for CI text, and Eraser.io for cloud collaboration.

Takeaways
— Archify has crossed 100,000 GitHub stars and is at version 3.3.2.
— Agents output typed JSON IR or .archify.md, while a deterministic engine handles schema validation, auto-layout, and orthogonal routing.
— The tool produces a single-file offline HTML artifact and a versionable source file with no cloud dependencies.
— Ten native diagram types are supported: architecture, workflow, sequence, dataflow, lifecycle, ERD, class, tree, timeline, and waterfall.
— The one-page Explainer mode offers four layout styles and auto-highlights the diagram as you read.
— Built-in code analysis covers JS/TS (embedded parser), Python, Java (no JDK needed), Go, Rust, C, and C++ (the last three need local toolchains).
— The analysis workbench includes a radial Atlas star chart, rotatable 3D model, and prioritized static findings with links to source and copyable fix tasks.
— Story mode exports 1080p 60fps WebM/MP4 video with timeline, subtitles, and audio tracks.
— Cross-diagram drilldowns let you jump from an overview node to a sub-diagram HTML and back via a top return button.
— The archify-pr skill is bundled by default and highlights changes in GitHub PRs and GitLab MRs; unchanged elements stay neutral, deleted ones are dashed.
— Installation now uses a lightweight package from archify.si, about 83% smaller than a full repository clone, and the old 'npx skills add' command is deprecated.
— The article provides a boundary table: Mermaid for small diagrams, Excalidraw for real-time whiteboarding, PlantUML/D2 for CI text diffs, Eraser.io for cloud collaboration, and Archify for validated offline deliverables.
Conclusions

Separating semantic modeling from deterministic layout is a practical answer to the flakiness of raw LLM-generated diagrams: the AI decides what's connected, but the engine guarantees it renders correctly.

Offline single-file HTML artifacts remove the need for online diagram services, making Archify viable in air-gapped or self-hosted environments where web tools are blocked.

Bundling code analysis and PR change visualization turns a diagramming skill into a code-review aid, which suggests the next step for AI coding tools is not just generating artifacts but validating and reviewing them.

The honest boundary table is a rare admission that no single tool fits every use case, and it helps developers pick the right tool without hype.

Concepts & terms
Typed JSON IR
An intermediate representation with a defined schema that agents output to describe a diagram's structure and semantics, later processed by a deterministic engine.
Deterministic layout engine
The component that computes node positions, routing, and validation without randomness, ensuring the output is consistent and sane.
One-page Explainer
A format (.archify.md) that structures content as conclusion-first panels with text, tables, diagrams, steps, and validation, with auto-highlighting as you read.
Architecture Diagnosis (Code Analysis)
A built-in static analysis that scans a codebase for circular dependencies, coupling, complexity hotspots, and layering rule violations, producing a prioritized report.
Story mode
A guided tour with a timeline, subtitles, and audio tracks, exportable as a 1080p 60fps video, to walk viewers through a diagram.
Color-is-change
A design principle for change visualization where unchanged elements stay neutral, deleted ones are dashed, and additions get clear badges.
Source: juejin.cn ↗ Google Translate ↗ Backup ↗