Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
HTML agent-skillsai-agentsarchitecture-diagramclaude-codeclaude-skillscodexcoding-agentsdeepseek-harnessdeveloper-toolsdiagramsdiagrams-as-codedsh-pluginflowchartllmmermaidopencodesequence-diagramsoftware-architecturesystem-designvisualization
Add sequence diagram README preview
tt-a1i97cc33f7cf20
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex ad922de6..dbf70b73 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -11,6 +11,7 @@ All notable changes are documented here. Format loosely follows [Keep a Changelo- **Sequence diagram mode.** Added a renderer-backed sequence diagram type for API call chains, request lifecycles, cache fallback paths, authentication checks, async trace emission, and service interactions over time.- **Sequence JSON Schema.** Added `archify/schemas/sequence.schema.json` to document and validate the sequence IR shape.- **Sequence example.** Added a rendered cache-miss request sequence example at `examples/sequence-cache-miss-request.html`.+- **Sequence README preview.** Added a rendered sequence screenshot to the README preview flow.### Changed- **Template responsive polish.** The shared HTML template now handles narrow viewports better: the toolbar no longer overlaps the title, diagrams can scale down to the available width, and cards stack cleanly on mobile.diff --git a/README.md b/README.mdindex 067aa655..32525934 100644--- a/README.md+++ b/README.md@@ -64,6 +64,8 @@ Sequence 用来解释更细的交互顺序,比如:示例:[`examples/sequence-cache-miss-request.html`](examples/sequence-cache-miss-request.html)。++## 版本演进Archify 基于 [Cocoon-AI/architecture-diagram-generator](https://github.com/Cocoon-AI/architecture-diagram-generator) v1.0(只有深色主题的 HTML 输出)fork 重写。**2.0** 把模板重构成 CSS 变量驱动的可主题化系统,加入客户端导出流水线。**2.1** 加入剪贴板复制 + 键盘导航。**2.2** 加入打印样式 + 本地字体回退。**2.3** 修了一个存在已久的位图升采样 bug,所有光栅导出改为 4× 原生渲染(同时移除了 v2.1 引入的 1×/2×/4× 选择器 —— 那个选择器只是在诱导用户选出更糊的图)。**2.4** SVG 导出升级成双主题自持版 —— 同一个 `.svg` 文件贴在 GitHub README 里,读者切深浅色图会自己跟着切。diff --git a/README_EN.md b/README_EN.mdindex dc1a297b..0eef3a6b 100644--- a/README_EN.md+++ b/README_EN.md@@ -63,6 +63,8 @@ User opens a page, the frontend calls the API, the API verifies JWT, reads RedisOpen the example here: [`examples/sequence-cache-miss-request.html`](examples/sequence-cache-miss-request.html).++## What's newArchify is based on [Cocoon-AI/architecture-diagram-generator](https://github.com/Cocoon-AI/architecture-diagram-generator) v1.0 (dark-only, HTML output). **2.0** rewrote the template around a themeable CSS-variable system and added a client-side export pipeline. **2.1** added copy-to-clipboard + keyboard nav. **2.2** added a print stylesheet + local-font fallback. **2.3** fixed a long-standing upsampling bug and made every raster export genuinely sharp at 4× source resolution (the 1× / 2× / 4× selector introduced in 2.1 was removed at the same time — it only encouraged picking a soft-looking scale). **2.4** upgraded the SVG export to a dual-theme self-contained file — drop the same `.svg` into a GitHub README and it follows the reader's dark/light preference automatically.diff --git a/examples/images/archify-sequence.png b/examples/images/archify-sequence.pngnew file mode 100644index 00000000..f1d8ce69Binary files /dev/null and b/examples/images/archify-sequence.png differ