Game Arch Diagram 标志

Game Arch Diagram

社区
296711867
game-arch-diagram

Software/game architecture diagrams as a parametric script — layered bands, rider-chip band titles, semantic tints with accent bars, update-order badges, white-halo edge labels, and the six real collision defects found by vision-judge rounds.

Add to TypingMind

概览

发布者296711867
代码仓库figcraft-skills
技能名称game-arch-diagram
星标数
26
复刻数
1
附带文件
4
许可协议MIT
链接
  • Markdown 格式的指令

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

  • 兼容任何大语言模型

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

  • 4 个附带文件

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

  • 开源

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

安装

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

1

安装到 TypingMind

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

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

安装到其他智能体

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

Claude Code — .claude/skills
git clone --depth 1 https://github.com/296711867/figcraft-skills.git /tmp/figcraft-skills
mkdir -p .claude/skills
cp -r /tmp/figcraft-skills/skills/game-arch-diagram .claude/skills/game-arch-diagram
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

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

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

兼容任何 AI 模型

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

  • 仅在需要时加载

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

  • 在聊天中切换模型

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

技能指令

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

Game/software architecture diagram (parametric, design-polished)

When to use

Drawing a software or game architecture figure — layered bands (input → state machine → core loop → meta systems → platform), a scene/state machine with chips, cross-band feedback loops, and a side build/CI chain. The figure is original (no bitmap reference), expected to be revised, and must pass an independent vision judge. For generic structure figures see parametric-diagram; for the end-to-end process see codex-figure-workflow.

What this skill adds over a plain parametric script

A design language that makes the figure look art-directed, not default. All of it is flat color — no shadows, no gradients (METHOD 第 7 条).

  1. Rider-chip band titles(骑缝标题牌) — each dashed band's title is a white rounded chip sitting ON the band's top border (white fill, semantic-color border + bold colored text). Reads as swimlane labels; frees the band's top row for content.
  2. Semantic tinted fills + left accent bar — every box gets a 4%-tint fill of its semantic color plus a 4px solid color bar on the left edge. Grouping becomes visible even in grayscale thumbnails.
  3. Update-order badges — numbered circle badges ①–⑥ in the top-right corner of core-loop boxes, matching the engine's per-frame call order. Readers infer execution flow without arrows.
  4. White-halo edge labels — every edge label gets stroke="#fff" stroke-width="4.5" paint-order="stroke", so a label sitting on any line or border stays legible.
  5. Band corner tags — small gray right-aligned text inside each band's top-right: 事件驱动 / updatePlay(1/60)·60Hz / 跨局持久 / 常驻. Free metadata, zero clutter.
  6. Three-tier type rhythm — figure title 34 / box main 22 bold / box sub 15 + band chip 20 / edge label 14.5, on a 1720px canvas. Scales down without collapsing.
  7. State-machine micro-flows — glyph arrows (→) between sequential chips, (·) between parallel ones, and a 「← 由 select 进入」 note for sub-scenes.

Declaration blocks (the template)

make_arch.py in this folder is a real, accepted figure. Structure:

python
GROUPS = {...}   # bands: (x,y,w,h, rider-chip text, corner tag, semantic color)
BOXES  = {...}   # boxes: (x,y,w,h, main, sub, semantic color)  sub may contain \n
BADGES = {...}   # core boxes: id → update-order digit
EDGES  = [...]   # E([waypoints], label, lx, ly, color, dash, anchor) — polyline, arrowhead on last segment
STYLE  = dict(...)  # palette constants + font sizes + line widths, one place
V_RHYTHM = {h: (main_dy, sub_dy, line_h)}  # per-box-height text vertical centering
est_w(text, size)  # text width budget: CJK 1.0×size, latin 0.56×size

Text-width budget is enforced everywhere a label meets a container: est_w(label) + start_x + 20 < W for legend rows; est_w(sub_line) < w − 24 for box subs; split into two lines instead of shrinking font.

Workflow

  1. Inventory the real system from source: layers, modules (with real class/function names), data flows, persistence, build/CI chain. Never draw aspirations.
  2. Grid the bands top-down following data flow; keep one semantic color per band; ≤3 accent colors total.
  3. Place boxes on an equal-gap grid; write subs as two lines max; wire EDGES as waypoint polylines (orthogonal jogs through designated channels between rows/columns).
  4. Render → export → judge exactly as visual-acceptance: inline-HTML pages, exact-size viewport screenshots (HTTP only — IAB/webview agents cannot goto file:), halves stitched with PIL, check_tiling.py, then an independent vision judge.
  5. Fix root causes from judge pixel evidence (see the defect catalogue below), re-render, targeted re-check.

Defect catalogue (all six found by vision judges on a real figure — pre-check these)

  1. Long reroute arrows cross unrelated boxes — a left-edge detour routed at a box row's mid-height flew straight through the 键盘 box. Fix: route detours ABOVE the top band (outside its border), not between rows.
  2. Vertical segment strikes through band-title glyphs — a drop line at the same x as the band title read as a strikethrough. Fix: shorten the title; move the origin x past the title's est_w end; or drop the horizontal jog below the glyph row.
  3. Edge label wider than the inter-box gap crosses both box borders — fix: move the label to the band's title strip row (y between band title and box tops), where there is full-width room.
  4. Orthogonal elbow corner lands inside a rider chip — chips stick OUT of the band border by half their height; any jog near the band's top-left corner can clip the chip. Fix: drop below chip_bottom = band_y + 16 before turning toward the target.
  5. Horizontal segment grazes a band corner-tag's glyph bottoms — tags occupy the band's y+12..y+30 row on the right. Fix: run that segment at band_y+40 or lower.
  6. Legend row wider than the canvas — fix: legend_x + est_w(longest_row) + 20 < W; shorten wording, don't shrink font.

Also: an SVG must be exported via inline HTML over HTTP — IAB/webview agents cannot navigate file:, and <img src="*.svg"> renders wrong.

Files

  • make_arch.py — the real accepted figure's source (字狂潮 v2.3 game architecture, 1720×1400): bands, scene machine with chips, 6 core modules with badges, meta-economy band with feedback loop, platform band, build chain, legend.
  • examples/arch-v2@2x.png — final render (3440×2800, stitched from viewport halves).
  • examples/arch-v2.svg / arch-v2@1x.png — vector source and full-view preview.

Verdict trail: round 1 FAIL (defects 1/2/3) → round 2 FAIL (defects 4/5/6 introduced by the design polish itself) → round 3 PASS, issues: [].

附带文件

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

常见问题

Game Arch Diagram AI 技能有什么作用?

Software/game architecture diagrams as a parametric script — layered bands, rider-chip band titles, semantic tints with accent bars, update-order badges, white-halo edge labels, and the six real collision defects found by vision-judge rounds.

为什么在 TypingMind 中使用 Game Arch Diagram?

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

如何在 TypingMind 中安装 Game Arch Diagram?

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

哪些 AI 模型可以使用 Game Arch Diagram?

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

Game Arch Diagram 可以搭配多少个 AI 模型使用?

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

Game Arch Diagram AI 技能免费吗?

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

什么是 AI 技能?

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

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

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

查看全部

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

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