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.

概要

公開者296711867
リポジトリfigcraft-skills
スキル名game-arch-diagram
スター
26
フォーク
1
同梱ファイル
4
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 4個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    296711867がGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Game Arch Diagram」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

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

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

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を有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にGame Arch Diagramを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Game Arch Diagramは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じ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: [].

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「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.

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を読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Game Arch Diagramを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Game Arch Diagramで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもGame Arch Diagramを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Game Arch Diagram」は無料ですか?

はい。296711867がMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇