archify
它能做什么
Archify 可以根据文本或代码描述,创建用于架构、工作流、时序等内容的交互式图表。它会生成一个 HTML 文件,可在浏览器中查看,并提供主题和导出选项。
适用场景
- ✓需要可视化软件系统结构时。
- ✓用于记录流程或数据流时。
- ✓规划数据库中的信息组织方式时。
技能链接
https://github.com/tt-a1i/archify/blob/main/archify/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“创建一个工作流图,展示用户的登录流程,从输入凭证到确认登录。”
每周 5 个新技能,1 分钟读完。
工作原理
你提供想要绘制的内容描述(文本或代码),Archify 会把它转换成一个交互式 HTML 文件。它还会把所有内容整理到文件夹中,便于管理。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Archify
Create an interactive HTML diagram from typed JSON.
Run commands from your working directory. Unless the user names another location, give each new diagram request its own folder .archify/<type>-<slug>-<YYYYMMDD-HHMMSS>/ there (local time, chosen once when the request starts): keep candidate.json and <slug>.html in it, set meta.output to that HTML path relative to the working directory, and reuse the folder for every repair rerun. A later request gets a new folder, so earlier versions stay intact. Replace bin/archify.mjs in the commands below with the installed package's absolute path, or its path relative to your working directory; input and output paths resolve from that working directory.
For a real codebase, read Repository authoring while tracing the requested behavior. A system description uses the steps below; an existing JSON uses the handoff path.
Existing candidate handoff
When the user supplies a frozen candidate, run finalize first as one CLI invocation. Its passing receipt completes the automated gates; follow any visual review recommendation under Delivery before claiming visual quality. For repair, follow step 5.
finalize includes a bounded update check in its delivery receipt; see Update awareness.
Fast authoring path
Use this path for ordinary generation. Read branch references only when their stated trigger applies.
- Choose
architecture,workflow,sequence,dataflow,lifecycle,erd,class,tree,timeline, orwaterfallfrom the question. - Use the exact schema and example paths in the Type router without listing their directories. Read Authoring defaults and the mode's example in a bounded batch separate from project documents and complete schemas so neither is truncated; recover any missing section before writing. For Architecture, use the matching showcase example. For every mode except Architecture, also read the mode and common schemas. Read the relevant schema definition before choosing any new field, enum, or constrained text, especially boundary kinds. Examples teach shape, not facts. Use fresh IDs, wording, and layout. Go directly to the candidate without preliminary help, doctor, starter validation, temporary diagrams, or output-path listing. Query brands only for an explicitly requested mark; read Brand marks for an unknown mark with a user-provided URL.
…
常见问题
Archify 可以创建哪些类型的图表?
它可以创建架构图、工作流图、时序图、数据流图、生命周期/状态图、实体关系图、类/接口图、树状图、时间线图和执行瀑布图。
Archify 如何处理已有的代码?
它可以检查你的代码仓库,并根据代码的结构和行为来创建图表。
可以自定义图表的外观吗?
可以。它提供深色和浅色主题,还有一个可选的动效功能。
详情
作者的原始描述
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 in
repo: tt-a1i/archify
热度
- GitHub 星标
- 84k
- 排名
- #1395
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …