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
---
import { version, versioned, jsonScript, gallery, cards } from '../data/site';
import { productChannel } from '../data/product-facts';
import SiteLayout from '../layouts/SiteLayout.astro';
import GalleryCard from '../components/GalleryCard.astro';
import Navigation from '../components/Navigation.astro';
import head from '../data/gallery-head.html?raw';
import css from '../styles/gallery.css?raw';
import pageScript from '../scripts/gallery.js?raw';
const { lang = 'en' } = Astro.props;
---
<SiteLayout page="gallery" lang={lang} head={versioned(head)} css={css}>
<div class="grid-bg" aria-hidden="true"></div>
<Navigation page="gallery" />
<main>
<section class="hero">
<div class="shell hero-grid">
<div>
<div class="lead-label" data-en="Generated showcase / verified artifacts" data-zh="自动生成作品集 / 真实验证成品">Generated showcase / verified artifacts</div>
<h1 data-en="Proof,<br><em>not promises.</em>" data-zh="先看成品,<br><em>再谈能力。</em>">Proof,<br><em>not promises.</em></h1>
<p class="hero-copy" data-en="Every frame below is a live Archify artifact—not a mockup. Each one is regenerated from versioned JSON IR, checked for structural integrity, and linked to the exact source that produced it." data-zh="下面每一帧都是可运行的 Archify 成品,不是效果图。它们全部由版本化 JSON IR 重新生成、经过结构检查,并链接到产生它的精确源数据。">Every frame below is a live Archify artifact—not a mockup. Each one is regenerated from versioned JSON IR, checked for structural integrity, and linked to the exact source that produced it.</p>
<p class="hero-copy" id="gallery-evidence-limit" data-en="The gallery records automated structure and layout checks, not human visual-review results. Open each artifact to assess its meaning and readability." data-zh="作品集记录自动结构与布局检查,不提供人工视觉评审结果。请打开成品,判断内容含义与可读性。">The gallery records automated structure and layout checks, not human visual-review results. Open each artifact to assess its meaning and readability.</p>
</div>
<div class="proof-board" aria-label="Gallery quality summary">
<div class="proof-row"><span class="proof-value">{gallery.entryCount}</span><span class="proof-label" data-en="scenario proofs<br>from real IR" data-zh="个场景成品<br>来自真实 IR">scenario proofs<br>from real IR</span></div>
<div class="proof-row"><span class="proof-value">{gallery.checkCount}</span><span class="proof-label" data-en="structural checks<br>passed" data-zh="项结构检查<br>全部通过">structural checks<br>passed</span></div>
<div class="proof-row"><span class="proof-value proof-status">PASS</span><span class="proof-label" data-en="generated from<br>source of truth" data-zh="从源数据<br>自动生成">generated from<br>source of truth</span></div>
</div>
</div>
</section>
<aside class="agent-guide-link shell" aria-label={lang === 'zh' ? '源码案例' : 'Source-backed case'}>
<a href="cases/mco-runtime.html" data-en="Read a source-backed case: decoding and file ownership in MCO →" data-zh="阅读源码案例:MCO 的解码与文件写入职责 →">Read a source-backed case: decoding and file ownership in MCO →</a>
</aside>
<section class="controls" aria-label="Gallery controls">
<div class="shell controls-inner">
<div class="filter-group" role="group" aria-label="Filter diagrams by type">
<button class="filter-button" type="button" data-filter="all" aria-pressed="true" data-en={`All / ${cards.length}`} data-zh={`全部配方 / ${cards.length}`}>All / {cards.length}</button>
<button class="filter-button" type="button" data-filter="architecture" aria-pressed="false" data-en="Architecture" data-zh="架构图">Architecture</button>
<button class="filter-button" type="button" data-filter="workflow" aria-pressed="false" data-en="Workflow" data-zh="工作流">Workflow</button>
<button class="filter-button" type="button" data-filter="sequence" aria-pressed="false" data-en="Sequence" data-zh="时序图">Sequence</button>
<button class="filter-button" type="button" data-filter="dataflow" aria-pressed="false" data-en="Data flow" data-zh="数据流">Data flow</button>
<button class="filter-button" type="button" data-filter="lifecycle" aria-pressed="false" data-en="Lifecycle" data-zh="生命周期">Lifecycle</button>
<button class="filter-button" type="button" data-filter="erd" aria-pressed="false" data-en="Entity-relationship" data-zh="实体关系图">Entity-relationship</button>
</div>
<div class="controls-actions">
<button class="filter-button" id="preview-theme" type="button">Preview: dark</button>
<div class="controls-note" data-en="Live HTML previews · open any artifact to explore" data-zh="实时 HTML 预览 · 打开任意成品继续探索">Live HTML previews · open any artifact to explore</div>
</div>
</div>
</section>
<section class="gallery-section" id="gallery">
<div class="shell">
<div class="section-intro">
<h2 data-en="Six lenses. Twelve real stories." data-zh="六种视角,十二个真实故事。">Six lenses. Twelve real stories.</h2>
<p data-en="Every scenario has focus, reach, and path exploration, shareable links, dark/light rendering, self-contained export, and a machine-readable quality receipt." data-zh="每个场景都支持聚焦、上下游与路径探索、可分享链接、深浅主题、自包含导出和机器可读质量凭证。">Every scenario has focus, reach, and path exploration, shareable links, dark/light rendering, self-contained export, and a machine-readable quality receipt.</p>
</div>
<div class="gallery-grid" id="gallery-grid">
{cards.map((entry, index) => <GalleryCard entry={entry} index={index} />)}
</div>
<div class="empty-state" id="empty-state" data-en="No proof cards match this filter." data-zh="当前筛选条件下没有成品。">No proof cards match this filter.</div>
<div class="life-section" id="pages">
<div class="section-intro">
<h2 data-en="One-page answers. Same proof." data-zh="一页式解答,同样经过校验。">One-page answers. Same proof.</h2>
<p data-en="Each page passed finalize: its diagrams are validated native artifacts, its repository excerpts are read from a pinned commit, and the Markdown draft sits beside it. Each is shown in a different style; every page offers all four." data-zh="每一页都通过了 finalize:里面的图是经过校验的原生成品,仓库代码从固定的提交读取,Markdown 草稿就放在旁边。四页各用一种样式展示,每页都能切换全部四种。">Each page passed finalize: its diagrams are validated native artifacts, its repository excerpts are read from a pinned commit, and the Markdown draft sits beside it. Each is shown in a different style; every page offers all four.</p>
</div>
<div class="life-grid">
<article class="life-card">
<a class="life-plate page-plate" href="cases/explainer/p99-tail-latency.html" target="_blank" rel="noopener" aria-labelledby="page-q-p99"><img src="assets/explainer/p99-tail-latency.webp" alt="" loading="lazy" decoding="async" width="640" height="882"></a>
<div class="life-meta"><span class="life-lang">中文</span><span class="life-kind" data-en="Clean · light" data-zh="简洁 · 浅色">Clean · light</span></div>
<h3 class="life-q" id="page-q-p99" data-en="Why did P99 jump while the mean stayed flat?" data-zh="P99 暴涨、平均值不动,是什么原因?">Why did P99 jump while the mean stayed flat?</h3>
<div class="life-links"><a class="card-link primary" href="cases/explainer/p99-tail-latency.html" target="_blank" rel="noopener" data-en="Open page" data-zh="打开页面">Open page</a><a class="card-link" href="cases/explainer/p99-tail-latency.archify.md" target="_blank" rel="noopener" data-en="Draft" data-zh="草稿">Draft</a></div>
</article>
<article class="life-card">
<a class="life-plate page-plate" href="cases/explainer/tls-first-visit.html" target="_blank" rel="noopener" aria-labelledby="page-q-tls"><img src="assets/explainer/tls-first-visit.webp" alt="" loading="lazy" decoding="async" width="640" height="1124"></a>
<div class="life-meta"><span class="life-lang">EN</span><span class="life-kind" data-en="Editorial · dark" data-zh="杂志 · 深色">Editorial · dark</span></div>
<h3 class="life-q" id="page-q-tls" data-en="What crosses the wire before the first request?" data-zh="第一次打开 HTTPS 网站,发出请求前发生了什么?">What crosses the wire before the first request?</h3>
<div class="life-links"><a class="card-link primary" href="cases/explainer/tls-first-visit.html" target="_blank" rel="noopener" data-en="Open page" data-zh="打开页面">Open page</a><a class="card-link" href="cases/explainer/tls-first-visit.archify.md" target="_blank" rel="noopener" data-en="Draft" data-zh="草稿">Draft</a></div>
</article>
<article class="life-card">
<a class="life-plate page-plate" href="cases/explainer/finalize-delivery.html" target="_blank" rel="noopener" aria-labelledby="page-q-repo"><img src="assets/explainer/finalize-delivery.webp" alt="" loading="lazy" decoding="async" width="640" height="1152"></a>
<div class="life-meta"><span class="life-lang">中文</span><span class="life-kind" data-en="Product · light" data-zh="产品 · 浅色">Product · light</span></div>
<h3 class="life-q" id="page-q-repo" data-en="How does finalize keep the last good file? Read from the repo." data-zh="读仓库:finalize 失败时怎么保住旧产物?">How does finalize keep the last good file? Read from the repo.</h3>
<div class="life-links"><a class="card-link primary" href="cases/explainer/finalize-delivery.html" target="_blank" rel="noopener" data-en="Open page" data-zh="打开页面">Open page</a><a class="card-link" href="cases/explainer/finalize-delivery.archify.md" target="_blank" rel="noopener" data-en="Draft" data-zh="草稿">Draft</a></div>
</article>
<article class="life-card">
<a class="life-plate page-plate" href="cases/explainer/first-rental.html" target="_blank" rel="noopener" aria-labelledby="page-q-rent"><img src="assets/explainer/first-rental.webp" alt="" loading="lazy" decoding="async" width="640" height="912"></a>
<div class="life-meta"><span class="life-lang">中文</span><span class="life-kind" data-en="Swiss · light" data-zh="网格 · 浅色">Swiss · light</span></div>
<h3 class="life-q" id="page-q-rent" data-en="What should I confirm before signing a lease?" data-zh="第一次租房,签合同前要确认什么?">What should I confirm before signing a lease?</h3>
<div class="life-links"><a class="card-link primary" href="cases/explainer/first-rental.html" target="_blank" rel="noopener" data-en="Open page" data-zh="打开页面">Open page</a><a class="card-link" href="cases/explainer/first-rental.archify.md" target="_blank" rel="noopener" data-en="Draft" data-zh="草稿">Draft</a></div>
</article>
</div>
</div>
<div class="life-section">
<div class="section-intro">
<h2 data-en="Beyond code. Same proof." data-zh="不只是代码,同样经过校验。">Beyond code. Same proof.</h2>
<p data-en="Everyday plans and processes, generated and checked by the same renderers and gates. Numbers are illustrative; the JSON source sits beside each artifact." data-zh="生活里的计划和流程,由同一套渲染器生成、经过同样的校验。数字仅作演示,每个成品旁边都附有 JSON 源。">Everyday plans and processes, generated and checked by the same renderers and gates. Numbers are illustrative; the JSON source sits beside each artifact.</p>
</div>
<div class="life-grid">
<article class="life-card">
<a class="life-plate" href="cases/life/leave-plan.workflow.html?present=1" target="_blank" rel="noopener" aria-labelledby="life-q-leave-plan"><img src="assets/life/leave-plan.workflow.webp" alt="" loading="lazy" decoding="async" width="2160" height="1350"></a>
<div class="life-meta"><span class="life-lang">中文</span><span class="life-kind" data-en="Workflow" data-zh="工作流">Workflow</span></div>
<h3 class="life-q" id="life-q-leave-plan" data-en="How should I spread my leave across the year?" data-zh="一年的假怎么排最划算?">How should I spread my leave across the year?</h3>
<div class="life-links"><a class="card-link primary" href="cases/life/leave-plan.workflow.html?present=1" target="_blank" rel="noopener" data-en="Open artifact" data-zh="打开成品">Open artifact</a><a class="card-link" href="cases/life/leave-plan.workflow.json" target="_blank" rel="noopener">JSON</a><a class="card-link create-link" href="start.html?type=workflow&input=description&source=gallery" data-en="Create this type" data-zh="按此类型开始">Create this type</a></div>
</article>
<article class="life-card">
<a class="life-plate" href="cases/life/job-search.lifecycle.html?present=1" target="_blank" rel="noopener" aria-labelledby="life-q-job-search"><img src="assets/life/job-search.lifecycle.webp" alt="" loading="lazy" decoding="async" width="2160" height="1350"></a>
<div class="life-meta"><span class="life-lang">EN</span><span class="life-kind" data-en="Lifecycle" data-zh="生命周期">Lifecycle</span></div>
<h3 class="life-q" id="life-q-job-search" data-en="Where does each job application stand?" data-zh="每份求职申请走到哪一步了?">Where does each job application stand?</h3>
<div class="life-links"><a class="card-link primary" href="cases/life/job-search.lifecycle.html?present=1" target="_blank" rel="noopener" data-en="Open artifact" data-zh="打开成品">Open artifact</a><a class="card-link" href="cases/life/job-search.lifecycle.json" target="_blank" rel="noopener">JSON</a><a class="card-link create-link" href="start.html?type=lifecycle&input=description&source=gallery" data-en="Create this type" data-zh="按此类型开始">Create this type</a></div>
</article>
<article class="life-card">
<a class="life-plate" href="cases/life/monthly-money.dataflow.html?present=1" target="_blank" rel="noopener" aria-labelledby="life-q-monthly-money"><img src="assets/life/monthly-money.dataflow.webp" alt="" loading="lazy" decoding="async" width="2160" height="1350"></a>
<div class="life-meta"><span class="life-lang">EN</span><span class="life-kind" data-en="Data flow" data-zh="数据流">Data flow</span></div>
<h3 class="life-q" id="life-q-monthly-money" data-en="Where does my paycheck go each month?" data-zh="工资每个月都去哪了?">Where does my paycheck go each month?</h3>
<div class="life-links"><a class="card-link primary" href="cases/life/monthly-money.dataflow.html?present=1" target="_blank" rel="noopener" data-en="Open artifact" data-zh="打开成品">Open artifact</a><a class="card-link" href="cases/life/monthly-money.dataflow.json" target="_blank" rel="noopener">JSON</a><a class="card-link create-link" href="start.html?type=dataflow&input=description&source=gallery" data-en="Create this type" data-zh="按此类型开始">Create this type</a></div>
</article>
<article class="life-card">
<a class="life-plate" href="cases/life/renting.sequence.html?present=1" target="_blank" rel="noopener" aria-labelledby="life-q-renting"><img src="assets/life/renting.sequence.webp" alt="" loading="lazy" decoding="async" width="2160" height="1350"></a>
<div class="life-meta"><span class="life-lang">中文</span><span class="life-kind" data-en="Sequence" data-zh="时序图">Sequence</span></div>
<h3 class="life-q" id="life-q-renting" data-en="Who says what when I rent a flat?" data-zh="租房时,谁跟谁说了什么?">Who says what when I rent a flat?</h3>
<div class="life-links"><a class="card-link primary" href="cases/life/renting.sequence.html?present=1" target="_blank" rel="noopener" data-en="Open artifact" data-zh="打开成品">Open artifact</a><a class="card-link" href="cases/life/renting.sequence.json" target="_blank" rel="noopener">JSON</a><a class="card-link create-link" href="start.html?type=sequence&input=description&source=gallery" data-en="Create this type" data-zh="按此类型开始">Create this type</a></div>
</article>
</div>
</div>
<div class="community-callout">
<div class="community-callout-copy">
<strong class="community-callout-title" data-en="Built something real?" data-zh="做出了真实成品?">Built something real?</strong>
<p data-en="Share the redacted source, verified artifact, validation receipt, and visual-review result. Approved work can join the community Proof Lab with attribution." data-zh="提交脱敏源数据、已验证成品、验证凭证和视觉审查结果。通过审核的作品可署名加入社区 Proof Lab。">Share the redacted source, verified artifact, validation receipt, and visual-review result. Approved work can join the community Proof Lab with attribution.</p>
</div>
<a class="card-link" href="https://github.com/tt-a1i/archify/issues/new?template=showcase.yml" target="_blank" rel="noopener noreferrer" data-en="Share a verified diagram ↗" data-zh="提交已验证成品 ↗">Share a verified diagram ↗</a>
</div>
</div>
</section>
<section class="method">
<div class="shell method-grid">
<div>
<div class="lead-label" data-en="Build receipt" data-zh="生成凭证">Build receipt</div>
<h2 data-en="The gallery cannot drift from the product." data-zh="画廊不会和产品事实分叉。">The gallery cannot drift from the product.</h2>
<div class="pipeline" aria-label="Gallery generation pipeline">
<div class="pipeline-step"><span class="pipeline-num">01</span><span class="pipeline-label" data-en="Read versioned JSON IR" data-zh="读取版本化 JSON IR">Read versioned JSON IR</span><span class="pipeline-state">PASS</span></div>
<div class="pipeline-step"><span class="pipeline-num">02</span><span class="pipeline-label" data-en="Run the typed renderer" data-zh="执行类型化 renderer">Run the typed renderer</span><span class="pipeline-state">PASS</span></div>
<div class="pipeline-step"><span class="pipeline-num">03</span><span class="pipeline-label" data-en="Check HTML and SVG structure" data-zh="检查 HTML 与 SVG 结构">Check HTML and SVG structure</span><span class="pipeline-state">PASS</span></div>
<div class="pipeline-step"><span class="pipeline-num">04</span><span class="pipeline-label" data-en="Publish artifact, source, and digest" data-zh="发布成品、源数据与摘要">Publish artifact, source, and digest</span><span class="pipeline-state">PASS</span></div>
</div>
</div>
<div class="method-code">
<div class="method-code-bar"><span>reproduce locally</span><span>zero runtime deps</span></div>
<pre><span class="accent">$ node scripts/build-gallery.mjs</span>
render workflow ✓
render sequence ✓
render dataflow ✓
render lifecycle ✓
render architecture ✓
render erd ✓
receipt {gallery.checkCount} checks / {gallery.entryCount} artifacts / deterministic hashes</pre>
</div>
</div>
</section>
</main>
<footer>
<div class="shell footer-inner">
<span data-en="Generated from Archify's checked-in examples. No hand-authored capability claims." data-zh="由 Archify 仓库内示例自动生成,不手写可能过期的能力声明。">Generated from Archify's checked-in examples. No hand-authored capability claims.</span>
<span data-en={`Archify v${version} · ${productChannel} · Apache-2.0`} data-zh={`Archify v${version} · ${productChannel === 'development' ? '开发版' : '稳定版'} · Apache-2.0`}>Archify v{version} · {productChannel} · Apache-2.0</span>
</div>
</footer>
<script is:inline id="gallery-manifest" type="application/json" set:html={jsonScript(gallery, true)}></script>
<script is:inline src="assets/site-language.js"></script>
<script is:inline set:html={versioned(pageScript)}></script>
</SiteLayout>