[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6JK9FD4EYZ3618JBAR118XW":3,"skill-same:01M6JK9FD4EYZ3618JBAR118XW":69},{"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":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":54,"ownerDescription":6,"updatedAt":55,"install":56,"resources":68},"01M6JK9FD4EYZ3618JBAR118XW","design-system",null,"Guided, section-by-section GDD authoring for a single game system. Gathers context from existing docs, walks through each required section collaboratively, cross-references dependencies, and writes incrementally to file.","LongLeo287\u002FOmniClaw","LongLeo287","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141803367?v=4","01M6JK75C62VCNZKR5BRZ386YV","LongLeo","01M6JK75GQ78TSP1ZPXNKK3MCH",9,"MIT","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fbrain\u002Fknowledge\u002Frepositories\u002Fclaude_code_game_studios\u002F.claude\u002Fskills\u002Fdesign_system\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"design system","design","system","Existing","for","true","ComBat","name","authoring","dependencies","dialogue","task","references","context","edit","write","read","game","inventory","file","2026-11-10 10:12:30",false,"---\nname: design-system\ndescription: \"Guided, section-by-section GDD authoring for a single game system. Gathers context from existing docs, walks through each required section collaboratively, cross-references dependencies, and writes incrementally to file.\"\nargument-hint: \"\u003Csystem-name> (e.g., 'combat-system', 'inventory', 'dialogue')\"\nuser-invocable: true\nallowed-tools: Read, Glob, Grep, Write, Edit, Task, AskUserQuestion, TodoWrite\n---\n\nWhen this skill is invoked:\n\n## 1. Parse Arguments & Validate\n\nA system name argument is **required**. If missing, fail with:\n> \"Usage: `\u002Fdesign-system \u003Csystem-name>` — e.g., `\u002Fdesign-system combat-system`\n> Run `\u002Fmap-systems` first to create the systems index, then use this skill\n> to write individual system GDDs.\"\n\nNormalize the system name to kebab-case for the filename (e.g., \"combat system\"\nbecomes `combat-system`).\n\n---\n\n## 2. Gather Context (Read Phase)\n\nRead all relevant context **before** asking the user anything. This is the skill's\nprimary advantage over ad-hoc design — it arrives informed.\n\n### 2a: Required Reads\n\n- **Game concept**: Read `design\u002Fgdd\u002Fgame-concept.md` — fail if missing:\n  > \"No game concept found. Run `\u002Fbrainstorm` first.\"\n- **Systems index**: Read `design\u002Fgdd\u002Fsystems-index.md` — fail if missing:\n  > \"No systems index found. Run `\u002Fmap-systems` first to map your systems.\"\n- **Target system**: Find the system in the index. If not listed, warn:\n  > \"[system-name] is not in the systems index. Would you like to add it, or\n  > design it as an off-index system?\"\n\n### 2b: Dependency Reads\n\nFrom the systems index, identify:\n- **Upstream dependencies**: Systems this one depends on. Read their GDDs if they\n  exist (these contain decisions this system must respect).\n- **Downstream dependents**: Systems that depend on this one. Read their GDDs if\n  they exist (these contain expectations this system must satisfy).\n\nFor each dependency GDD that exists, extract and hold in context:\n- Key interfaces (what data flows between the systems)\n- Formulas that reference this system's outputs\n- Edge cases that assume this system's behavior\n- Tuning knobs that feed into this system\n\n### 2c: Optional Reads\n\n- **Game pillars**: Read `design\u002Fgdd\u002Fgame-pillars.md` if it exists\n- **Existing GDD**: Read `design\u002Fgdd\u002F[system-name].md` if it exists (resume, don't\n  restart from scratch)\n- **Related GDDs**: Glob `design\u002Fgdd\u002F*.md` and read any that are thematically related\n  (e.g., if designing \"status-effects\", also read \"combat-system\" even if it's not\n  a direct dependency)\n\n### 2d: Present Context Summary\n\nBefore starting design work, present a brief summary to the user:\n\n> **Designing: [System Name]**\n> - Priority: [from index] | Layer: [from index]\n> - Depends on: [list, noting which have GDDs vs. undesigned]\n> - Depended on by: [list, noting which have GDDs vs. undesigned]\n> - Existing decisions to respect: [key constraints from dependency GDDs]\n> - Pillar alignment: [which pillar(s) this system primarily serves]\n\nIf any upstream dependencies are undesigned, warn:\n> \"[dependency] doesn't have a GDD yet. We'll need to make assumptions about\n> its interface. Consider designing it first, or we can define the expected\n> contract and flag it as provisional.\"\n\nUse `AskUserQuestion`:\n- \"Ready to start designing [system-name]?\"\n  - Options: \"Yes, let's go\", \"Show me more context first\", \"Design a dependency first\"\n\n---\n\n## 3. Create File Skeleton\n\nOnce the user confirms, **immediately** create the GDD file with empty section\nheaders. This ensures incremental writes have a target.\n\nUse the template structure from `.claude\u002Fdocs\u002Ftemplates\u002Fgame-design-document.md`:\n\n```markdown\n# [System Name]\n\n> **Status**: In Design\n> **Author**: [user + agents]\n> **Last Updated**: [today's date]\n> **Implements Pillar**: [from context]\n\n## Overview\n\n[To be designed]\n\n## Player Fantasy\n\n[To be designed]\n\n## Detailed Design\n\n### Core Rules\n\n[To be designed]\n\n### States and Transitions\n\n[To be designed]\n\n### Interactions with Other Systems\n\n[To be designed]\n\n## Formulas\n\n[To be designed]\n\n## Edge Cases\n\n[To be designed]\n\n## Dependencies\n\n[To be designed]\n\n## Tuning Knobs\n\n[To be designed]\n\n## Visual\u002FAudio Requirements\n\n[To be designed]\n\n## UI Requirements\n\n[To be designed]\n\n## Acceptance Criteria\n\n[To be designed]\n\n## Open Questions\n\n[To be designed]\n```\n\nAsk: \"May I create the skeleton file at `design\u002Fgdd\u002F[system-name].md`?\"\n\nAfter writing, update `production\u002Fsession-state\u002Factive.md` with:\n- Task: Designing [system-name] GDD\n- Current section: Starting (skeleton created)\n- File: design\u002Fgdd\u002F[system-name].md\n\n---\n\n## 4. Section-by-Section Design\n\nWalk through each section in order. For **each section**, follow this cycle:\n\n### The Section Cycle\n\n```\nContext  ->  Questions  ->  Options  ->  Decision  ->  Draft  ->  Approval  ->  Write\n```\n\n1. **Context**: State what this section needs to contain, and surface any relevant\n   decisions from dependency GDDs that constrain it.\n\n2. **Questions**: Ask clarifying questions specific to this section. Use\n   `AskUserQuestion` for constrained questions, conversational text for open-ended\n   exploration.\n\n3. **Options**: Where the section involves design choices (not just documentation),\n   present 2-4 approaches with pros\u002Fcons. Explain reasoning in conversation text,\n   then use `AskUserQuestion` to capture the decision.\n\n4. **Decision**: User picks an approach or provides custom direction.\n\n5. **Draft**: Write the section content in conversation text for review. Flag any\n   provisional assumptions about undesigned dependencies.\n\n6. **Approval**: Ask \"Approve this section, or would you like changes?\"\n\n7. **Write**: Use the Edit tool to replace the `[To be designed]` placeholder with\n   the approved content. Confirm the write.\n\nAfter writing each section, update `production\u002Fsession-state\u002Factive.md` with the\ncompleted section name.\n\n### Section-Specific Guidance\n\nEach section has unique design considerations and may benefit from specialist agents:\n\n---\n\n### Section A: Overview\n\n**Goal**: One paragraph a stranger could read and understand.\n\n**Questions to ask**:\n- What is this system in one sentence?\n- How does a player interact with it? (active\u002Fpassive\u002Fautomatic)\n- Why does this system exist — what would the game lose without it?\n\n**Cross-reference**: Check that the description aligns with how the systems index\ndescribes it. Flag discrepancies.\n\n---\n\n### Section B: Player Fantasy\n\n**Goal**: The emotional target — what the player should *feel*.\n\n**Questions to ask**:\n- What emotion or power fantasy does this serve?\n- What reference games nail this feeling? What specifically creates it?\n- Is this a \"system you love engaging with\" or \"infrastructure you don't notice\"?\n\n**Cross-reference**: Must align with the game pillars. If the system serves a pillar,\nquote the relevant pillar text.\n\n---\n\n### Section C: Detailed Design (Core Rules, States, Interactions)\n\n**Goal**: Unambiguous specification a programmer could implement without questions.\n\nThis is usually the largest section. Break it into sub-sections:\n\n1. **Core Rules**: The fundamental mechanics. Use numbered rules for sequential\n   processes, bullets for properties.\n2. **States and Transitions**: If the system has states, map every state and\n   every valid transition. Use a table.\n3. **Interactions with Other Systems**: For each dependency (upstream and downstream),\n   specify what data flows in, what flows out, and who owns the interface.\n\n**Questions to ask**:\n- Walk me through a typical use of this system, step by step\n- What are the decision points the player faces?\n- What can the player NOT do? (Constraints are as important as capabilities)\n\n**Agent delegation**: For complex mechanics, use the Task tool to delegate to\n`game-designer` for high-level design review, or `systems-designer` for detailed\nmechanical modeling. Provide the full context gathered in Phase 2.\n\n**Cross-reference**: For each interaction listed, verify it matches what the\ndependency GDD specifies. If the dependency says \"damage is calculated as X\" and\nthis system expects something different, flag the conflict.\n\n---\n\n### Section D: Formulas\n\n**Goal**: Every mathematical formula, with variables defined, ranges specified,\nand edge cases noted.\n\n**Questions to ask**:\n- What are the core calculations this system performs?\n- Should scaling be linear, logarithmic, or stepped?\n- What should the output ranges be at early\u002Fmid\u002Flate game?\n\n**Agent delegation**: For formula-heavy systems (combat, economy, progression),\ndelegate to `systems-designer` via the Task tool. Provide:\n- The Core Rules from Section C (already written to file)\n- Tuning goals from the user\n- Balance context from dependency GDDs\n\nThe agent should return proposed formulas with variable tables and expected output\nranges. Present these to the user for review before approving.\n\n**Cross-reference**: If a dependency GDD defines a formula whose output feeds into\nthis system, reference it explicitly. Don't reinvent — connect.\n\n---\n\n### Section E: Edge Cases\n\n**Goal**: Explicitly handle unusual situations so they don't become bugs.\n\n**Questions to ask**:\n- What happens at zero? At maximum? At negative values?\n- What happens when two effects trigger simultaneously?\n- What happens if the player tries to exploit this? (Identify degenerate strategies)\n\n**Agent delegation**: For systems with complex interactions, delegate to\n`systems-designer` to identify edge cases from the formula space. For narrative\nsystems, consult `narrative-director` for story-breaking edge cases.\n\n**Cross-reference**: Check edge cases against dependency GDDs. If combat says\n\"damage cannot go below 1\" but this system can reduce damage to 0, that's a\nconflict to resolve.\n\n---\n\n### Section F: Dependencies\n\n**Goal**: Map every system connection with direction and nature.\n\nThis section is partially pre-filled from the context gathering phase. Present the\nknown dependencies from the systems index and ask:\n- Are there dependencies I'm missing?\n- For each dependency, what's the specific data interface?\n- Which dependencies are hard (system cannot function without it) vs. soft\n  (enhanced by it but works without it)?\n\n**Cross-reference**: This section must be bidirectionally consistent. If this system\nlists \"depends on Combat\", then the Combat GDD should list \"depended on by [this\nsystem]\". Flag any one-directional dependencies for correction.\n\n---\n\n### Section G: Tuning Knobs\n\n**Goal**: Every designer-adjustable value, with safe ranges and extreme behaviors.\n\n**Questions to ask**:\n- What values should designers be able to tweak without code changes?\n- For each knob, what breaks if it's set too high? Too low?\n- Which knobs interact with each other? (Changing A makes B irrelevant)\n\n**Agent delegation**: If formulas are complex, delegate to `systems-designer`\nto derive tuning knobs from the formula variables.\n\n**Cross-reference**: If a dependency GDD lists tuning knobs that affect this system,\nreference them here. Don't create duplicate knobs — point to the source of truth.\n\n---\n\n### Section H: Acceptance Criteria\n\n**Goal**: Testable conditions that prove the system works as designed.\n\n**Questions to ask**:\n- What's the minimum set of tests that prove this works?\n- What performance budget does this system get? (frame time, memory)\n- What would a QA tester check first?\n\n**Cross-reference**: Include criteria that verify cross-system interactions work,\nnot just this system in isolation.\n\n---\n\n### Optional Sections: Visual\u002FAudio, UI Requirements, Open Questions\n\nThese sections are included in the template but aren't part of the 8 required\nsections. Offer them after the required sections are done:\n\nUse `AskUserQuestion`:\n- \"The 8 required sections are complete. Do you want to also define Visual\u002FAudio\n  requirements, UI requirements, or capture open questions?\"\n  - Options: \"Yes, all three\", \"Just open questions\", \"Skip — I'll add these later\"\n\nFor **Visual\u002FAudio**: Coordinate with `art-director` and `audio-director` if detail\nis needed. Often a brief note suffices at the GDD stage.\n\nFor **UI Requirements**: Coordinate with `ux-designer` for complex UI systems.\n\nFor **Open Questions**: Capture anything that came up during design that wasn't\nfully resolved. Each question should have an owner and target resolution date.\n\n---\n\n## 5. Post-Design Validation\n\nAfter all sections are written:\n\n### 5a: Self-Check\n\nRead back the complete GDD from file (not from conversation memory — the file is\nthe source of truth). Verify:\n- All 8 required sections have real content (not placeholders)\n- Formulas reference defined variables\n- Edge cases have resolutions\n- Dependencies are listed with interfaces\n- Acceptance criteria are testable\n\n### 5b: Offer Design Review\n\nPresent a completion summary:\n\n> **GDD Complete: [System Name]**\n> - Sections written: [list]\n> - Provisional assumptions: [list any assumptions about undesigned dependencies]\n> - Cross-system conflicts found: [list or \"none\"]\n\nUse `AskUserQuestion`:\n- \"Run `\u002Fdesign-review` now to validate the GDD?\"\n  - Options: \"Yes, run review now\", \"I'll review it myself first\", \"Skip review\"\n\nIf yes, invoke the design-review skill on the completed file.\n\n### 5c: Update Systems Index\n\nAfter the GDD is complete (and optionally reviewed):\n\n- Read the systems index\n- Update the target system's row:\n  - If design-review was run and verdict is APPROVED: Status → \"Approved\"\n  - If design-review was run and verdict is NEEDS REVISION: Status → \"In Review\"\n  - If design-review was skipped: Status → \"Designed\" (pending review)\n  - If the user chose \"I'll review it myself first\": Status → \"Designed\"\n  - Design Doc: link to `design\u002Fgdd\u002F[system-name].md`\n- Update the Progress Tracker counts\n\nAsk: \"May I update the systems index at `design\u002Fgdd\u002Fsystems-index.md`?\"\n\n### 5d: Update Session State\n\nUpdate `production\u002Fsession-state\u002Factive.md` with:\n- Task: [system-name] GDD\n- Status: Complete (or In Review if design-review was run)\n- File: design\u002Fgdd\u002F[system-name].md\n- Sections: All 8 written\n- Next: [suggest next system from design order]\n\n### 5e: Suggest Next Steps\n\nUse `AskUserQuestion`:\n- \"What's next?\"\n  - Options:\n    - \"Design next system ([next-in-order])\" — if undesigned systems remain\n    - \"Fix review findings\" — if design-review flagged issues\n    - \"Stop here for this session\"\n    - \"Run `\u002Fgate-check`\" — if enough MVP systems are designed\n\n---\n\n## 6. Specialist Agent Routing\n\nThis skill delegates to specialist agents for domain expertise. The main session\norchestrates the overall flow; agents provide expert content.\n\n| System Category | Primary Agent | Supporting Agent(s) |\n|----------------|---------------|---------------------|\n| Combat, damage, health | `game-designer` | `systems-designer` (formulas), `ai-programmer` (enemy AI) |\n| Economy, loot, crafting | `economy-designer` | `systems-designer` (curves), `game-designer` (loops) |\n| Progression, XP, skills | `game-designer` | `systems-designer` (curves), `economy-designer` (sinks) |\n| Dialogue, quests, lore | `game-designer` | `narrative-director` (story), `writer` (content) |\n| UI systems (HUD, menus) | `game-designer` | `ux-designer` (flows), `ui-programmer` (feasibility) |\n| Audio systems | `game-designer` | `audio-director` (direction), `sound-designer` (specs) |\n| AI, pathfinding, behavior | `game-designer` | `ai-programmer` (implementation), `systems-designer` (scoring) |\n| Level\u002Fworld systems | `game-designer` | `level-designer` (spatial), `world-builder` (lore) |\n| Camera, input, controls | `game-designer` | `ux-designer` (feel), `gameplay-programmer` (feasibility) |\n\n**When delegating via Task tool**:\n- Provide: system name, game concept summary, dependency GDD excerpts, the specific\n  section being worked on, and what question needs expert input\n- The agent returns analysis\u002Fproposals to the main session\n- The main session presents the agent's output to the user via `AskUserQuestion`\n- The user decides; the main session writes to file\n- Agents do NOT write to files directly — the main session owns all file writes\n\n---\n\n## 7. Recovery & Resume\n\nIf the session is interrupted (compaction, crash, new session):\n\n1. Read `production\u002Fsession-state\u002Factive.md` — it records the current system and\n   which sections are complete\n2. Read `design\u002Fgdd\u002F[system-name].md` — sections with real content are done;\n   sections with `[To be designed]` still need work\n3. Resume from the next incomplete section — no need to re-discuss completed ones\n\nThis is why incremental writing matters: every approved section survives any\ndisruption.\n\n---\n\n## Collaborative Protocol\n\nThis skill follows the collaborative design principle at every step:\n\n1. **Question -> Options -> Decision -> Draft -> Approval** for every section\n2. **AskUserQuestion** at every decision point (Explain -> Capture pattern):\n   - Phase 2: \"Ready to start, or need more context?\"\n   - Phase 3: \"May I create the skeleton?\"\n   - Phase 4 (each section): Design questions, approach options, draft approval\n   - Phase 5: \"Run design review? Update systems index? What's next?\"\n3. **\"May I write to [filepath]?\"** before the skeleton and before each section write\n4. **Incremental writing**: Each section is written to file immediately after approval\n5. **Session state updates**: After every section write\n6. **Cross-referencing**: Every section checks existing GDDs for conflicts\n7. **Specialist routing**: Complex sections get expert agent input, presented to\n   the user for decision — never written silently\n\n**Never** auto-generate the full GDD and present it as a fait accompli.\n**Never** write a section without user approval.\n**Never** contradict an existing approved GDD without flagging the conflict.\n**Always** show where decisions come from (dependency GDDs, pillars, user choices).\n","When this skill is invoked:\n\n## 1. Parse Arguments & Validate\n\nA system name argument is **required**. If missing, fail with:\n> \"Usage: `\u002Fdesign-system \u003Csystem-name>` — e.g., `\u002Fdesign-system combat-system`\n> Run `\u002Fmap-systems` first to create the systems index, then use this skill\n> to write individual system GDDs.\"\n\nNormalize the system name to kebab-case for the filename (e.g., \"combat system\"\nbecomes `combat-system`).\n\n---\n\n## 2. Gather Context (Read Phase)\n\nRead all relevant context **before** asking the user anything. This is the skill's\nprimary advantage over ad-hoc design — it arrives informed.\n\n### 2a: Required Reads\n\n- **Game concept**: Read `design\u002Fgdd\u002Fgame-concept.md` — fail if missing:\n  > \"No game concept found. Run `\u002Fbrainstorm` first.\"\n- **Systems index**: Read `design\u002Fgdd\u002Fsystems-index.md` — fail if missing:\n  > \"No systems index found. Run `\u002Fmap-systems` first to map your systems.\"\n- **Target system**: Find the system in the index. If not listed, warn:\n  > \"[system-name] is not in the systems index. Would you like to add it, or\n  > design it as an off-index system?\"\n\n### 2b: Dependency Reads\n\nFrom the systems index, identify:\n- **Upstream dependencies**: Systems this one depends on. Read their GDDs if they\n  exist (these contain decisions this system must respect).\n- **Downstream dependents**: Systems that depend on this one. Read their GDDs if\n  they exist (these contain expectations this system must satisfy).\n\nFor each dependency GDD that exists, extract and hold in context:\n- Key interfaces (what data flows between the systems)\n- Formulas that reference this system's outputs\n- Edge cases that assume this system's behavior\n- Tuning knobs that feed into this system\n\n### 2c: Optional Reads\n\n- **Game pillars**: Read `design\u002Fgdd\u002Fgame-pillars.md` if it exists\n- **Existing GDD**: Read `design\u002Fgdd\u002F[system-name].md` if it exists (resume, don't\n  restart from scratch)\n- **Related GDDs**: Glob `design\u002Fgdd\u002F*.md` and read any that are thematically related\n  (e.g., if designing \"status-effects\", also read \"combat-system\" even if it's not\n  a direct dependency)\n\n### 2d: Present Context Summary\n\nBefore starting design work, present a brief summary to the user:\n\n> **Designing: [System Name]**\n> - Priority: [from index] | Layer: [from index]\n> - Depends on: [list, noting which have GDDs vs. undesigned]\n> - Depended on by: [list, noting which have GDDs vs. undesigned]\n> - Existing decisions to respect: [key constraints from dependency GDDs]\n> - Pillar alignment: [which pillar(s) this system primarily serves]\n\nIf any upstream dependencies are undesigned, warn:\n> \"[dependency] doesn't have a GDD yet. We'll need to make assumptions about\n> its interface. Consider designing it first, or we can define the expected\n> contract and flag it as provisional.\"\n\nUse `AskUserQuestion`:\n- \"Ready to start designing [system-name]?\"\n  - Options: \"Yes, let's go\", \"Show me more context first\", \"Design a dependency first\"\n\n---\n\n## 3. Create File Skeleton\n\nOnce the user confirms, **immediately** create the GDD file with empty section\nheaders. This ensures incremental writes have a target.\n\nUse the template structure from `.claude\u002Fdocs\u002Ftemplates\u002Fgame-design-document.md`:\n\n```markdown\n# [System Name]\n\n> **Status**: In Design\n> **Author**: [user + agents]\n> **Last Updated**: [today's date]\n> **Implements Pillar**: [from context]\n\n## Overview\n\n[To be designed]\n\n## Player Fantasy\n\n[To be designed]\n\n## Detailed Design\n\n### Core Rules\n\n[To be designed]\n\n### States and Transitions\n\n[To be designed]\n\n### Interactions with Other Systems\n\n[To be designed]\n\n## Formulas\n\n[To be designed]\n\n## Edge Cases\n\n[To be designed]\n\n## Dependencies\n\n[To be designed]\n\n## Tuning Knobs\n\n[To be designed]\n\n## Visual\u002FAudio Requirements\n\n[To be designed]\n\n## UI Requirements\n\n[To be designed]\n\n## Acceptance Criteria\n\n[To be designed]\n\n## Open Questions\n\n[To be designed]\n```\n\nAsk: \"May I create the skeleton file at `design\u002Fgdd\u002F[system-name].md`?\"\n\nAfter writing, update `production\u002Fsession-state\u002Factive.md` with:\n- Task: Designing [system-name] GDD\n- Current section: Starting (skeleton created)\n- File: design\u002Fgdd\u002F[system-name].md\n\n---\n\n## 4. Section-by-Section Design\n\nWalk through each section in order. For **each section**, follow this cycle:\n\n### The Section Cycle\n\n```\nContext  ->  Questions  ->  Options  ->  Decision  ->  Draft  ->  Approval  ->  Write\n```\n\n1. **Context**: State what this section needs to contain, and surface any relevant\n   decisions from dependency GDDs that constrain it.\n\n2. **Questions**: Ask clarifying questions specific to this section. Use\n   `AskUserQuestion` for constrained questions, conversational text for open-ended\n   exploration.\n\n3. **Options**: Where the section involves design choices (not just documentation),\n   present 2-4 approaches with pros\u002Fcons. Explain reasoning in conversation text,\n   then use `AskUserQuestion` to capture the decision.\n\n4. **Decision**: User picks an approach or provides custom direction.\n\n5. **Draft**: Write the section content in conversation text for review. Flag any\n   provisional assumptions about undesigned dependencies.\n\n6. **Approval**: Ask \"Approve this section, or would you like changes?\"\n\n7. **Write**: Use the Edit tool to replace the `[To be designed]` placeholder with\n   the approved content. Confirm the write.\n\nAfter writing each section, update `production\u002Fsession-state\u002Factive.md` with the\ncompleted section name.\n\n### Section-Specific Guidance\n\nEach section has unique design considerations and may benefit from specialist agents:\n\n---\n\n### Section A: Overview\n\n**Goal**: One paragraph a stranger could read and understand.\n\n**Questions to ask**:\n- What is this system in one sentence?\n- How does a player interact with it? (active\u002Fpassive\u002Fautomatic)\n- Why does this system exist — what would the game lose without it?\n\n**Cross-reference**: Check that the description aligns with how the systems index\ndescribes it. Flag discrepancies.\n\n---\n\n### Section B: Player Fantasy\n\n**Goal**: The emotional target — what the player should *feel*.\n\n**Questions to ask**:\n- What emotion or power fantasy does this serve?\n- What reference games nail this feeling? What specifically creates it?\n- Is this a \"system you love engaging with\" or \"infrastructure you don't notice\"?\n\n**Cross-reference**: Must align with the game pillars. If the system serves a pillar,\nquote the relevant pillar text.\n\n---\n\n### Section C: Detailed Design (Core Rules, States, Interactions)\n\n**Goal**: Unambiguous specification a programmer could implement without questions.\n\nThis is usually the largest section. Break it into sub-sections:\n\n1. **Core Rules**: The fundamental mechanics. Use numbered rules for sequential\n   processes, bullets for properties.\n2. **States and Transitions**: If the system has states, map every state and\n   every valid transition. Use a table.\n3. **Interactions with Other Systems**: For each dependency (upstream and downstream),\n   specify what data flows in, what flows out, and who owns the interface.\n\n**Questions to ask**:\n- Walk me through a typical use of this system, step by step\n- What are the decision points the player faces?\n- What can the player NOT do? (Constraints are as important as capabilities)\n\n**Agent delegation**: For complex mechanics, use the Task tool to delegate to\n`game-designer` for high-level design review, or `systems-designer` for detailed\nmechanical modeling. Provide the full context gathered in Phase 2.\n\n**Cross-reference**: For each interaction listed, verify it matches what the\ndependency GDD specifies. If the dependency says \"damage is calculated as X\" and\nthis system expects something different, flag the conflict.\n\n---\n\n### Section D: Formulas\n\n**Goal**: Every mathematical formula, with variables defined, ranges specified,\nand edge cases noted.\n\n**Questions to ask**:\n- What are the core calculations this system performs?\n- Should scaling be linear, logarithmic, or stepped?\n- What should the output ranges be at early\u002Fmid\u002Flate game?\n\n**Agent delegation**: For formula-heavy systems (combat, economy, progression),\ndelegate to `systems-designer` via the Task tool. Provide:\n- The Core Rules from Section C (already written to file)\n- Tuning goals from the user\n- Balance context from dependency GDDs\n\nThe agent should return proposed formulas with variable tables and expected output\nranges. Present these to the user for review before approving.\n\n**Cross-reference**: If a dependency GDD defines a formula whose output feeds into\nthis system, reference it explicitly. Don't reinvent — connect.\n\n---\n\n### Section E: Edge Cases\n\n**Goal**: Explicitly handle unusual situations so they don't become bugs.\n\n**Questions to ask**:\n- What happens at zero? At maximum? At negative values?\n- What happens when two effects trigger simultaneously?\n- What happens if the player tries to exploit this? (Identify degenerate strategies)\n\n**Agent delegation**: For systems with complex interactions, delegate to\n`systems-designer` to identify edge cases from the formula space. For narrative\nsystems, consult `narrative-director` for story-breaking edge cases.\n\n**Cross-reference**: Check edge cases against dependency GDDs. If combat says\n\"damage cannot go below 1\" but this system can reduce damage to 0, that's a\nconflict to resolve.\n\n---\n\n### Section F: Dependencies\n\n**Goal**: Map every system connection with direction and nature.\n\nThis section is partially pre-filled from the context gathering phase. Present the\nknown dependencies from the systems index and ask:\n- Are there dependencies I'm missing?\n- For each dependency, what's the specific data interface?\n- Which dependencies are hard (system cannot function without it) vs. soft\n  (enhanced by it but works without it)?\n\n**Cross-reference**: This section must be bidirectionally consistent. If this system\nlists \"depends on Combat\", then the Combat GDD should list \"depended on by [this\nsystem]\". Flag any one-directional dependencies for correction.\n\n---\n\n### Section G: Tuning Knobs\n\n**Goal**: Every designer-adjustable value, with safe ranges and extreme behaviors.\n\n**Questions to ask**:\n- What values should designers be able to tweak without code changes?\n- For each knob, what breaks if it's set too high? Too low?\n- Which knobs interact with each other? (Changing A makes B irrelevant)\n\n**Agent delegation**: If formulas are complex, delegate to `systems-designer`\nto derive tuning knobs from the formula variables.\n\n**Cross-reference**: If a dependency GDD lists tuning knobs that affect this system,\nreference them here. Don't create duplicate knobs — point to the source of truth.\n\n---\n\n### Section H: Acceptance Criteria\n\n**Goal**: Testable conditions that prove the system works as designed.\n\n**Questions to ask**:\n- What's the minimum set of tests that prove this works?\n- What performance budget does this system get? (frame time, memory)\n- What would a QA tester check first?\n\n**Cross-reference**: Include criteria that verify cross-system interactions work,\nnot just this system in isolation.\n\n---\n\n### Optional Sections: Visual\u002FAudio, UI Requirements, Open Questions\n\nThese sections are included in the template but aren't part of the 8 required\nsections. Offer them after the required sections are done:\n\nUse `AskUserQuestion`:\n- \"The 8 required sections are complete. Do you want to also define Visual\u002FAudio\n  requirements, UI requirements, or capture open questions?\"\n  - Options: \"Yes, all three\", \"Just open questions\", \"Skip — I'll add these later\"\n\nFor **Visual\u002FAudio**: Coordinate with `art-director` and `audio-director` if detail\nis needed. Often a brief note suffices at the GDD stage.\n\nFor **UI Requirements**: Coordinate with `ux-designer` for complex UI systems.\n\nFor **Open Questions**: Capture anything that came up during design that wasn't\nfully resolved. Each question should have an owner and target resolution date.\n\n---\n\n## 5. Post-Design Validation\n\nAfter all sections are written:\n\n### 5a: Self-Check\n\nRead back the complete GDD from file (not from conversation memory — the file is\nthe source of truth). Verify:\n- All 8 required sections have real content (not placeholders)\n- Formulas reference defined variables\n- Edge cases have resolutions\n- Dependencies are listed with interfaces\n- Acceptance criteria are testable\n\n### 5b: Offer Design Review\n\nPresent a completion summary:\n\n> **GDD Complete: [System Name]**\n> - Sections written: [list]\n> - Provisional assumptions: [list any assumptions about undesigned dependencies]\n> - Cross-system conflicts found: [list or \"none\"]\n\nUse `AskUserQuestion`:\n- \"Run `\u002Fdesign-review` now to validate the GDD?\"\n  - Options: \"Yes, run review now\", \"I'll review it myself first\", \"Skip review\"\n\nIf yes, invoke the design-review skill on the completed file.\n\n### 5c: Update Systems Index\n\nAfter the GDD is complete (and optionally reviewed):\n\n- Read the systems index\n- Update the target system's row:\n  - If design-review was run and verdict is APPROVED: Status → \"Approved\"\n  - If design-review was run and verdict is NEEDS REVISION: Status → \"In Review\"\n  - If design-review was skipped: Status → \"Designed\" (pending review)\n  - If the user chose \"I'll review it myself first\": Status → \"Designed\"\n  - Design Doc: link to `design\u002Fgdd\u002F[system-name].md`\n- Update the Progress Tracker counts\n\nAsk: \"May I update the systems index at `design\u002Fgdd\u002Fsystems-index.md`?\"\n\n### 5d: Update Session State\n\nUpdate `production\u002Fsession-state\u002Factive.md` with:\n- Task: [system-name] GDD\n- Status: Complete (or In Review if design-review was run)\n- File: design\u002Fgdd\u002F[system-name].md\n- Sections: All 8 written\n- Next: [suggest next system from design order]\n\n### 5e: Suggest Next Steps\n\nUse `AskUserQuestion`:\n- \"What's next?\"\n  - Options:\n    - \"Design next system ([next-in-order])\" — if undesigned systems remain\n    - \"Fix review findings\" — if design-review flagged issues\n    - \"Stop here for this session\"\n    - \"Run `\u002Fgate-check`\" — if enough MVP systems are designed\n\n---\n\n## 6. Specialist Agent Routing\n\nThis skill delegates to specialist agents for domain expertise. The main session\norchestrates the overall flow; agents provide expert content.\n\n| System Category | Primary Agent | Supporting Agent(s) |\n|----------------|---------------|---------------------|\n| Combat, damage, health | `game-designer` | `systems-designer` (formulas), `ai-programmer` (enemy AI) |\n| Economy, loot, crafting | `economy-designer` | `systems-designer` (curves), `game-designer` (loops) |\n| Progression, XP, skills | `game-designer` | `systems-designer` (curves), `economy-designer` (sinks) |\n| Dialogue, quests, lore | `game-designer` | `narrative-director` (story), `writer` (content) |\n| UI systems (HUD, menus) | `game-designer` | `ux-designer` (flows), `ui-programmer` (feasibility) |\n| Audio systems | `game-designer` | `audio-director` (direction), `sound-designer` (specs) |\n| AI, pathfinding, behavior | `game-designer` | `ai-programmer` (implementation), `systems-designer` (scoring) |\n| Level\u002Fworld systems | `game-designer` | `level-designer` (spatial), `world-builder` (lore) |\n| Camera, input, controls | `game-designer` | `ux-designer` (feel), `gameplay-programmer` (feasibility) |\n\n**When delegating via Task tool**:\n- Provide: system name, game concept summary, dependency GDD excerpts, the specific\n  section being worked on, and what question needs expert input\n- The agent returns analysis\u002Fproposals to the main session\n- The main session presents the agent's output to the user via `AskUserQuestion`\n- The user decides; the main session writes to file\n- Agents do NOT write to files directly — the main session owns all file writes\n\n---\n\n## 7. Recovery & Resume\n\nIf the session is interrupted (compaction, crash, new session):\n\n1. Read `production\u002Fsession-state\u002Factive.md` — it records the current system and\n   which sections are complete\n2. Read `design\u002Fgdd\u002F[system-name].md` — sections with real content are done;\n   sections with `[To be designed]` still need work\n3. Resume from the next incomplete section — no need to re-discuss completed ones\n\nThis is why incremental writing matters: every approved section survives any\ndisruption.\n\n---\n\n## Collaborative Protocol\n\nThis skill follows the collaborative design principle at every step:\n\n1. **Question -> Options -> Decision -> Draft -> Approval** for every section\n2. **AskUserQuestion** at every decision point (Explain -> Capture pattern):\n   - Phase 2: \"Ready to start, or need more context?\"\n   - Phase 3: \"May I create the skeleton?\"\n   - Phase 4 (each section): Design questions, approach options, draft approval\n   - Phase 5: \"Run design review? Update systems index? What's next?\"\n3. **\"May I write to [filepath]?\"** before the skeleton and before each section write\n4. **Incremental writing**: Each section is written to file immediately after approval\n5. **Session state updates**: After every section write\n6. **Cross-referencing**: Every section checks existing GDDs for conflicts\n7. **Specialist routing**: Complex sections get expert agent input, presented to\n   the user for decision — never written silently\n\n**Never** auto-generate the full GDD and present it as a fait accompli.\n**Never** write a section without user approval.\n**Never** contradict an existing approved GDD without flagging the conflict.\n**Always** show where decisions come from (dependency GDDs, pillars, user choices).\n",{"name":5,"description":7,"allowed-tools":44,"argument-hint":45,"user-invocable":46},"Read, Glob, Grep, Write, Edit, Task, AskUserQuestion, TodoWrite","\u003Csystem-name> (e.g., 'combat-system', 'inventory', 'dialogue')",true,"main","c173cdffe08e788a99b91928a831b476b8434838","brain\u002Fknowledge\u002Frepositories\u002Fclaude_code_game_studios\u002F.claude\u002Fskills\u002Fdesign_system",0,"https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw","https:\u002F\u002Fportfolio-longleo.vercel.app\u002Flabs\u002Fomniclaw.html","https:\u002F\u002Fgithub.com\u002FLongLeo287","https:\u002F\u002Fwww.facebook.com\u002FResourceRookie2023","2026-11-14 08:48:28",{"source":8,"skillName":5,"commands":57,"prompt":67,"zipAvailable":46},[58,61,64],{"tool":59,"command":60},"npx","npx skills add LongLeo287\u002FOmniClaw --skill design-system",{"tool":62,"command":63},"bunx","bunx skills add LongLeo287\u002FOmniClaw --skill design-system",{"tool":65,"command":66},"pnpm","pnpm dlx skills add LongLeo287\u002FOmniClaw --skill design-system","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fbrain\u002Fknowledge\u002Frepositories\u002Fclaude_code_game_studios\u002F.claude\u002Fskills\u002Fdesign_system\u002FSKILL.md",[],[70,96,116,141,157,180],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":39},"01M6JR0KQP4MHT32TN40D9CBFX","UI-UX Pro Max","Advanced UI\u002FUX analysis and generation skills with data-driven patterns. Python scripts (core.py, search.py) for systematic UI pattern extraction, design system generation, and component search from curated data sources.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fui_components\u002Fui_ux_pro_max\u002FSKILL.md",[],[77,78,79,80,81,82,20,83,84,85,86,87,88,89,90,91,92,93,94,95],"ux","ui","ui ux pro max","max","pro","ui ux","component","search","analysis","team","rd","ui-ux","active","systematic","scripts","pattern extraction","sources","advanced","data-driven",{"skillNo":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"publishedAt":39},"01M6JR0EF5AEQHP2FSTB57H05P","shadcn-ui","Expert guidance for integrating and building applications with shadcn\u002Fui components, including component discovery, installation, customization, and best practices.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fui_components\u002Fshadcn_ui\u002FSKILL.md",[],[103,78,104,105,83,106,107,108,109,86,110,111,112,89,113,114,115,23],"shadcn","shadcn ui","components","core","best practices","applications","discovery","customization","guidance","expert","installation","ui components","with",{"skillNo":117,"name":118,"nameZh":6,"description":119,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":120,"categories":121,"keywords":122,"publishedAt":39},"01M6JR08F51BEN17RHFYX65WVE","zustand_store_ts","Create Zustand stores with TypeScript, subscribeWithSelector middleware, and proper state\u002Faction separation. Use when building React state management, creating global stores, or implementing reactive state patterns with Zustand.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fzustand_store_ts\u002FSKILL.md",[],[123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,115,139,140],"zustand store ts","zustand","store","typescript","microsoft","react","create","state management","state","react state management","management","global","use","patterns","separation","middleware","action","implementing",{"skillNo":142,"name":124,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":39},"01M6JR00TDMVAFFCZXZ04AN7Q7","Zustand state management guide. Use when working with store code (src\u002Fstore\u002F**), implementing actions, managing state, or creating slices. Triggers on Zustand store development, state management questions, or action implementation.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fzustand\u002FSKILL.md",[],[124,147,130,148,131,149,150,133,151,135,152,153,154,125,115,155,156,139,140],"development","code","actions","src","guide","implementation","zustand state","triggers","questions","zustand state management",{"skillNo":158,"name":159,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":39},"01M6JQZSWV4KWJP112G6XHEP44","youtube_summarizer","Automatically fetch YouTube video transcripts, generate structured summaries, and send full transcripts to messaging platforms. Detects YouTube URLs and provides metadata, key insights, and downloadable transcripts.","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fyoutube_summarizer\u002FSKILL.md",[],[164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179],"youtube","youtube summarizer","summarizer","generate","metadata","messaging","Video","fetch","telegram","transcription","summarization","structured","full","insights","transcripts","summaries",{"skillNo":181,"name":182,"nameZh":6,"description":183,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":184,"categories":185,"keywords":186,"publishedAt":39},"01M6JQZN3QJB6B77JGKJD62DQT","youtube_clipper","YouTube 视频智能剪辑工具。下载视频和字幕，AI 分析生成精细章节（几分钟级别）， 用户选择片段后自动剪辑、翻译字幕为中英双语、烧录字幕到视频，并生成总结文案。 使用场景：当用户需要剪辑 YouTube 视频、生成短视频片段、制作双语字幕版本时。 关键词：视频剪辑、YouTube、字幕翻译、双语字幕、视频下载、clip video","https:\u002F\u002Fgithub.com\u002FLongLeo287\u002FOmniClaw\u002Fblob\u002Fmain\u002Fecosystem\u002Fskills\u002Fyoutube_clipper\u002FSKILL.md",[],[164,187,188,170,189,190,191,192,193,194,35,34,195,196,197,198,199],"clipper","youtube clipper","Bash","下载","视频","生成","关键词","翻译","clip","总结","工具","文案","sonnet"]