[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M757ANM39M62CXKMK02XWGMS":3,"skill-same:01M757ANM39M62CXKMK02XWGMS":45},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":29,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M757ANM39M62CXKMK02XWGMS","game-arch-diagram",null,"Software\u002Fgame 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.","rakaarwaky\u002Fagents-arwaky","rakaarwaky","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F245127434?v=4","01M7574QFJB21S6PPNCK78WX68","Raka Arwaky","01M7574QG54PRT44Q4KMQFXY6B",0,"MIT","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Ffigcraft\u002Ffigure-skills\u002Fgame-arch-diagram\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: game-arch-diagram\ndescription: Software\u002Fgame 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.\n---\n\n# Game\u002Fsoftware architecture diagram (parametric, design-polished)\n\n## When to use\n\nDrawing a **software or game architecture figure** — layered bands (input → state machine → core loop → meta systems → platform), a scene\u002Fstate machine with chips, cross-band feedback loops, and a side build\u002FCI 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`](..\u002Fparametric-diagram\u002FSKILL.md); for the end-to-end process see [`codex-figure-workflow`](..\u002Fcodex-figure-workflow\u002FSKILL.md).\n\n## What this skill adds over a plain parametric script\n\nA **design language** that makes the figure look art-directed, not default. All of it is flat color — no shadows, no gradients (METHOD 第 7 条).\n\n1. **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.\n2. **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.\n3. **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.\n4. **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.\n5. **Band corner tags** — small gray right-aligned text inside each band's top-right: 事件驱动 \u002F updatePlay(1\u002F60)·60Hz \u002F 跨局持久 \u002F 常驻. Free metadata, zero clutter.\n6. **Three-tier type rhythm** — figure title 34 \u002F box main 22 bold \u002F box sub 15 + band chip 20 \u002F edge label 14.5, on a 1720px canvas. Scales down without collapsing.\n7. **State-machine micro-flows** — glyph arrows (→) between sequential chips, (·) between parallel ones, and a 「← 由 select 进入」 note for sub-scenes.\n\n## Declaration blocks (the template)\n\n`make_arch.py` in this folder is a real, accepted figure. Structure:\n\n```python\nGROUPS = {...}   # bands: (x,y,w,h, rider-chip text, corner tag, semantic color)\nBOXES  = {...}   # boxes: (x,y,w,h, main, sub, semantic color)  sub may contain \\n\nBADGES = {...}   # core boxes: id → update-order digit\nEDGES  = [...]   # E([waypoints], label, lx, ly, color, dash, anchor) — polyline, arrowhead on last segment\nSTYLE  = dict(...)  # palette constants + font sizes + line widths, one place\nV_RHYTHM = {h: (main_dy, sub_dy, line_h)}  # per-box-height text vertical centering\nest_w(text, size)  # text width budget: CJK 1.0×size, latin 0.56×size\n```\n\nText-width budget is enforced everywhere a label meets a container: `est_w(label) + start_x + 20 \u003C W` for legend rows; `est_w(sub_line) \u003C w − 24` for box subs; split into two lines instead of shrinking font.\n\n## Workflow\n\n1. **Inventory the real system** from source: layers, modules (with real class\u002Ffunction names), data flows, persistence, build\u002FCI chain. Never draw aspirations.\n2. **Grid the bands** top-down following data flow; keep one semantic color per band; ≤3 accent colors total.\n3. **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\u002Fcolumns).\n4. **Render → export → judge** exactly as [`visual-acceptance`](..\u002Fvisual-acceptance\u002FSKILL.md): inline-HTML pages, exact-size viewport screenshots (HTTP only — IAB\u002Fwebview agents cannot `goto file:`), halves stitched with PIL, `check_tiling.py`, then an independent vision judge.\n5. **Fix root causes** from judge pixel evidence (see the defect catalogue below), re-render, targeted re-check.\n\n## Defect catalogue (all six found by vision judges on a real figure — pre-check these)\n\n1. **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.*\n2. **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.*\n3. **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.*\n4. **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.*\n5. **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.*\n6. **Legend row wider than the canvas** — *fix: `legend_x + est_w(longest_row) + 20 \u003C W`; shorten wording, don't shrink font.*\n\nAlso: an SVG must be exported via inline HTML over **HTTP** — IAB\u002Fwebview agents cannot navigate `file:`, and `\u003Cimg src=\"*.svg\">` renders wrong.\n\n## Files\n\n- `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.\n- `examples\u002Farch-v2@2x.png` — final render (3440×2800, stitched from viewport halves).\n- `examples\u002Farch-v2.svg` \u002F `arch-v2@1x.png` — vector source and full-view preview.\n\nVerdict trail: round 1 FAIL (defects 1\u002F2\u002F3) → round 2 FAIL (defects 4\u002F5\u002F6 introduced by the design polish itself) → round 3 PASS, issues: [].\n","# Game\u002Fsoftware architecture diagram (parametric, design-polished)\n\n## When to use\n\nDrawing a **software or game architecture figure** — layered bands (input → state machine → core loop → meta systems → platform), a scene\u002Fstate machine with chips, cross-band feedback loops, and a side build\u002FCI 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`](..\u002Fparametric-diagram\u002FSKILL.md); for the end-to-end process see [`codex-figure-workflow`](..\u002Fcodex-figure-workflow\u002FSKILL.md).\n\n## What this skill adds over a plain parametric script\n\nA **design language** that makes the figure look art-directed, not default. All of it is flat color — no shadows, no gradients (METHOD 第 7 条).\n\n1. **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.\n2. **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.\n3. **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.\n4. **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.\n5. **Band corner tags** — small gray right-aligned text inside each band's top-right: 事件驱动 \u002F updatePlay(1\u002F60)·60Hz \u002F 跨局持久 \u002F 常驻. Free metadata, zero clutter.\n6. **Three-tier type rhythm** — figure title 34 \u002F box main 22 bold \u002F box sub 15 + band chip 20 \u002F edge label 14.5, on a 1720px canvas. Scales down without collapsing.\n7. **State-machine micro-flows** — glyph arrows (→) between sequential chips, (·) between parallel ones, and a 「← 由 select 进入」 note for sub-scenes.\n\n## Declaration blocks (the template)\n\n`make_arch.py` in this folder is a real, accepted figure. Structure:\n\n```python\nGROUPS = {...}   # bands: (x,y,w,h, rider-chip text, corner tag, semantic color)\nBOXES  = {...}   # boxes: (x,y,w,h, main, sub, semantic color)  sub may contain \\n\nBADGES = {...}   # core boxes: id → update-order digit\nEDGES  = [...]   # E([waypoints], label, lx, ly, color, dash, anchor) — polyline, arrowhead on last segment\nSTYLE  = dict(...)  # palette constants + font sizes + line widths, one place\nV_RHYTHM = {h: (main_dy, sub_dy, line_h)}  # per-box-height text vertical centering\nest_w(text, size)  # text width budget: CJK 1.0×size, latin 0.56×size\n```\n\nText-width budget is enforced everywhere a label meets a container: `est_w(label) + start_x + 20 \u003C W` for legend rows; `est_w(sub_line) \u003C w − 24` for box subs; split into two lines instead of shrinking font.\n\n## Workflow\n\n1. **Inventory the real system** from source: layers, modules (with real class\u002Ffunction names), data flows, persistence, build\u002FCI chain. Never draw aspirations.\n2. **Grid the bands** top-down following data flow; keep one semantic color per band; ≤3 accent colors total.\n3. **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\u002Fcolumns).\n4. **Render → export → judge** exactly as [`visual-acceptance`](..\u002Fvisual-acceptance\u002FSKILL.md): inline-HTML pages, exact-size viewport screenshots (HTTP only — IAB\u002Fwebview agents cannot `goto file:`), halves stitched with PIL, `check_tiling.py`, then an independent vision judge.\n5. **Fix root causes** from judge pixel evidence (see the defect catalogue below), re-render, targeted re-check.\n\n## Defect catalogue (all six found by vision judges on a real figure — pre-check these)\n\n1. **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.*\n2. **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.*\n3. **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.*\n4. **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.*\n5. **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.*\n6. **Legend row wider than the canvas** — *fix: `legend_x + est_w(longest_row) + 20 \u003C W`; shorten wording, don't shrink font.*\n\nAlso: an SVG must be exported via inline HTML over **HTTP** — IAB\u002Fwebview agents cannot navigate `file:`, and `\u003Cimg src=\"*.svg\">` renders wrong.\n\n## Files\n\n- `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.\n- `examples\u002Farch-v2@2x.png` — final render (3440×2800, stitched from viewport halves).\n- `examples\u002Farch-v2.svg` \u002F `arch-v2@1x.png` — vector source and full-view preview.\n\nVerdict trail: round 1 FAIL (defects 1\u002F2\u002F3) → round 2 FAIL (defects 4\u002F5\u002F6 introduced by the design polish itself) → round 3 PASS, issues: [].\n",{"name":5,"description":7},"main","e0708985ab2d620bc6e8fe741eaa4ec1960269e3","skills\u002Ffigcraft\u002Ffigure-skills\u002Fgame-arch-diagram","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky","https:\u002F\u002Fgithub.com\u002Frakaarwaky","https:\u002F\u002Fbuymeacoffee.com\u002Frakaarwaky","2026-11-15 04:28:37",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add rakaarwaky\u002Fagents-arwaky --skill game-arch-diagram",{"tool":37,"command":38},"bunx","bunx skills add rakaarwaky\u002Fagents-arwaky --skill game-arch-diagram",{"tool":40,"command":41},"pnpm","pnpm dlx skills add rakaarwaky\u002Fagents-arwaky --skill game-arch-diagram","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Ffigcraft\u002Ffigure-skills\u002Fgame-arch-diagram\u002FSKILL.md",true,[],[46,54,61,68,75,82],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":53},"01M78SFXSH86CW16Z5FEXMSJXH","github-workflow","Umbrella for GitHub auth, repo management, issues, PRs, Mergify, and releases. Subsumes github-auth and repo-manager.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fgit\u002Fgithub-workflow\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":53},"01M78SF81R7NVSCXAT8YQ255HM","brave-automation","baa CLI: Brave profiles, Google sessions, credentials.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fbrave-automation\u002Fbrave-automation\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":53},"01M78SEY7TS908JM8KVPBM6HBN","aes","AES docs, layers, rule fixes, and legacy migration.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Farchitechture\u002Faes\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"publishedAt":19},"01M757HBGFCMTJTQB45JQFXCC0","pretext","Build creative browser demos with DOM-free text layout.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fpretext\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M757H8K38ETN8F4ANBBRWY4G","popular-web-designs","54 real design systems (Stripe, Linear, Vercel) as HTML\u002FCSS.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fpopular-web-designs\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M757H5DM7QPN9H391572NH5B","p5js","p5.js sketches: gen art, shaders, interactive, 3D.","https:\u002F\u002Fgithub.com\u002Frakaarwaky\u002Fagents-arwaky\u002Fblob\u002Fmain\u002Fskills\u002Fweb-design\u002Fp5js\u002FSKILL.md",[],[]]