Skip to content

Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.

Merge main website and everyday-use updates into dev

tt-a1iab7d1a951584
diff --cc archify.zip
index 69c01198,fbd49493..3e95e7d1
Binary files differ
diff --cc archify/SKILL.md
index 4e9b8be2,4ab91141..1440502f
--- a/archify/SKILL.md
+++ b/archify/SKILL.md
@@@ -1,6 -1,6 +1,6 @@@
---
name: archify
- description: Create polished, validated architecture, workflow, sequence, data-flow, lifecycle/state, entity-relationship, class/interface, hierarchy/tree, event timeline, and execution waterfall diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, stateDiagram, erDiagram, and classDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, database schemas, ER/entity-relationship models, class/interface models, module or capability trees, incident/release timelines, request or agent-run span waterfalls, or to convert/beautify Mermaid.
-description: Create polished, validated architecture, workflow, sequence, data-flow, and lifecycle/state diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional trace motion, and PNG/JPEG/WebP/SVG/WebM export. Accept plain-language requirements or pasted Mermaid flowchart, sequenceDiagram, and stateDiagram input; inspect repository evidence when the diagram must reflect real code. Use when the user asks to visualize system architecture, infrastructure, cloud/security/network topology, technical workflows, API call sequences, request lifecycles, data pipelines, ETL/ELT, data lineage, state machines, or to convert/beautify Mermaid. Also use for everyday subjects with steps, parts, relationships, or states: a leave or travel plan, an application or approval process, a back-and-forth such as renting, where money or documents go, or where an application or order stands. Not for numeric charts or dashboards.
++description: Create validated architecture, workflow, sequence, data-flow, lifecycle/state, entity-relationship, class/interface, tree, timeline, and execution waterfall diagrams as explorable standalone HTML with inline SVG, dark/light themes, optional motion, and image/SVG/WebM export. Accept plain-language requirements or Mermaid; inspect repository evidence for code-backed diagrams. Use when visualizing infrastructure, cloud/security networks, API calls, data pipelines, ETL/ELT, state machines, database schemas, class contracts, module hierarchies, incident/release histories, or request and agent-run timings. Also use for everyday subjects with steps, parts, relationships, or states: leave and travel plans, applications and approvals, renting conversations, money or document flows, and order progress. Not for numeric charts or dashboards.
license: MIT
metadata:
version: "3.0"
@@@ -52,16 -51,11 +52,16 @@@ Before the first candidate, use the aut
| Type | Use for | Schema | Example |
|---|---|---|---|
- | `architecture` | Components, services, cloud/security boundaries, infrastructure | `schemas/architecture.schema.json` | System descriptions, services, libraries, and CLI repos: `examples/web-app.architecture.json`; deployment repos: `examples/production-deployment.architecture.json` |
- | `workflow` | Processes, approval gates, tool calls, runbooks, CI/CD | `schemas/workflow.schema.json` | `examples/agent-tool-call.workflow.json` |
- | `sequence` | API call chains, request lifecycles, async traces, returns | `schemas/sequence.schema.json` | `examples/cache-miss-request.sequence.json` |
- | `dataflow` | Pipelines, ETL/ELT, lineage, governance, consumers | `schemas/dataflow.schema.json` | `examples/product-analytics.dataflow.json` |
- | `lifecycle` | State/status transitions, retries, waiting and terminal states | `schemas/lifecycle.schema.json` | `examples/deployment-release.lifecycle.json` |
+ | `architecture` | Components, services, cloud/security boundaries, infrastructure; what something everyday is made of | `schemas/architecture.schema.json` | System descriptions, services, libraries, and CLI repos: `examples/web-app.architecture.json`; deployment repos: `examples/production-deployment.architecture.json` |
+ | `workflow` | Processes, approval gates, tool calls, runbooks, CI/CD; plans and step-by-step life processes | `schemas/workflow.schema.json` | `examples/agent-tool-call.workflow.json` |
+ | `sequence` | API call chains, request lifecycles, async traces, returns; back-and-forth between people | `schemas/sequence.schema.json` | `examples/cache-miss-request.sequence.json` |
+ | `dataflow` | Pipelines, ETL/ELT, lineage, governance, consumers; where money or documents go | `schemas/dataflow.schema.json` | `examples/product-analytics.dataflow.json` |
+ | `lifecycle` | State/status transitions, retries, waiting and terminal states; where an application or order stands | `schemas/lifecycle.schema.json` | `examples/deployment-release.lifecycle.json` |
+| `erd` | Tables/entities, attributes, primary/foreign/unique keys, cardinality between them | `schemas/erd.schema.json` | `examples/orders.erd.json` |
+| `tree` | Single-parent containment: repository/module trees, capability or feature breakdowns, org-style decomposition | `schemas/tree.schema.json` | `examples/payment-platform.tree.json` |
+| `class` | Classes, interfaces, selected members, and dependency/association/inheritance/realization/composition between types | `schemas/class.schema.json` | `examples/payments.class.json` |
+| `timeline` | When things happened: incident reviews, release histories, timestamped events on a proportional clock with source lanes | `schemas/timeline.schema.json` | `examples/payment-incident.timeline.json` |
+| `waterfall` | Where the time went: span durations, overlap, and nesting of one request or agent run on a common time axis | `schemas/waterfall.schema.json` | `examples/checkout-request.waterfall.json` |
When ambiguous, run `node bin/archify.mjs guide "<scenario>" --json`. Scenario proof examples are structural references, not facts to copy.
diff --cc docs/guide.html
index 1bdcbff3,fc0cd6b7..f6081e8d
--- a/docs/guide.html
+++ b/docs/guide.html
@@@ -253,13 -256,13 +256,13 @@@
var lastRecipe = null;
var copy = {
en: {
- navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v3.0.2-dev.1',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
- navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navCommunity:'Community',navInstall:'Install Skill',versionLabel:'Scenario guide / stable / v3.0.1',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
- metricRecipes:'real-world<br>recipes',metricModes:'typed diagram<br>modes',metricRuntime:'runtime<br>dependencies',chooserTitle:'What must the diagram explain?',chooserBody:'Write a situation, not a diagram type. Specific system facts produce a stronger recommendation.',placeholder:'Example: Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.',recommend:'Recommend a recipe →',clear:'Clear',libraryEyebrow:'Recipe library',libraryTitle:'12 small, opinionated starting points.',libraryBody:'Each recipe answers one technical question. That boundary keeps the result legible, reviewable, and honest about missing evidence.',footerLeft:'Generated from the same recipe source as the Archify CLI.',all:'All recipes',recommended:'Recommended recipe',use:'Use when',avoid:'Avoid when',must:'Evidence to include',presentation:'Presentation',prompt:'Copy-ready prompt',copyPrompt:'Copy prompt',copied:'Copied',alternatives:'Other possible fits:',confidence:'confidence',open:'Open recipe',proofReady:'Verified proof',proofLink:'Open verified example ↗',
++ navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navCommunity:'Community',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v3.0.2-dev.1',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
+ metricRecipes:'real-world<br>recipes',metricModes:'typed diagram<br>modes',metricRuntime:'runtime<br>dependencies',chooserTitle:'What must the diagram explain?',chooserBody:'Write a situation, not a diagram type. Specific system facts produce a stronger recommendation.',placeholder:'Example: Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.',recommend:'Recommend a recipe →',clear:'Clear',libraryEyebrow:'Recipe library',libraryTitle:'13 small, opinionated starting points.',libraryBody:'Each recipe answers one technical question. That boundary keeps the result legible, reviewable, and honest about missing evidence.',footerLeft:'Generated from the same recipe source as the Archify CLI.',all:'All recipes',recommended:'Recommended recipe',use:'Use when',avoid:'Avoid when',must:'Evidence to include',presentation:'Presentation',prompt:'Copy-ready prompt',copyPrompt:'Copy prompt',copied:'Copied',alternatives:'Other possible fits:',confidence:'confidence',open:'Open recipe',proofReady:'Verified proof',proofLink:'Open verified example ↗',
samples:[['API + cache miss','Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.'],['Kafka + DLQ','Map Kafka topics, ordered processors, consumer groups, replay, state stores, and the dead-letter queue.'],['Incident response','Show how responders detect, triage, mitigate, escalate, communicate, and verify recovery.']]
},
zh: {
- navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v3.0.2-dev.1',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
- navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navCommunity:'社区包',navInstall:'安装技能',versionLabel:'场景指南 / 稳定版 / v3.0.1',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
- metricRecipes:'个真实场景<br>配方',metricModes:'种类型化<br>图表模式',metricRuntime:'个运行时<br>依赖',chooserTitle:'这张图必须解释什么?',chooserBody:'写清场景,不要只写图表类型。系统事实越具体,推荐越可靠。',placeholder:'例如:展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。',recommend:'推荐配方 →',clear:'清空',libraryEyebrow:'配方库',libraryTitle:'12 个小而专的起点。',libraryBody:'每个配方只回答一个技术问题。清晰的边界让图更易读、可评审,也不会掩盖证据缺口。',footerLeft:'网页与 Archify CLI 使用同一份配方数据生成。',all:'全部配方',recommended:'推荐配方',use:'适合',avoid:'不要这样用',must:'必须包含的证据',presentation:'表现建议',prompt:'可直接复制的提示词',copyPrompt:'复制提示词',copied:'已复制',alternatives:'其他可能:',confidence:'置信度',open:'打开配方',proofReady:'已验证成品',proofLink:'打开验证成品 ↗',
++ navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navCommunity:'社区包',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v3.0.2-dev.1',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
+ metricRecipes:'个真实场景<br>配方',metricModes:'种类型化<br>图表模式',metricRuntime:'个运行时<br>依赖',chooserTitle:'这张图必须解释什么?',chooserBody:'写清场景,不要只写图表类型。系统事实越具体,推荐越可靠。',placeholder:'例如:展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。',recommend:'推荐配方 →',clear:'清空',libraryEyebrow:'配方库',libraryTitle:'13 个小而专的起点。',libraryBody:'每个配方只回答一个技术问题。清晰的边界让图更易读、可评审,也不会掩盖证据缺口。',footerLeft:'网页与 Archify CLI 使用同一份配方数据生成。',all:'全部配方',recommended:'推荐配方',use:'适合',avoid:'不要这样用',must:'必须包含的证据',presentation:'表现建议',prompt:'可直接复制的提示词',copyPrompt:'复制提示词',copied:'已复制',alternatives:'其他可能:',confidence:'置信度',open:'打开配方',proofReady:'已验证成品',proofLink:'打开验证成品 ↗',
samples:[['API + 缓存未命中','展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。'],['Kafka + 死信','梳理 Kafka Topic、有序处理器、消费者组、重放、状态存储和死信队列。'],['事故处置','展示响应者如何发现、分诊、缓解、升级、沟通并验证恢复。']]
}
};
diff --cc docs/index.html
index 23ae787c,f82824de..e9c48725
--- a/docs/index.html
+++ b/docs/index.html
@@@ -842,8 -846,8 +846,8 @@@
══════════════════════════════════════ */
const LANGS = {
en: {
- 'nav-guide':'Guide','nav-gallery':'Proof Lab','nav-start':'Start','nav-install':'Install Skill',
+ 'nav-guide':'Guide','nav-gallery':'Proof Lab','nav-start':'Start','nav-community':'Community','nav-install':'Install Skill',
- 'hero-badge':'Agent Skill &nbsp;·&nbsp; stable &nbsp;·&nbsp; v3.0.1',
+ 'hero-badge':'Agent Skill &nbsp;·&nbsp; development &nbsp;·&nbsp; v3.0.2-dev.1',
'hero-h1':'From plain English<br>to architecture <em>you can trust.</em>',
'hero-sub':'Describe your system in chat. Archify generates a polished, explorable HTML diagram — with progressive MAP → READ → FULL detail, a semantic camera, path-aware stories, motion, and ultra-crisp export built in.',
'hero-cta':'Choose the right diagram','hero-gallery':'Explore proof gallery',
@@@ -902,8 -906,8 +906,8 @@@
'footer-changelog':'Changelog','footer-license':'License'
},
zh: {
- 'nav-guide':'场景指南','nav-gallery':'验证作品集','nav-start':'快速上手','nav-install':'安装技能',
+ 'nav-guide':'场景指南','nav-gallery':'验证作品集','nav-start':'快速上手','nav-community':'社区包','nav-install':'安装技能',
- 'hero-badge':'Agent 技能 &nbsp;·&nbsp; 稳定版 &nbsp;·&nbsp; v3.0.1',
+ 'hero-badge':'Agent 技能 &nbsp;·&nbsp; 开发版 &nbsp;·&nbsp; v3.0.2-dev.1',
'hero-h1':'用自然语言,<br>生成<em>可信的架构图。</em>',
'hero-sub':'在对话中描述你的系统,Archify 生成精美、可探索的 HTML 技术图——信息会按 MAP → READ → FULL 渐进展开,并内置语义镜头、路径故事、动态效果和超清导出。',
'hero-cta':'选择合适的图','hero-gallery':'查看验证作品集',
diff --cc scripts/guide-template.html
index d01dc12f,b5695b74..4f38d7e8
--- a/scripts/guide-template.html
+++ b/scripts/guide-template.html
@@@ -253,12 -256,12 +256,12 @@@
var lastRecipe = null;
var copy = {
en: {
- navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v[[ARCHIFY_VERSION]]',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
- navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navCommunity:'Community',navInstall:'Install Skill',versionLabel:'Scenario guide / stable / v[[ARCHIFY_VERSION]]',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
++ navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navCommunity:'Community',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v[[ARCHIFY_VERSION]]',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
metricRecipes:'real-world<br>recipes',metricModes:'typed diagram<br>modes',metricRuntime:'runtime<br>dependencies',chooserTitle:'What must the diagram explain?',chooserBody:'Write a situation, not a diagram type. Specific system facts produce a stronger recommendation.',placeholder:'Example: Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.',recommend:'Recommend a recipe →',clear:'Clear',libraryEyebrow:'Recipe library',libraryTitle:'[[RECIPE_COUNT]] small, opinionated starting points.',libraryBody:'Each recipe answers one technical question. That boundary keeps the result legible, reviewable, and honest about missing evidence.',footerLeft:'Generated from the same recipe source as the Archify CLI.',all:'All recipes',recommended:'Recommended recipe',use:'Use when',avoid:'Avoid when',must:'Evidence to include',presentation:'Presentation',prompt:'Copy-ready prompt',copyPrompt:'Copy prompt',copied:'Copied',alternatives:'Other possible fits:',confidence:'confidence',open:'Open recipe',proofReady:'Verified proof',proofLink:'Open verified example ↗',
samples:[['API + cache miss','Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.'],['Kafka + DLQ','Map Kafka topics, ordered processors, consumer groups, replay, state stores, and the dead-letter queue.'],['Incident response','Show how responders detect, triage, mitigate, escalate, communicate, and verify recovery.']]
},
zh: {
- navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v[[ARCHIFY_VERSION]]',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
- navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navCommunity:'社区包',navInstall:'安装技能',versionLabel:'场景指南 / 稳定版 / v[[ARCHIFY_VERSION]]',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
++ navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navCommunity:'社区包',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v[[ARCHIFY_VERSION]]',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
metricRecipes:'个真实场景<br>配方',metricModes:'种类型化<br>图表模式',metricRuntime:'个运行时<br>依赖',chooserTitle:'这张图必须解释什么?',chooserBody:'写清场景,不要只写图表类型。系统事实越具体,推荐越可靠。',placeholder:'例如:展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。',recommend:'推荐配方 →',clear:'清空',libraryEyebrow:'配方库',libraryTitle:'[[RECIPE_COUNT]] 个小而专的起点。',libraryBody:'每个配方只回答一个技术问题。清晰的边界让图更易读、可评审,也不会掩盖证据缺口。',footerLeft:'网页与 Archify CLI 使用同一份配方数据生成。',all:'全部配方',recommended:'推荐配方',use:'适合',avoid:'不要这样用',must:'必须包含的证据',presentation:'表现建议',prompt:'可直接复制的提示词',copyPrompt:'复制提示词',copied:'已复制',alternatives:'其他可能:',confidence:'置信度',open:'打开配方',proofReady:'已验证成品',proofLink:'打开验证成品 ↗',
samples:[['API + 缓存未命中','展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。'],['Kafka + 死信','梳理 Kafka Topic、有序处理器、消费者组、重放、状态存储和死信队列。'],['事故处置','展示响应者如何发现、分诊、缓解、升级、沟通并验证恢复。']]
}
diff --cc website/src/pages/index.astro
index ac3be76d,91a381a9..56ef858d
--- a/website/src/pages/index.astro
+++ b/website/src/pages/index.astro
@@@ -12,118 -14,89 +14,89 @@@ const installCommand = 'npx -y skills a
<!-- NAV -->
<Navigation page="index" />
- <!-- HERO — bento: intro / live proof / specimen rail / stats -->
+ <!-- HERO — centered statement; the live artifact window peeks in below the fold line -->
<section class="hero" data-proof-aperture="first-fold">
- <div class="container">
- <div class="hero-bento">
- <div class="hero-intro">
- <div class="hero-badge fade-up">
- <div class="pulse-dot"></div>
- <span data-i18n="hero-badge">Agent Skill &nbsp;·&nbsp; development &nbsp;·&nbsp; v{version}</span>
- </div>
- <h1 class="fade-up d1" data-i18n="hero-h1">From plain English<br>to architecture <em>you can trust.</em></h1>
- <p class="hero-sub fade-up d2" data-i18n="hero-sub">Describe your system in chat. Archify generates a polished, explorable HTML diagram — with progressive MAP → READ → FULL detail, a semantic camera, path-aware stories, motion, and ultra-crisp export built in.</p>
- <div class="hero-actions fade-up d3">
- <a class="btn btn-primary" href="guide.html">
- <svg width="14" height="14" viewBox="0 0 14 14" fill="none"><path d="M2 7h10M7 2l5 5-5 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
- <span data-i18n="hero-cta">Choose the right diagram</span>
- </a>
- <a class="btn btn-ghost" href="gallery.html">
- <svg width="14" height="14" viewBox="0 0 14 14" fill="none"><rect x="1.5" y="1.5" width="4" height="4" stroke="currentColor"/><rect x="8.5" y="1.5" width="4" height="4" stroke="currentColor"/><rect x="1.5" y="8.5" width="4" height="4" stroke="currentColor"/><rect x="8.5" y="8.5" width="4" height="4" stroke="currentColor"/></svg>
- <span data-i18n="hero-gallery">Explore proof gallery</span>
- </a>
- </div>
+ <div class="hero-aura" aria-hidden="true"><div class="hero-spot"></div><div class="hero-horizon"></div></div>
+ <div class="hero-copy">
+ <a class="hero-eyebrow fade-up" href="https://github.com/tt-a1i/archify/blob/main/CHANGELOG.md" target="_blank" rel="noopener">
+ <span class="eyebrow-tag">v{version}</span>
- <span data-i18n="hero-badge">Stable Agent Skill · see what's new</span>
++ <span data-i18n="hero-badge">Development Agent Skill · see what's new</span>
+ <span class="eyebrow-arrow" aria-hidden="true">→</span>
+ </a>
+ <h1 data-i18n="hero-h1"><span class="l">Describe it in plain words.</span><span class="l">Get a map <em>you can trust.</em></span></h1>
+ <p class="hero-sub fade-up d2" data-i18n="hero-sub">A leave plan, a job hunt, a monthly budget, or a software system — if it has steps, parts, relationships, or states, your AI agent turns it into one explorable HTML map, validated before it ships.</p>
+ <div class="hero-actions fade-up d3">
+ <div class="cmd-chip">
+ <span class="cmd-prompt" aria-hidden="true">$</span>
+ <code>npx skills add tt-a1i/archify -g</code>
+ <button class="cmd-copy" type="button" data-copy-text="npx skills add tt-a1i/archify -g" aria-label="Copy install command">
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" aria-hidden="true"><rect x="4.5" y="4.5" width="8" height="8" rx="1.5" stroke="currentColor" stroke-width="1.3"/><path d="M9.5 4.5V3A1.5 1.5 0 0 0 8 1.5H3A1.5 1.5 0 0 0 1.5 3v5A1.5 1.5 0 0 0 3 9.5h1.5" stroke="currentColor" stroke-width="1.3"/></svg>
+ <span class="cmd-copy-label" data-i18n="copy">Copy</span>
+ </button>
</div>
+ <a class="btn btn-primary" href="start.html">
+ <span data-i18n="hero-cta">Get started</span>
+ <svg width="14" height="14" viewBox="0 0 14 14" fill="none" aria-hidden="true"><path d="M2 7h10M7 2l5 5-5 5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>
+ </a>
+ <button class="btn btn-ghost demo-trigger" id="demo-open" type="button" aria-haspopup="dialog">
+ <span class="play-ring" aria-hidden="true"><svg width="8" height="9" viewBox="0 0 9 10" fill="none"><path d="M1 1.2v7.6L8 5z" fill="currentColor"/></svg></span>
+ <span data-i18n="demo-watch">Watch the 35s demo</span>
+ </button>
+ </div>
+ <div class="hero-meta fade-up d4">
+ <span class="hero-works"><span data-i18n="hero-works">Works with</span> <b>Claude Code</b> · <b>Codex</b> · <b>Cursor</b> · <b>OpenCode</b> · <b>Copilot</b></span>
+ <a class="hero-stars" href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">
+ <svg width="14" height="14" viewBox="0 0 16 16" aria-hidden="true"><path fill="currentColor" d="M8 .2a8 8 0 0 0-2.53 15.59c.4.07.55-.17.55-.38v-1.33c-2.23.48-2.7-1.07-2.7-1.07-.36-.92-.89-1.17-.89-1.17-.73-.5.06-.49.06-.49.8.06 1.23.83 1.23.83.72 1.22 1.88.87 2.34.66.07-.52.28-.87.5-1.07-1.78-.2-3.65-.89-3.65-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82a7.6 7.6 0 0 1 4 0c1.53-1.03 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.28.82 2.15 0 3.07-1.87 3.75-3.66 3.95.29.25.54.73.54 1.48v2.2c0 .21.15.46.55.38A8 8 0 0 0 8 .2Z"/></svg>
+ <span class="stars-count" data-gh-stars hidden></span>
+ <span data-i18n="hero-stars">stars on GitHub</span>
+ </a>
+ </div>
+ </div>
+ </section>
- <!-- MAIN LIVE PROOF -->
- <div class="proof-main fade-up d2" id="hero-proof-stage" data-proof-playback="first-fold-once">
- <div class="proof-chrome">
- <div class="proof-status">
- <span class="proof-live" data-i18n="proof-live">Live proof</span>
- <div class="proof-status-copy">
- <strong data-i18n="proof-status">Generated, checked, interactive</strong>
- <span data-i18n="proof-receipt">Real gallery artifact · 9/9 validation checks</span>
- </div>
- </div>
- <a class="proof-open" id="proof-open" href="gallery/artifacts/agent-tool-call.workflow.html?present=1#focus=planner&amp;reach=downstream" target="_blank" rel="noopener">
- <span data-i18n="proof-open">Open artifact</span><span aria-hidden="true">↗</span>
- </a>
+ <!-- LIVE STAGE — one real artifact, pinned; scrolling drives its semantic camera -->
+ <section class="stage" id="tour" aria-labelledby="tour-title">
+ <h2 class="sr-only" id="tour-title" data-i18n="tour-title">Live artifact tour</h2>
+ <div class="stage-pin">
+ <div class="stage-window" id="hero-proof-stage" data-proof-playback="first-fold-once">
+ <div class="window-bar">
+ <span class="window-dots" aria-hidden="true"><i></i><i></i><i></i></span>
+ <div class="proof-rail" id="proof-tabs" role="tablist" aria-label="Choose a live Archify proof">
+ <button class="spec-card" id="proof-tab-signal" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="true" tabindex="0" data-proof="signal">
+ <span class="spec-idx">01</span><span class="spec-name">Agent Tool Call</span>
+ </button>
+ <button class="spec-card" id="proof-tab-blueprint" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="blueprint">
+ <span class="spec-idx">02</span><span class="spec-name">Production Deployment</span>
+ </button>
+ <button class="spec-card" id="proof-tab-classic" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="classic">
+ <span class="spec-idx">03</span><span class="spec-name">Cache Miss</span>
+ </button>
+ <button class="spec-card" id="proof-tab-leave" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="leave">
+ <span class="spec-idx">04</span><span class="spec-name">Annual Leave</span>
+ </button>
</div>
- <div class="proof-viewport" id="hero-proof-panel" role="tabpanel" aria-labelledby="proof-tab-signal">
- <iframe id="hero-proof-frame" data-proof="signal" src="gallery/artifacts/agent-tool-call.workflow.html?embed=1&amp;theme=dark#focus=planner&amp;reach=downstream" title="Agent Tool Call live Archify proof" loading="eager" sandbox="allow-scripts"></iframe>
- </div>
- <div class="proof-caption" aria-live="polite">
- <div class="proof-caption-main">
- <span id="proof-meta">Workflow · Signal Flow · 12 nodes · 11 edges</span>
- <strong id="proof-title">Agent Tool Call — policy, execution, recovery, and evidence</strong>
- </div>
- <span class="proof-hint" data-i18n="proof-hint">Open a stable focus, lens, or route link and inspect the same authored relationship.</span>
+ <div class="window-address" aria-hidden="true">
+ <svg width="11" height="11" viewBox="0 0 12 12" fill="none"><rect x="2" y="5.5" width="8" height="5.5" rx="1.2" stroke="currentColor" stroke-width="1.2"/><path d="M4 5.5V4a2 2 0 1 1 4 0v1.5" stroke="currentColor" stroke-width="1.2"/></svg>
+ <span id="address-file">agent-tool-call.workflow.html</span><b id="address-hash"></b>
</div>
+ <a class="proof-open" id="proof-open" href="gallery/artifacts/agent-tool-call.workflow.html?present=1#focus=planner&amp;reach=downstream" target="_blank" rel="noopener">
+ <span data-i18n="proof-open">Open artifact</span><span aria-hidden="true">↗</span>
+ </a>
</div>
-
- <!-- SPECIMEN RAIL (tablist) -->
- <div class="proof-rail fade-up d3" id="proof-tabs" role="tablist" aria-label="Choose a live Archify proof">
- <div class="rail-label" data-i18n="rail-label">Live specimens — select to load</div>
- <button class="spec-card" id="proof-tab-signal" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="true" tabindex="0" data-proof="signal">
- <div class="spec-top">
- <span class="spec-idx">S·01</span>
- <span class="spec-glyph" aria-hidden="true">
- <svg width="34" height="26" viewBox="0 0 34 26" fill="none">
- <path d="M1 5h32M1 13h32M1 21h32" stroke-width="1" opacity=".35"/>
- <rect x="4" y="3" width="7" height="4" rx="1" stroke-width="1.25"/>
- <rect x="14" y="11" width="7" height="4" rx="1" stroke-width="1.25"/>
- <rect x="23" y="19" width="7" height="4" rx="1" stroke-width="1.25"/>
- <path d="M11 5h6v6M21 13h4v6" stroke-width="1.25"/>
- </svg>
- </span>
- </div>
- <span class="spec-name">Agent Tool Call</span>
- <span class="spec-meta">Workflow · Signal Flow · 12 nodes · 11 edges</span>
- </button>
- <button class="spec-card" id="proof-tab-blueprint" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="blueprint">
- <div class="spec-top">
- <span class="spec-idx">S·02</span>
- <span class="spec-glyph" aria-hidden="true">
- <svg width="34" height="26" viewBox="0 0 34 26" fill="none">
- <rect x="1" y="1" width="32" height="24" rx="2" stroke-width="1.25"/>
- <rect x="5" y="5" width="10" height="7" rx="1" stroke-width="1.25"/>
- <rect x="19" y="5" width="10" height="7" rx="1" stroke-width="1.25"/>
- <rect x="5" y="16" width="24" height="5" rx="1" stroke-width="1.25"/>
- <path d="M15 8.5h4M17 12v4" stroke-width="1.25"/>
- </svg>
- </span>
- </div>
- <span class="spec-name">Production Deployment</span>
- <span class="spec-meta">Architecture · Blueprint · 12 nodes · 12 edges</span>
- </button>
- <button class="spec-card" id="proof-tab-classic" type="button" role="tab" aria-controls="hero-proof-panel" aria-selected="false" tabindex="-1" data-proof="classic">
- <div class="spec-top">
- <span class="spec-idx">S·03</span>
- <span class="spec-glyph" aria-hidden="true">
- <svg width="34" height="26" viewBox="0 0 34 26" fill="none">
- <circle cx="6" cy="3.5" r="2.5" stroke-width="1.25"/>
- <circle cx="17" cy="3.5" r="2.5" stroke-width="1.25"/>
- <circle cx="28" cy="3.5" r="2.5" stroke-width="1.25"/>
- <path d="M6 6v18M17 6v18M28 6v18" stroke-width="1" stroke-dasharray="2.5 2.5" opacity=".45"/>
- <path d="M6 11h9.5M13 9l2.5 2-2.5 2" stroke-width="1.25"/>
- <path d="M17 17h9.5M24 15l2.5 2-2.5 2" stroke-width="1.25"/>
- </svg>
- </span>
- </div>
- <span class="spec-name">Cache Miss</span>
- <span class="spec-meta">Sequence · Classic · 7 participants · 12 messages</span>
- </button>
+ <div class="hero-frame" id="hero-proof-panel" role="tabpanel" aria-labelledby="proof-tab-signal">
+ <iframe id="hero-proof-frame" data-proof="signal" src="gallery/artifacts/agent-tool-call.workflow.html?embed=1&amp;theme=dark#focus=planner&amp;reach=downstream" title="Agent Tool Call live Archify proof" loading="eager" sandbox="allow-scripts allow-same-origin"></iframe>
</div>
-
- <!-- STATS STRIP -->
- <div class="hero-stats fade-up d4">
- <div class="stat"><b>05</b><span data-i18n="stat-types">Diagram types</span></div>
- <div class="stat"><b>04</b><span data-i18n="stat-presets">Visual presets</span></div>
- <div class="stat"><b>02</b><span data-i18n="stat-themes">Coordinated themes</span></div>
- <div class="stat"><b>4<sup>×</sup></b><span data-i18n="stat-export">Native export scale</span></div>
- <div class="stat"><b>00</b><span data-i18n="stat-deps">Dependencies</span></div>
+ <div class="beat-card" aria-live="polite">
+ <div class="beat-rail" role="group" aria-label="Camera beats">
+ <button class="beat-tick" type="button" data-beat="0" aria-pressed="true"><span data-i18n="beat-0-k">Map</span></button>
+ <button class="beat-tick" type="button" data-beat="1" aria-pressed="false"><span data-i18n="beat-1-k">Focus</span></button>
+ <button class="beat-tick" type="button" data-beat="2" aria-pressed="false"><span data-i18n="beat-2-k">Upstream</span></button>
+ <button class="beat-tick" type="button" data-beat="3" aria-pressed="false"><span data-i18n="beat-3-k">Lens</span></button>
+ </div>
+ <p class="beat-meta"><span class="proof-live" data-i18n="proof-live">Live proof</span><span id="proof-meta">Workflow · Signal Flow · 12 nodes · 11 edges</span></p>
+ <h3 class="beat-title" id="beat-title">The whole system, in one readable frame.</h3>
+ <p class="beat-body" id="beat-body">This is the real generated artifact, not a screenshot. Lanes, boundaries, and every authored edge — scroll to move its camera.</p>
+ <strong class="sr-only" id="proof-title">Agent Tool Call — policy, execution, recovery, and evidence</strong>
</div>
</div>
</div>
@@@ -451,9 -391,11 +391,11 @@@
<a class="nav-logo" href="#">
<Brand />
</a>
- <p class="footer-meta" data-i18n="footer-meta">stable &nbsp;·&nbsp; v{version} &nbsp;·&nbsp; MIT License<br>Based on Cocoon-AI/architecture-diagram-generator</p>
+ <p class="footer-meta" data-i18n="footer-meta">development &nbsp;·&nbsp; v{version} &nbsp;·&nbsp; MIT License<br>Based on Cocoon-AI/architecture-diagram-generator</p>
</div>
<div class="footer-links">
+ <a href="guide.html" data-i18n="nav-guide">Guide</a>
+ <a href="gallery.html" data-i18n="nav-gallery">Proof Lab</a>
<a href="community.html" data-i18n="footer-community">Community</a>
<a href="https://github.com/tt-a1i/archify" target="_blank" rel="noopener">GitHub</a>
<a href="https://github.com/tt-a1i/archify/blob/main/CHANGELOG.md" target="_blank" rel="noopener" data-i18n="footer-changelog">Changelog</a>
diff --cc website/src/scripts/guide.js
index 356bdb38,0a568688..1fcfb999
--- a/website/src/scripts/guide.js
+++ b/website/src/scripts/guide.js
@@@ -2,20 -2,20 +2,20 @@@
(function () {
'use strict';
var recipes = JSON.parse(document.getElementById('guide-data').textContent);
- var types = ["architecture","workflow","sequence","dataflow","lifecycle"];
- var colors = { architecture:'var(--hue-cyan)', workflow:'var(--hue-emerald)', sequence:'var(--hue-violet)', dataflow:'var(--hue-amber)', lifecycle:'var(--hue-rose)' };
+ var types = ["architecture","workflow","sequence","dataflow","lifecycle","erd"];
- var colors = { architecture:'#0891b2', workflow:'#047857', sequence:'#6d28d9', dataflow:'#b45309', lifecycle:'#be123c', erd:'#0f766e' };
++ var colors = { architecture:'var(--hue-cyan)', workflow:'var(--hue-emerald)', sequence:'var(--hue-violet)', dataflow:'var(--hue-amber)', lifecycle:'var(--hue-rose)', erd:'var(--hue-emerald)' };
var language = ArchifySiteLanguage.read();
var activeType = 'all';
var lastRecipe = null;
var copy = {
en: {
- navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v[[ARCHIFY_VERSION]]',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
- navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navCommunity:'Community',navInstall:'Install Skill',versionLabel:'Scenario guide / stable / v[[ARCHIFY_VERSION]]',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
- metricRecipes:'real-world<br>recipes',metricModes:'typed diagram<br>modes',metricRuntime:'runtime<br>dependencies',chooserTitle:'What must the diagram explain?',chooserBody:'Write a situation, not a diagram type. Specific system facts produce a stronger recommendation.',placeholder:'Example: Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.',recommend:'Recommend a recipe →',clear:'Clear',libraryEyebrow:'Recipe library',libraryTitle:'12 small, opinionated starting points.',libraryBody:'Each recipe answers one technical question. That boundary keeps the result legible, reviewable, and honest about missing evidence.',footerLeft:'Generated from the same recipe source as the Archify CLI.',all:'All recipes',recommended:'Recommended recipe',use:'Use when',avoid:'Avoid when',must:'Evidence to include',presentation:'Presentation',prompt:'Copy-ready prompt',copyPrompt:'Copy prompt',copied:'Copied',alternatives:'Other possible fits:',confidence:'confidence',open:'Open recipe',proofReady:'Verified proof',proofLink:'Open verified example ↗',
++ navGuide:'Guide',navProof:'Proof Lab',navStart:'Start',navCommunity:'Community',navInstall:'Install Skill',versionLabel:'Scenario guide / development / v[[ARCHIFY_VERSION]]',eyebrow:'Question-first diagramming', headline:'Choose the question.<br>Get the <em>right diagram.</em>', lede:'Describe what your audience needs to understand. Archify recommends one bounded visual recipe—plus the evidence it must contain, when not to use it, and a prompt you can copy.',
+ metricRecipes:'real-world<br>recipes',metricModes:'typed diagram<br>modes',metricRuntime:'runtime<br>dependencies',chooserTitle:'What must the diagram explain?',chooserBody:'Write a situation, not a diagram type. Specific system facts produce a stronger recommendation.',placeholder:'Example: Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.',recommend:'Recommend a recipe →',clear:'Clear',libraryEyebrow:'Recipe library',libraryTitle:'13 small, opinionated starting points.',libraryBody:'Each recipe answers one technical question. That boundary keeps the result legible, reviewable, and honest about missing evidence.',footerLeft:'Generated from the same recipe source as the Archify CLI.',all:'All recipes',recommended:'Recommended recipe',use:'Use when',avoid:'Avoid when',must:'Evidence to include',presentation:'Presentation',prompt:'Copy-ready prompt',copyPrompt:'Copy prompt',copied:'Copied',alternatives:'Other possible fits:',confidence:'confidence',open:'Open recipe',proofReady:'Verified proof',proofLink:'Open verified example ↗',
samples:[['API + cache miss','Show an API request with JWT auth, a Redis cache miss, database fallback, and async tracing.'],['Kafka + DLQ','Map Kafka topics, ordered processors, consumer groups, replay, state stores, and the dead-letter queue.'],['Incident response','Show how responders detect, triage, mitigate, escalate, communicate, and verify recovery.']]
},
zh: {
- navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v[[ARCHIFY_VERSION]]',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
- navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navCommunity:'社区包',navInstall:'安装技能',versionLabel:'场景指南 / 稳定版 / v[[ARCHIFY_VERSION]]',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
- metricRecipes:'个真实场景<br>配方',metricModes:'种类型化<br>图表模式',metricRuntime:'个运行时<br>依赖',chooserTitle:'这张图必须解释什么?',chooserBody:'写清场景,不要只写图表类型。系统事实越具体,推荐越可靠。',placeholder:'例如:展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。',recommend:'推荐配方 →',clear:'清空',libraryEyebrow:'配方库',libraryTitle:'12 个小而专的起点。',libraryBody:'每个配方只回答一个技术问题。清晰的边界让图更易读、可评审,也不会掩盖证据缺口。',footerLeft:'网页与 Archify CLI 使用同一份配方数据生成。',all:'全部配方',recommended:'推荐配方',use:'适合',avoid:'不要这样用',must:'必须包含的证据',presentation:'表现建议',prompt:'可直接复制的提示词',copyPrompt:'复制提示词',copied:'已复制',alternatives:'其他可能:',confidence:'置信度',open:'打开配方',proofReady:'已验证成品',proofLink:'打开验证成品 ↗',
++ navGuide:'场景指南',navProof:'验证作品集',navStart:'快速上手',navCommunity:'社区包',navInstall:'安装技能',versionLabel:'场景指南 / 开发版 / v[[ARCHIFY_VERSION]]',eyebrow:'先问题,后图表',headline:'先选对问题,<br>再得到<em>对的图。</em>',lede:'描述受众真正需要理解的内容。Archify 会推荐一个有边界的视觉配方,同时给出证据清单、禁用条件和可复制提示词。',
+ metricRecipes:'个真实场景<br>配方',metricModes:'种类型化<br>图表模式',metricRuntime:'个运行时<br>依赖',chooserTitle:'这张图必须解释什么?',chooserBody:'写清场景,不要只写图表类型。系统事实越具体,推荐越可靠。',placeholder:'例如:展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。',recommend:'推荐配方 →',clear:'清空',libraryEyebrow:'配方库',libraryTitle:'13 个小而专的起点。',libraryBody:'每个配方只回答一个技术问题。清晰的边界让图更易读、可评审,也不会掩盖证据缺口。',footerLeft:'网页与 Archify CLI 使用同一份配方数据生成。',all:'全部配方',recommended:'推荐配方',use:'适合',avoid:'不要这样用',must:'必须包含的证据',presentation:'表现建议',prompt:'可直接复制的提示词',copyPrompt:'复制提示词',copied:'已复制',alternatives:'其他可能:',confidence:'置信度',open:'打开配方',proofReady:'已验证成品',proofLink:'打开验证成品 ↗',
samples:[['API + 缓存未命中','展示带 JWT 鉴权、Redis 缓存未命中、数据库回退和异步追踪的 API 请求。'],['Kafka + 死信','梳理 Kafka Topic、有序处理器、消费者组、重放、状态存储和死信队列。'],['事故处置','展示响应者如何发现、分诊、缓解、升级、沟通并验证恢复。']]
}
};
diff --cc website/src/scripts/index.js
index 076fa57f,81fda61b..48367bcf
--- a/website/src/scripts/index.js
+++ b/website/src/scripts/index.js
@@@ -4,45 -4,65 +4,65 @@@
══════════════════════════════════════ */
const LANGS = {
en: {
+ 'label-life':'Beyond code',
+ 'life-h2':'Not just for code. <em>For anything with steps.</em>',
+ 'life-body':'Leave plans, job hunts, renting, a monthly budget — each one below is a real Archify artifact, generated and validated exactly like a system diagram. Open one and click around.',
+ 'life-note':'Numbers in these examples are illustrative. Describe your own situation and your agent draws yours.',
+ 'life-leave-k':'Workflow',
+ 'life-leave-q':'How should I spread my leave across the year?',
+ 'life-job-k':'Lifecycle',
+ 'life-job-q':'Where does each job application stand?',
+ 'life-money-k':'Data flow',
+ 'life-money-q':'Where does my paycheck go each month?',
+ 'life-rent-k':'Sequence',
+ 'life-rent-q':'Who says what when I rent a flat?',
+ 'arch-k':'Architecture',
+ 'wf-k':'Workflow',
+ 'seq-k':'Sequence',
+ 'flow-k':'Data flow',
+ 'life-k':'Lifecycle',
'nav-guide':'Guide','nav-gallery':'Proof Lab','nav-start':'Start','nav-community':'Community','nav-install':'Install Skill',
- 'hero-badge':'Agent Skill &nbsp;·&nbsp; development &nbsp;·&nbsp; v[[ARCHIFY_VERSION]]',
- 'hero-h1':'From plain English<br>to architecture <em>you can trust.</em>',
- 'hero-sub':'Describe your system in chat. Archify generates a polished, explorable HTML diagram — with progressive MAP → READ → FULL detail, a semantic camera, path-aware stories, motion, and ultra-crisp export built in.',
- 'hero-cta':'Choose the right diagram','hero-gallery':'Explore proof gallery',
- 'proof-live':'Live proof','proof-status':'Generated, checked, interactive','proof-receipt':'Real gallery artifact · 9/9 validation checks','proof-open':'Open artifact','proof-hint':'Open a stable focus, lens, or route link and inspect the same authored relationship.',
- 'rail-label':'Live specimens — select to load',
- 'stat-types':'Diagram types','stat-presets':'Visual presets','stat-themes':'Coordinated themes','stat-export':'Native export scale','stat-deps':'Dependencies',
- 'label-types':'Diagram Types',
- 'types-h2':'Five ways to see your system.',
- 'types-body':'Architecture, workflows, sequences, data flows, or state machines — describe what you need and Archify picks the right visual language.',
- 'label-gallery':'Index',
- 'hero-badge':"Stable Agent Skill · see what's new",'hero-works':'Works with',
++ 'hero-badge':"Development Agent Skill · see what's new",'hero-works':'Works with',
+ 'hero-h1':'<span class="l">Describe it in plain words.</span><span class="l">Get a map <em>you can trust.</em></span>',
+ 'hero-sub':'A leave plan, a job hunt, a monthly budget, or a software system — if it has steps, parts, relationships, or states, your AI agent turns it into one explorable HTML map, validated before it ships.',
+ 'hero-cta':'Get started','hero-stars':'stars on GitHub','copy':'Copy','copied':'Copied',
+ 'demo-watch':'Watch the 35s demo','demo-title':'Archify 35-second demo','demo-close':'Close demo',
+ 'tour-title':'Live artifact tour',
+ 'proof-live':'Live','proof-open':'Open artifact',
+ 'beat-0-k':'Map','beat-1-k':'Focus','beat-2-k':'Upstream','beat-3-k':'Lens',
+ 'beat-0-t':'The whole system, in one readable frame.','beat-0-b':'This is the real generated artifact, not a screenshot. Lanes, boundaries, and every authored edge — scroll to move its camera.',
+ 'beat-1-t':'Focus one node, see what it drives.','beat-1-b':'Press Enter on any node — or open a stable link — and the camera isolates everything downstream of it.',
+ 'beat-2-t':'Flip the reach. Find the cause.','beat-2-b':'Trace upstream to every dependency that feeds a step. Same file, same authored relationships, one hash change.',
+ 'beat-3-t':'Compare by meaning, not by box.','beat-3-b':'Lens keeps only the semantic kinds you name — security against data, backend against storage — and quiets the rest.',
+ 'stat-types':'Diagram types','stat-presets':'Visual presets','stat-checks':'Validation checks per artifact','stat-export':'Native export scale','stat-deps':'Runtime dependencies',
+ 'label-types':'Diagram types',
+ 'types-h2':'Five questions. <em>Five kinds of map.</em>',
+ 'types-body':'Ask the question you actually have. Archify picks the picture that answers it — for a software system, a plan, or something in your own life.',
'types-more':'Browse the full proof gallery','types-more-sub':'Live artifacts · every preset · every type',
- 'arch-h':'Architecture',
- 'arch-p':'System components, cloud resources, databases, caches, services, security groups, and the connections between them.',
- 'arch-li1':'AWS / GCP / Azure infra','arch-li2':'Microservices topology','arch-li3':'Security boundaries','arch-li4':'Network layout',
- 'wf-h':'Workflow',
- 'wf-p':'Swim-lane processes with semantic nodes and anchored edges — approval gates, async branches, and observability paths, lane by lane.',
- 'seq-h':'Sequence',
- 'seq-p':'API call chains, request lifecycles, cache fallback paths, auth checks, async traces — who calls whom, in what order, and what returns.',
- 'flow-h':'Data Flow',
- 'flow-p':'Data pipelines, ETL/ELT, analytics events, PII isolation, warehouse sync, lineage, and downstream consumers — with governance boundaries.',
- 'life-h':'Lifecycle',
- 'life-p':'State machines, object lifecycles, run/order/deployment status transitions — with wait states, retries, cancellation, and terminal outcomes.',
- 'label-features':'Features',
- 'features-h2':'Production-ready output,<br>zero configuration.',
- 'f1-h':'Four visual identities','f1-p':'Classic, Signal Flow, Blueprint, and Editorial share one geometry contract. Every preset includes coordinated dark/light themes and exports cleanly.','f1-tag':'4 PRESETS · 2 THEMES',
- 'f2-h':'Ultra-crisp 4× export','f2-p':'PNG, JPEG, WebP — all rasterized natively at up to 4× source resolution by the browser. No upsampling blur. Sharp on retina displays, slides, and print.','f2-tag':'PNG · JPEG · WEBP',
- 'f3-h':'Dual-theme SVG','f3-p':"The SVG export ships with both variable sets plus a @media prefers-color-scheme rule. Drop one file into a GitHub README — it follows the reader's theme.",'f3-tag':'VECTOR · SELF-THEMED',
- 'f4-h':'Copy to clipboard','f4-p':'One button puts a PNG straight on your clipboard. Paste directly into Slack, Notion, GitHub, or Figma — no intermediate save step.','f4-tag':'INSTANT SHARE',
- 'f5-h':'Self-contained HTML','f5-p':'One HTML file. Zero dependencies, no server, no runtime. Open it in any browser and it works. Share by attaching it to an email or PR comment.','f5-tag':'ZERO DEPS',
- 'f6-h':'Iterate by chat','f6-p':'"Add Redis", "move auth to the left", "use emerald for the API" — refine in natural language. No diagram editor to learn.','f6-tag':'CONVERSATIONAL',
+ 'arch-h':'What is it made of?',
+ 'arch-p':'The parts of something and how they connect — a household\'s accounts and cards, a team\'s roles, or a cloud system\'s services, databases, and security boundaries.',
+ 'arch-li1':'Household accounts','arch-li2':'Team roles','arch-li3':'Microservices topology','arch-li4':'Cloud + security boundaries',
+ 'wf-h':'What happens next?',
+ 'wf-p':'Steps across people or stages — a visa application, a leave plan, onboarding, an approval chain, or a CI/CD pipeline, lane by lane.',
+ 'seq-h':'Who says what, in what order?',
+ 'seq-p':'Back-and-forth in order — renting a flat through an agent, an expense claim, or an API call chain with its returns.',
+ 'flow-h':'Where does it all go?',
+ 'flow-p':'Where something moves and where it lands — a paycheck into bills and savings, documents through review, or data through a pipeline.',
+ 'life-h':'Where does it stand now?',
+ 'life-p':'States and what moves between them — job applications, an order, a passport renewal, or a deployment — with waits, retries, and endings.',
+ 'label-features':'Output',
+ 'features-h2':'One file. <em>Everything inside.</em>',
+ 'cmp-light':'Light','cmp-dark':'Dark',
+ 'fv1-h':'Dual-theme output','fv1-p':"Every diagram ships with coordinated dark and light variable sets. The HTML theme toggle and the SVG @media prefers-color-scheme rule switch together — one file follows the reader's theme.",'fv1-tag':'LIGHT · DARK · ONE FILE',
+ 'fv2-h':'One menu, every format','fv2-p':'PNG, JPEG, WebP, dual-theme SVG, WebM motion, or straight to the clipboard — every export renders natively in the browser from the same menu.',
+ 'exp-clip-fmt':'Clipboard',
+ 'f2-h':'Ultra-crisp 4× export','f2-p':'PNG, JPEG, WebP — all rasterized natively at up to 4× source resolution by the browser. No upsampling blur. Sharp on retina displays, slides, and print.',
+ 'f5-h':'Self-contained HTML','f5-p':'One HTML file. Zero dependencies, no server, no runtime. Open it in any browser and it works. Share by attaching it to an email or PR comment.',
+ 'f6-h':'Iterate by chat','f6-p':'"Move the summer trip to August", "add Redis", "make the deadline red" — refine in plain words. No diagram editor to learn.',
'f7-h':'Inspect and play real routes','f7-p':'Route Journey keeps the complete authored path visible while you inspect any stop or play one finite, reader-controlled pass over each exact incoming relationship.','f7-tag':'INSPECT · PLAY · PAUSE',
- 'f8-h':'Anticipate and share the exact story moment','f8-p':'Story Horizon distinguishes the exact next stop, while Semantic Story Carrier shows whether its one authored relationship is a call, data, event, security, or state transition. Pin any beat or share the same stable moment.','f8-tag':'FOLLOW · ANTICIPATE · SHARE',
- 'export-label':'Export formats',
- 'exp-png':'Transparent · 4× native','exp-jpg':'Theme bg · 4× native','exp-webp':'Small · 4× native','exp-svg':'Vector · dual-theme','exp-webm':'Motion · browser-native','exp-clip-fmt':'Clipboard','exp-clip':'Copy PNG · instant paste',
- 'label-palette':'Design System',
- 'palette-h2':'A semantic color language for infrastructure.',
- 'palette-body':'Seven component types. Each with coordinated dark and light variants that switch together via the theme toggle.',
+ 'label-palette':'Design system',
+ 'palette-h2':'Color that <em>means something.</em>',
+ 'palette-body':'Seven node colours, consistent in both themes. The legend renames them for your story — Backend can read as Vacation, Security as Rule.',
'chip-frontend':'Frontend','chip-frontend-use':'Client apps, browsers, mobile, UI',
'chip-backend':'Backend','chip-backend-use':'Services, APIs, workers, daemons',
'chip-database':'Database','chip-database-use':'DBs, caches, stores, AI/ML',
@@@ -50,59 -70,81 +70,81 @@@
'chip-security':'Security','chip-security-use':'Auth, secrets, guards',
'chip-bus':'Message Bus','chip-bus-use':'Kafka, RabbitMQ, SNS',
'chip-external':'External','chip-external-use':'Users, 3rd parties, generic',
- 'label-qs':'Quick Start',
- 'qs-h2':'Up and running<br>in three steps.',
- 'qs-body':'One checked Skill for Cursor, Claude Code, Codex, and OpenCode. Their switcher generates exact commands.',
- 'step1-h':'Install in one command','step1-p':'Run <code>npx skills add tt-a1i/archify -g</code>, or open the <a href="start.html?agent=cursor&amp;type=architecture">agent-aware quick start</a> for an exact Cursor, Codex, Claude Code, or OpenCode command.',
- 'step2-h':'Describe your system','step2-p':'Describe components, connections, and cloud services — or ask your agent to analyze the repository first.',
+ 'label-qs':'Quick start',
+ 'qs-h2':'Three steps. <em>One command.</em>',
+ 'qs-body':'One checked Skill for Claude Code, Codex, Cursor, OpenCode, and GitHub Copilot. Pick your agent for the exact command.',
+ 'term-c1':'# Install globally for your agent','term-c2':'# Or try it once with Codex, no permanent install','term-c3':'# Then just ask',
+ 'term-ask':'› Use Archify to plan my annual leave: 10 days, plus 2 comp days that expire at the end of June.',
+ 'step1-h':'Install in one command','step1-p':'Run the command for your agent, or open the <a href="start.html?agent=cursor&amp;type=architecture">agent-aware quick start</a> for project-scoped installs.',
+ 'step2-h':'Describe your system','step2-p':'Describe the steps, people, parts, or states — or ask your agent to read a repository first.',
'step3-h':'Ask your agent to draw it','step3-p':'Tell your agent to use Archify. It generates a self-contained HTML file you can open in any browser and refine in chat.',
- 'kbd-label':'Keyboard shortcuts','kbd-guide':'Diagram guide','kbd-theme':'Toggle theme','kbd-find':'Find node / route endpoint','kbd-route':'Trace and inspect a route','kbd-radar':'Semantic radar','kbd-lens':'Compare semantic kinds','kbd-present':'Presentation stage','kbd-export':'Open export menu','kbd-focus':'Focus node','kbd-zoom':'Reading depth / reset','kbd-nav':'Navigate menu','kbd-close':'Close menu',
+ 'kbd-label':'Inside every artifact','kbd-guide':'Diagram guide','kbd-theme':'Toggle theme','kbd-find':'Find node / route endpoint','kbd-route':'Trace, inspect, and play a route','kbd-radar':'Semantic radar','kbd-lens':'Compare semantic kinds','kbd-present':'Presentation stage','kbd-export':'Open export menu','kbd-focus':'Focus node','kbd-zoom':'Reading depth / reset','kbd-nav':'Navigate menu','kbd-close':'Close menu',
- 'footer-meta':'stable &nbsp;·&nbsp; v[[ARCHIFY_VERSION]] &nbsp;·&nbsp; MIT License<br>Based on Cocoon-AI/architecture-diagram-generator',
+ 'footer-meta':'development &nbsp;·&nbsp; v[[ARCHIFY_VERSION]] &nbsp;·&nbsp; MIT License<br>Based on Cocoon-AI/architecture-diagram-generator',
'cta-h':'Describe it once.<br><em>Share the map.</em>',
- 'cta-sub':'One command installs the checked skill for Cursor, Claude Code, Codex, or OpenCode — and your next diagram is a chat message away.',
- 'cta-install':'Install the skill',
+ 'cta-sub':'One command installs the checked skill for your agent — and your next diagram is a chat message away.',
+ 'cta-install':'Install the skill','cta-gh':'Star on GitHub',
'footer-changelog':'Changelog','footer-license':'License','footer-community':'Community'
},
zh: {
+ 'label-life':'不只是代码',
+ 'life-h2':'不只是代码,<br><em>生活里的事也能画。</em>',
+ 'life-body':'年假规划、求职进度、租房沟通、每月收支——下面每一张都是真实生成的 Archify 成品,和系统架构图走同一套生成与校验流程。点开就能探索。',
+ 'life-note':'示例里的数字仅作演示。描述你自己的情况,Agent 就会画出你的那一张。',
+ 'life-leave-k':'工作流',
+ 'life-leave-q':'一年的假怎么排最划算?',
+ 'life-job-k':'生命周期',
+ 'life-job-q':'每份求职申请走到哪一步了?',
+ 'life-money-k':'数据流',
+ 'life-money-q':'工资每个月都去哪了?',
+ 'life-rent-k':'时序图',
+ 'life-rent-q':'租房时,谁跟谁说了什么?',
+ 'arch-k':'架构图',
+ 'wf-k':'工作流',
+ 'seq-k':'时序图',
+ 'flow-k':'数据流',
+ 'life-k':'生命周期',
'nav-guide':'场景指南','nav-gallery':'验证作品集','nav-start':'快速上手','nav-community':'社区包','nav-install':'安装技能',
- 'hero-badge':'Agent 技能 &nbsp;·&nbsp; 开发版 &nbsp;·&nbsp; v[[ARCHIFY_VERSION]]',
- 'hero-h1':'用自然语言,<br>生成<em>可信的架构图。</em>',
- 'hero-sub':'在对话中描述你的系统,Archify 生成精美、可探索的 HTML 技术图——信息会按 MAP → READ → FULL 渐进展开,并内置语义镜头、路径故事、动态效果和超清导出。',
- 'hero-cta':'选择合适的图','hero-gallery':'查看验证作品集',
- 'proof-live':'实时成品','proof-status':'自动生成 · 检查通过 · 可交互','proof-receipt':'真实作品集成品 · 9/9 项验证通过','proof-open':'打开完整成品','proof-hint':'打开稳定的聚焦、语义镜头或路径链接,检查同一条作者关系。',
- 'rail-label':'实时标本 · 点击加载',
- 'stat-types':'图表类型','stat-presets':'视觉预设','stat-themes':'深浅主题','stat-export':'原生导出倍率','stat-deps':'外部依赖',
- 'hero-badge':'稳定版 Agent 技能 · 查看更新','hero-works':'支持',
++ 'hero-badge':'开发版 Agent 技能 · 查看更新','hero-works':'支持',
+ 'hero-h1':'<span class="l">用大白话讲清楚,</span><span class="l">得到<em>一张可信的图。</em></span>',
+ 'hero-sub':'年假怎么排、求职走到哪步、工资去哪了,或者一整套软件系统——只要它有步骤、组成、关系或状态,你的 AI Agent 都能把它变成一张可以点开探索、交付前已经校验过的 HTML 图。',
+ 'hero-cta':'开始使用','hero-stars':'GitHub Star','copy':'复制','copied':'已复制',
+ 'demo-watch':'观看 35 秒演示','demo-title':'Archify 35 秒演示','demo-close':'关闭演示',
+ 'tour-title':'实时成品导览',
+ 'proof-live':'实时','proof-open':'打开完整成品',
+ 'beat-0-k':'全景','beat-1-k':'聚焦','beat-2-k':'上游','beat-3-k':'语义镜头',
+ 'beat-0-t':'整个系统,一屏读完。','beat-0-b':'这是真实生成的成品,不是截图。泳道、边界和每一条作者连线都在这里——继续滚动,移动它的镜头。',
+ 'beat-1-t':'聚焦一个节点,看清它驱动了什么。','beat-1-b':'在任意节点上按 Enter,或打开一个稳定链接,镜头会只保留它下游的一切。',
+ 'beat-2-t':'反转方向,找到源头。','beat-2-b':'向上游追溯,看清喂给这一步的每个依赖。同一个文件、同一组作者关系,只改一次 hash。',
+ 'beat-3-t':'按语义对比,而不是按方框。','beat-3-b':'语义镜头只保留你点名的类型——安全对数据、后端对存储——其余全部压暗。',
+ 'stat-types':'图表类型','stat-presets':'视觉预设','stat-checks':'每个成品的校验项','stat-export':'原生导出倍率','stat-deps':'运行时依赖',
'label-types':'图表类型',
- 'types-h2':'五种方式,读懂你的系统。',
- 'types-body':'架构图、工作流、时序图、数据流图、状态机——描述需求,Archify 自动选择最合适的可视化语言。',
- 'label-gallery':'索引',
+ 'types-h2':'五个问题,<br><em>五种图。</em>',
+ 'types-body':'问你真正想问的问题。Archify 会选出能回答它的那种图——不管是一套软件系统、一份计划,还是你自己生活里的事。',
'types-more':'浏览完整作品集','types-more-sub':'实时成品 · 全部预设 · 全部图型',
- 'arch-h':'架构图',
- 'arch-p':'系统组件、云资源、数据库、缓存、服务、安全组及其连接关系,一图清晰呈现。',
- 'arch-li1':'AWS / GCP / Azure 基础设施','arch-li2':'微服务拓扑','arch-li3':'安全边界','arch-li4':'网络布局',
- 'wf-h':'工作流图',
- 'wf-p':'泳道式流程:语义化节点与锚定连线——审批门、异步分支、观测路径,逐泳道清晰铺开。',
- 'seq-h':'时序图',
- 'seq-p':'API 调用链、请求生命周期、缓存回退路径、鉴权检查、异步追踪——谁调用谁、顺序如何、返回什么。',
- 'flow-h':'数据流图',
- 'flow-p':'数据管道、ETL/ELT、分析事件、PII 隔离、数仓同步、数据血缘及下游消费者——附治理边界。',
- 'life-h':'生命周期图',
- 'life-p':'状态机、对象生命周期、运行/订单/部署状态流转——含等待态、重试、取消和终态。',
- 'label-features':'功能特性',
- 'features-h2':'生产级输出,<br>零配置。',
- 'f1-h':'四套视觉身份','f1-p':'Classic、Signal Flow、Blueprint 和 Editorial 共用同一套几何契约;每套都提供协调的深浅主题并保持干净导出。','f1-tag':'4 套预设 · 2 套主题',
- 'f2-h':'超清 4× 导出','f2-p':'PNG、JPEG、WebP——由浏览器以最高 4 倍分辨率原生栅格化,无上采样模糊。视网膜屏、幻灯片、印刷均清晰。','f2-tag':'PNG · JPEG · WEBP',
- 'f3-h':'双主题 SVG','f3-p':'SVG 导出同时内置深色和浅色变量集,并附 @media prefers-color-scheme 规则。放入 GitHub README,自动跟随读者主题。','f3-tag':'矢量 · 自适应主题',
- 'f4-h':'复制到剪贴板','f4-p':'一键将 PNG 写入剪贴板,直接粘贴到 Slack、Notion、GitHub 或 Figma,无需手动保存。','f4-tag':'即时分享',
- 'f5-h':'独立 HTML 文件','f5-p':'单个 HTML 文件,零依赖、无需服务器或构建工具,任意浏览器打开即用。作为附件发邮件或贴 PR 评论均可。','f5-tag':'零依赖',
- 'f6-h':'对话式迭代','f6-p':'「加一个 Redis」「把鉴权移到左边」「API 用绿色」——用自然语言精调,无需学习任何图形编辑器。','f6-tag':'对话驱动',
+ 'arch-h':'它由什么组成?',
+ 'arch-p':'一件事由哪些部分组成、彼此怎么连接——家里的账户和银行卡、团队分工,或者云上系统的服务、数据库与安全边界。',
+ 'arch-li1':'家庭账户','arch-li2':'团队分工','arch-li3':'微服务拓扑','arch-li4':'云与安全边界',
+ 'wf-h':'下一步做什么?',
+ 'wf-p':'跨人、跨阶段的步骤——办签证、排年假、新人入职、审批链,或者 CI/CD 流水线,逐泳道铺开。',
+ 'seq-h':'谁先谁后,怎么来回?',
+ 'seq-p':'按顺序的一来一回——通过中介租房、报销往返,或者带返回值的 API 调用链。',
+ 'flow-h':'东西都流向哪里?',
+ 'flow-p':'东西从哪来、最后落到哪——工资流向账单和储蓄、文件流转审阅,或者数据穿过管道。',
+ 'life-h':'现在走到哪一步了?',
+ 'life-p':'有哪些状态、怎么在状态之间变化——求职申请、一笔订单、护照换发或一次部署,含等待、重试和结局。',
+ 'label-features':'输出',
+ 'features-h2':'一个文件,<br><em>全部都在里面。</em>',
+ 'cmp-light':'浅色','cmp-dark':'深色',
+ 'fv1-h':'双主题输出','fv1-p':'每张图都内置协调的深色与浅色变量集:HTML 的主题开关与 SVG 的 @media prefers-color-scheme 规则同步切换——一个文件,自动跟随读者主题。','fv1-tag':'浅色 · 深色 · 单文件',
+ 'fv2-h':'一个菜单,全部格式','fv2-p':'PNG、JPEG、WebP、双主题 SVG、WebM 动图,或直接复制到剪贴板——所有导出都在浏览器内原生渲染,同一个菜单完成。',
+ 'exp-clip-fmt':'剪贴板',
+ 'f2-h':'超清 4× 导出','f2-p':'PNG、JPEG、WebP——由浏览器以最高 4 倍分辨率原生栅格化,无上采样模糊。视网膜屏、幻灯片、印刷均清晰。',
+ 'f5-h':'独立 HTML 文件','f5-p':'单个 HTML 文件,零依赖、无需服务器或构建工具,任意浏览器打开即用。作为附件发邮件或贴 PR 评论均可。',
+ 'f6-h':'对话式迭代','f6-p':'「把暑假旅行挪到八月」「加一个 Redis」「把截止日标红」——用大白话精调,不用学任何画图工具。',
'f7-h':'检查并播放真实路径','f7-p':'Route Journey 始终保留完整作者路径,可逐站检查,也可沿每条精确入向关系播放一次由读者控制的有限旅程。','f7-tag':'检查 · 播放 · 暂停',
- 'f8-h':'跟随并分享精确故事时刻','f8-p':'Story Horizon 指出唯一下一站,Semantic Story Carrier 则说明这条真实关系传递的是调用、数据、事件、安全还是状态变化;任意 beat 都可钉住或稳定分享。','f8-tag':'跟随 · 钉住 · 分享',
- 'export-label':'导出格式',
- 'exp-png':'透明底 · 4× 分辨率','exp-jpg':'主题背景 · 4× 分辨率','exp-webp':'体积小 · 4× 分辨率','exp-svg':'矢量 · 双主题','exp-webm':'动态 · 浏览器原生','exp-clip-fmt':'剪贴板','exp-clip':'复制 PNG · 即时粘贴',
'label-palette':'设计系统',
- 'palette-h2':'为基础设施而生的语义色彩系统。',
- 'palette-body':'七种组件类型,各有深色与浅色协调变体,随主题切换同步变换。',
+ 'palette-h2':'每种颜色,<br><em>都有含义。</em>',
+ 'palette-body':'七种节点颜色,深浅主题下保持一致。图例可以按你的故事改名——「后端」可以叫「假期」,「安全」可以叫「规则」。',
'chip-frontend':'前端','chip-frontend-use':'客户端、浏览器、移动端、UI',
'chip-backend':'后端','chip-backend-use':'服务、API、Worker、守护进程',
'chip-database':'数据库','chip-database-use':'数据库、缓存、存储、AI/ML',
@@@ -111,16 -153,18 +153,18 @@@
'chip-bus':'消息总线','chip-bus-use':'Kafka、RabbitMQ、SNS',
'chip-external':'外部系统','chip-external-use':'用户、第三方、通用外部',
'label-qs':'快速开始',
- 'qs-h2':'三步上手,<br>即刻运行。',
- 'qs-body':'同一份经过检查的 Skill 可用于 Cursor、Claude Code、Codex 和 OpenCode,切换器会生成准确命令。',
- 'step1-h':'一条命令安装','step1-p':'运行 <code>npx skills add tt-a1i/archify -g</code>,或打开<a href="start.html?agent=cursor&amp;type=architecture">可切换 Agent 的快速开始页</a>,获取准确的 Cursor、Codex、Claude Code 或 OpenCode 命令。',
- 'step2-h':'描述你的系统','step2-p':'描述组件、连接关系和云服务,也可以先让 agent 分析代码仓库。',
+ 'qs-h2':'三步上手,<br><em>一条命令。</em>',
+ 'qs-body':'同一份经过检查的 Skill 可用于 Claude Code、Codex、Cursor、OpenCode 和 GitHub Copilot。选择你的 Agent,获取准确命令。',
+ 'term-c1':'# 为你的 Agent 全局安装','term-c2':'# 或者用临时副本在 Codex 中试一次','term-c3':'# 然后直接说',
+ 'term-ask':'› 用 Archify 帮我排一下今年的年假:10 天年假,加 2 天 6 月底过期的调休。',
+ 'step1-h':'一条命令安装','step1-p':'运行对应 Agent 的命令,或打开<a href="start.html?agent=cursor&amp;type=architecture">可切换 Agent 的快速开始页</a>获取项目级安装命令。',
+ 'step2-h':'描述你的系统','step2-p':'描述步骤、角色、组成或状态,也可以先让 agent 读一下代码仓库。',
'step3-h':'让 agent 绘制','step3-p':'告诉 agent 使用 Archify,它会生成可在任意浏览器打开的单文件 HTML,并可继续在对话中迭代。',
- 'kbd-label':'键盘快捷键','kbd-guide':'图表指南','kbd-theme':'切换主题','kbd-find':'查找节点 / 路径端点','kbd-route':'探查并检查路径','kbd-radar':'语义雷达','kbd-lens':'对比语义类型','kbd-present':'演示舞台','kbd-export':'打开导出菜单','kbd-focus':'聚焦节点','kbd-zoom':'阅读层级 / 复位','kbd-nav':'菜单导航','kbd-close':'关闭菜单',
+ 'kbd-label':'每个成品都内置','kbd-guide':'图表指南','kbd-theme':'切换主题','kbd-find':'查找节点 / 路径端点','kbd-route':'探查、检查并播放路径','kbd-radar':'语义雷达','kbd-lens':'对比语义类型','kbd-present':'演示舞台','kbd-export':'打开导出菜单','kbd-focus':'聚焦节点','kbd-zoom':'阅读层级 / 复位','kbd-nav':'菜单导航','kbd-close':'关闭菜单',
- 'footer-meta':'稳定版 &nbsp;·&nbsp; v[[ARCHIFY_VERSION]] &nbsp;·&nbsp; MIT 许可证<br>基于 Cocoon-AI/architecture-diagram-generator',
+ 'footer-meta':'开发版 &nbsp;·&nbsp; v[[ARCHIFY_VERSION]] &nbsp;·&nbsp; MIT 许可证<br>基于 Cocoon-AI/architecture-diagram-generator',
'cta-h':'描述一次,<br><em>分享这张图。</em>',
- 'cta-sub':'一条命令即可为 Cursor、Claude Code、Codex 或 OpenCode 安装经过检查的技能——你的下一张架构图,只差一句对话。',
- 'cta-install':'安装技能',
+ 'cta-sub':'一条命令为你的 Agent 安装经过检查的技能——下一张架构图,只差一句对话。',
+ 'cta-install':'安装技能','cta-gh':'在 GitHub 上 Star',
'footer-changelog':'更新日志','footer-license':'许可证','footer-community':'社区包'
}
};
diff --cc website/src/styles/community.css
index a12c3d55,bc252c82..78d5cd3c
--- a/website/src/styles/community.css
+++ b/website/src/styles/community.css
@@@ -74,7 -36,7 +36,7 @@@
border-radius: 999px;
background: transparent;
color: var(--muted);
- font-family:var(--font-mono); font-size:.5625rem; font-weight:500; letter-spacing:.12em; text-transform:uppercase;
- font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; text-transform:none;
++ font-family:var(--font-body); font-size:.8125rem; font-weight:500; letter-spacing:-.005em; text-transform:none;
cursor: pointer;
transition:all .18s var(--ease-out);
}
diff --cc website/test/migration.test.mjs
index 0ee4d930,e5820387..55367c88
--- a/website/test/migration.test.mjs
+++ b/website/test/migration.test.mjs
@@@ -22,19 -22,7 +22,20 @@@ function byId(node, id)
return [node, ...(node.childNodes || []).flatMap(child => byId(child, id)).filter(Boolean)]
.find(candidate => attr(candidate, 'id') === id);
}
+
+function semantic(node) {
+ if (node.nodeName === '#comment') return null;
+ if (node.nodeName === '#text') {
+ const text = node.value.replace(/\s+/g, ' ').trim();
+ return text || null;
+ }
+ const attrs = Object.fromEntries((node.attrs || []).map(a => [a.name, a.value]));
+ if (node.tagName === 'script' && attrs.type === 'application/json') {
+ return { tag: 'script', attrs, data: JSON.parse(node.childNodes.map(n => n.value || '').join('')) };
+ }
+ return { tag: node.tagName || node.nodeName, attrs, children: (node.childNodes || []).map(semantic).filter(Boolean) };
+}
+
for (const page of pages) {
test(`${page}: DOM, content, accessibility, scripts and styles match the migration baseline`, () => {
const old = parse(read(docs, page)), next = parse(read(dist, page));
@@@ -67,24 -65,6 +78,33 @@@
});
}
+test('homepage version labels and translations match the release identity baseline', () => {
+ const baseline = parse(read(docs, 'index.html'));
+ const generated = parse(read(dist, 'index.html'));
- for (const key of ['hero-badge', 'footer-meta']) {
++ // The redesigned eyebrow separates the version chip from its channel label.
++ const version = JSON.parse(read(path.resolve(root, '../archify'), 'package.json')).version;
++ const spans = elements(generated, 'span');
++ const badge = spans.find(node => attr(node, 'data-i18n') === 'hero-badge');
++ assert.equal(semantic(badge).children.join(' '), "Development Agent Skill · see what's new");
++ const versionChip = spans.find(node => (attr(node, 'class') || '').split(/\s+/).includes('eyebrow-tag'));
++ assert.equal(semantic(versionChip).children.join(' '), `v${version}`);
++ assert.match(read(dist, 'index.html'), /'hero-badge':"Development Agent Skill/);
++ assert.match(read(dist, 'index.html'), /'hero-badge':'开发版 Agent 技能/);
++ for (const key of ['footer-meta']) {
+ const labels = (tree) => [...elements(tree, 'span'), ...elements(tree, 'p')]
+ .filter(node => attr(node, 'data-i18n') === key).map(semantic);
+ assert.equal(labels(baseline).length, 1);
+ assert.deepEqual(labels(generated), labels(baseline), `${key}: initial identity`);
+ const translations = (tree) => elements(tree, 'script').flatMap(node => {
+ const source = (node.childNodes || []).map(child => child.value || '').join('');
+ return [...source.matchAll(new RegExp(`['"]${key}['"]\\s*:\\s*(['"])(.*?)\\1`, 'g'))]
+ .map(match => match[2]);
+ });
+ assert.equal(translations(baseline).length, 2, 'both built-in languages must be covered');
+ assert.deepEqual(translations(generated), translations(baseline), `${key}: translated identity`);
+ }
+});
+
test('all existing non-page public URLs retain exact file bytes', () => {
function visit(dir, rel = '') {
for (const entry of fs.readdirSync(dir, { withFileTypes: true })) {