Archscribe 标志

Archscribe

社区
lazypay
archscribe

Create premium hand-drawn architecture, workflow, and swimlane diagrams in a dark neon or light paper style, with editable Excalidraw sources, PNG/SVG previews, animated GIF/MP4 output, and interactive HTML. Use whenever the user asks for 岚叔动态架构图、手绘架构图、Excalidraw 风格图、DailyDoseOfDS 风格技术图、动态流程图、泳道图、系统可视化,或希望复刻并提升参考架构图。

概览

发布者lazypay
代码仓库Archscribe
技能名称archscribe
星标数
369
复刻数
24
附带文件
78
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 78 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 lazypay 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Archscribe AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/lazypay/Archscribe/tree/main
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/lazypay/Archscribe.git \
  .claude/skills/archscribe
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Archscribe,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Archscribe。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Archscribe 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Archscribe

Turn an article, system description, process, or reference image into a polished hand-drawn diagram. The default browser renderer can produce PNG, GIF, MP4, SVG, editable Excalidraw, and interactive HTML.

1. Check the environment

Run once per session:

bash
python -X utf8 -c "import PIL, svg.path"
python -X utf8 -c "from playwright.sync_api import sync_playwright"
python -X utf8 scripts/doctor.py
  • Missing base packages: python -m pip install -r requirements.txt
  • Missing Playwright: python -m pip install -r requirements-browser.txt && python -m playwright install chromium
  • Missing ffmpeg: MP4 is skipped; other browser formats still work.
  • Chromium unavailable: use --renderer pillow. Pillow supports PNG, GIF, and Excalidraw with the classic flow animation.

Bundled fonts, icons, and rough.js keep the main visual system portable. Chromium, ffmpeg, and rare CJK fallback fonts remain environment dependencies.

2. Pick a layout

LayoutUse it forCapacity
panoramacomplete systems with inputs, core, decisions, and detail panels2-6 inputs, 2-4 core cards, 0-3 panels
swimlanecategory bands / comparison rows (DailyDoseOfDS-style), cross-role workflows, catalogs2-5 lanes with title + subtitle column, up to 5 steps each, in-lane dashed loop channels
graphfree-form per-project workflows with custom loop topology (retry/replan/recall...)2-24 nodes, up to 40 edges, auto DAG layout + loop lanes

Decision rule:

  • Whole system with multiple regions → panorama
  • Parallel categories, variants, roles, or a comparison ("the N types of X") → swimlane (each lane gets a tinted band, a darker title column with optional subtitle such as "Triggered by: ...", and right-to-left in-lane connections automatically drop into a dashed loop channel under the cards)
  • Anything with its own topology: linear stages, forks/joins, multiple distinct loops → graph (declare nodes + edges; kind: "loop" edges become dashed return channels that fire after the forward wave). Long rightward graphs auto-stack downward to prevent clipped sides and top-heavy layouts.

3. Write and validate the spec

Start from assets/default-spec.json or a file under assets/examples/. The complete field reference is references/spec-format.md.

Keep titles short, use the user's language, and move detail into bodies, notes, or an interactive HTML sidebar.

bash
python -X utf8 scripts/render_animated_diagram.py --spec spec.json --outdir out --validate-only

Fix every error. Warnings identify long text, unknown icons, ignored fields, content that exceeds a layout's capacity, graph auto-stacking, or ignored graph canvas width/height.

4. Choose a visual theme

Two styles, both first-class:

  • default: black-canvas neon hand drawing — glowing beams, grain, vignette. The brand hero look.
  • paper: light warm-white paper (DailyDoseOfDS-style) — sage/periwinkle band tints, near-black ink, white cards with colored strokes; the flow animation becomes small solid dots traveling the arrows instead of neon beams.

Styles control the full palette and finish. Use --style to override the spec. Any other style name fails validation.

5. Choose animation

  • flow: continuous data movement; safe default
  • draw: whiteboard construction
  • relay: one connection at a time
  • trace: follow a request path
  • chapter: staged explanatory build-up
  • failure-recovery: failure/retry-oriented narrative timing

The last three use deterministic narrative choreography and longer minimum timelines. The browser renderer is required for every preset except classic Pillow flow.

6. Render and verify

First render a PNG for layout review:

bash
python -X utf8 scripts/render_animated_diagram.py --spec spec.json --outdir out --basename diagram --formats png --check

Then render the publishing set:

bash
python -X utf8 scripts/render_animated_diagram.py --spec spec.json --outdir out --basename diagram --formats gif,mp4,png,excalidraw,svg,html --verify --check --strict-formats

--formats is exact: only requested, supported files are emitted. Unknown formats fail. Use --strict-formats for publishing so missing MP4/SVG/HTML fails instead of silently falling back. --check must return "ok": true.

Visually inspect the PNG for overlap, crossing connectors, cramped labels, weak hierarchy, clipped edges, and empty-space imbalance. Shorten copy or switch layout before reducing text below a readable size.

7. Icons and brands

Specs use stable semantic icon keys. Core keys include file, folder, scan, shield, db, package, message, api, clock, brain, gear, eye, terminal, globe, server, lock, check, and clipboard.

Additional semantic aliases cover cloud infrastructure, data, AI, security, business roles, and states, including cloud, cluster, container, queue, cache, vector-db, agent, model, rag, tool-call, guardrail, evaluation, identity, audit, user, success, failure, and retry.

For a custom logo or colorful icon, use icon_file with a local SVG/PNG path. Use left_panel.badge_file for a panorama panel brand mark. Paths resolve relative to the spec.

Illustration system

Every item that accepts icon also accepts:

  • icon_style: outline, illustrated, or hero.
  • icon_size: compact, standard, or hero.
  • icon_motion: auto (plays the icon's built-in job story) or none (freeze at rest pose). Legacy preset names (think-pulse, gear-spin, eye-scan, memory-write, shield-check, scope-scan, budget-gauge, trigger-ping, tool-spark, output-pop) are still accepted and behave like auto.

Use outline for dense secondary nodes, illustrated for normal concept cards, and hero for the 1-3 concepts that carry the story. The browser renderer draws plate-free "Neon Sketch Duotone" illustrations: theme-ink hand-drawn strokes plus one semantic accent on the moving part, where each of ~56 semantic families performs its own seamless-looping job story (synapse signals, gear pitches, chip drops, shackle clicks — see references/illustrated-icons.md). This includes a dedicated loop-workflow pack (loop, decision, split, merge, wait, orchestrator, subagent, handoff, human, plan, score, compare, sandbox, checkpoint, error, rollback, emit, ingest, …) for agent-loop and pipeline diagrams — sample spec assets/examples/loop-icon-pack-spec.json. Pillow renders a simplified offline duotone fallback; Excalidraw keeps editable icon placeholders.

For a DailyDoseOfDS-style short loop, use 1210×1138, 20 FPS, 41 frames, stable camera, 1-3 active paths at a time, illustrated/hero icons on the main concepts, and flow animation. Start from assets/examples/illustrated-loop-spec.json (dark panorama) or assets/examples/swimlane-spec.json (light paper bands).

8. Delivery

  • Show GIF inline when useful.
  • Prefer MP4 for publishing and social platforms.
  • Include PNG for quick viewing.
  • Include .excalidraw when editability matters.
  • Offer interactive HTML for exploration or presentations.
  • Use SVG for scalable static publication.

After changing this SKILL.md, open a new task or refresh the session before testing trigger behavior. Script and asset changes can be tested immediately.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

还有 18 个文件。

常见问题

Archscribe AI 技能有什么作用?

Create premium hand-drawn architecture, workflow, and swimlane diagrams in a dark neon or light paper style, with editable Excalidraw sources, PNG/SVG previews, animated GIF/MP4 output, and interactive HTML. Use whenever the user asks for 岚叔动态架构图、手绘架构图、Excalidraw 风格图、DailyDoseOfDS 风格技术图、动态流程图、泳道图、系统可视化,或希望复刻并提升参考架构图。

为什么在 TypingMind 中使用 Archscribe?

因为您只需安装一次,就能搭配任何模型使用。Archscribe 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Archscribe?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/lazypay/Archscribe/tree/main。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Archscribe?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Archscribe 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Archscribe 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Archscribe AI 技能免费吗?

是的。lazypay 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇