[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EGDEF6Z3XCS3CHG8H937T7":3,"skill-same:01M6EGDEF6Z3XCS3CHG8H937T7":55},{"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":27,"linkOnly":28,"markdownContent":29,"markdownBody":30,"frontMatter":31,"refName":32,"commitSha":33,"skillDirectory":34,"forksCount":35,"repositoryHtmlUrl":36,"repositoryHomepageUrl":6,"ownerHtmlUrl":37,"ownerBlogUrl":38,"ownerDescription":39,"updatedAt":40,"install":41,"resources":54},"01M6EGDEF6Z3XCS3CHG8H937T7","ln-221-story-creator",null,"Creates Stories from IDEAL plan (CREATE) or appends user-requested Stories (ADD). Generates 9-section documents, validates INVEST, creates in Linear.","levalencia\u002Fagent-god-mode","levalencia","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6962857?v=4","01M6EB0FZZ4BPQPC4HET4QY6NM","Luis Valencia ","01M6EB0G4HWHPWW0H9X7QKSAHP",3,"MIT","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-221-story-creator\u002FSKILL.md",[],[19,20,21,22,23,24,25,26],"Story","ln 221 story creator","documents","create","linear","plan","user","add","2026-11-10 10:12:30",false,"---\nname: ln-221-story-creator\ndescription: Creates Stories from IDEAL plan (CREATE) or appends user-requested Stories (ADD). Generates 9-section documents, validates INVEST, creates in Linear.\nlicense: MIT\n---\n\n> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.\n\n# Story Creator\n\n## Purpose\nCreates Story documents in Linear from IDEAL plan (CREATE mode) or appends user-requested Stories to existing Epic (ADD mode). Invoked by ln-220-story-coordinator.\n\nUniversal factory worker for creating Stories. Supports two modes:\n- **CREATE MODE**: Epic has no Stories → create from IDEAL plan (5-10 Stories)\n- **ADD MODE**: Epic has Stories → append new Story(s) from user request\n\nInvoked by ln-220-story-coordinator (Phase 5a for CREATE, Phase 5c for ADD).\n\n## When Invoked\n\n**1. ln-220-story-coordinator CREATE MODE (Phase 5a):**\n- Epic has NO existing Stories (Linear query count = 0)\n- IDEAL plan generated (Phase 3)\n- Standards Research completed by ln-001 (Phase 2)\n- Parameters: `epicData`, `idealPlan`, `standardsResearch`, `teamId`, `autoApprove`\n\n**2. ln-220-story-coordinator ADD MODE (Phase 5c):**\n- Epic HAS existing Stories, user wants to ADD more (not replan)\n- Single Story or few Stories from user request\n- Parameters: `epicData`, `appendMode: true`, `newStoryDescription`, `standardsResearch`, `teamId`\n\n## Input Parameters\n\n**For CREATE MODE (from ln-220-story-coordinator Phase 5a):**\n\n```javascript\n{\n  epicData: {id, title, description},\n  idealPlan: [\n    {\n      number: \"US004\",\n      title: \"Register OAuth client\",\n      statement: {persona, capability, value},\n      ac: [GWT scenarios],\n      technicalNotes: {architecture, integrations, performance},\n      orchestratorBrief: {tech, keyFiles, approach, complexity},\n      estimatedHours: 12,\n      testCounts: {e2e: 2, integration: 5, unit: 11}\n    }\n  ],\n  standardsResearch: \"OAuth 2.0 (RFC 6749)...\",\n  teamId: \"team-id\",\n  autoApprove: true\n}\n```\n\n**For ADD MODE (from ln-220-story-coordinator Phase 5c with appendMode):**\n\n```javascript\n{\n  epicData: {id, title, description},\n  appendMode: true,                    \u002F\u002F Signals ADD MODE - append to existing\n  newStoryDescription: \"User's request for new Story\",\n  standardsResearch: \"Focused research for new Story only\",\n  teamId: \"team-id\",\n  autoApprove: false                   \u002F\u002F User confirmation recommended\n}\n```\n\n- **appendMode**: `true` signals ADD MODE - append to existing Stories\n- **newStoryDescription**: User's request for new Story(s) to add\n- **NO idealPlan** - creates only what user requested (single Story or few)\n\n## Inputs\n\n| Input | Required | Source | Description |\n|-------|----------|--------|-------------|\n| `epicId` | Yes | args, kanban, user | Epic to process |\n\n**Resolution:** Epic Resolution Chain.\n**Status filter:** Active (planned\u002Fstarted)\n\n## Tools Config\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Ftools_config_guide.md`, `shared\u002Freferences\u002Fstorage_mode_detection.md`, `shared\u002Freferences\u002Finput_resolution_pattern.md`\n\nExtract: `task_provider` = Task Management → Provider\n\n## Quality Criteria\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fcreation_quality_checklist.md` §Story Creation Checklist for validation criteria that ln-310 will enforce.\n\n## Workflow\n\n> [!NOTE]\n> **ADD MODE (appendMode: true)**: When adding Stories to existing Epic, workflow is simplified:\n> - Phase 1: Generate only requested Story(s) from `newStoryDescription`\n> - Skip full IDEAL plan comparison\n> - Standards Research is focused only on new Story topics\n> - Other phases proceed normally (INVEST, Preview, Create)\n\n### Phase 1: Generate Story Documents\n\n**Step 0: Resolve epicId** (standalone only — skip if epicData provided by ln-220 orchestrator):\nRun Epic Resolution Chain per guide.\n\n**Step 1: Generate Documents**\n\nLoad story template (see \"Template Loading\" section) and use 9 sections.\n\n**Template Discipline (MANDATORY):** Story documents contain EXACTLY 9 sections from the template: Story, Context, Acceptance Criteria, Implementation Tasks, Test Strategy, Technical Notes, Definition of Done, Dependencies, Assumptions. Do NOT add extra sections (e.g., \"User Scenarios\", \"Industry Benchmark\", \"API Design\"). Content that does not fit the 9 sections is either Technical Notes material or out of scope.\n\nFor EACH Story in IDEAL plan:\n\n| Section | Content |\n|---------|---------|\n| **1. Story** | As a [persona] \u002F I want [capability] \u002F So that [value] |\n| **2. Context** | Current Situation (from Epic Scope Out) \u002F Desired Outcome (from Epic Success Criteria) |\n| **3. Acceptance Criteria** | Copy AC from idealPlan (3-5 GWT scenarios) |\n| **4. Implementation Tasks** | Placeholder: \"Tasks created via ln-300-task-coordinator after ln-310-multi-agent-validator\" |\n| **5. Test Strategy** | Copy test counts from idealPlan, Risk-Based Testing note |\n| **6. Technical Notes** | **INSERT Orchestrator Brief** from `idealPlan[i].orchestratorBrief` (markers `\u003C!-- ORCHESTRATOR_BRIEF_START\u002FEND -->`). **INSERT Standards Research** in Library Research subsection |\n| **7. Definition of Done** | Standard checklist from template |\n| **8. Dependencies** | Empty OR \"Depends On: US00X\" if ordering implies dependency |\n| **9. Assumptions** | Extract from Technical Notes + AC: FEASIBILITY (infra), DEPENDENCY (APIs), DATA (format), SCOPE (exclusions). Default confidence: MEDIUM |\n\n**Output:** Array of N complete Story documents (5-10) with Standards Research inserted.\n\n### Phase 2: Validate INVEST\n\nFor EACH Story, check:\n\n| Criterion | Check | Pass | Fail |\n|-----------|-------|------|------|\n| **Independent** | No circular dependencies | ✅ | ❌ STOP |\n| **Negotiable** | AC focus on WHAT user observes, not HOW system works. ACs with system internals (lookup priority, cache layers, endpoint URLs, architecture) → move to Technical Notes | ✅ | ❌ STOP |\n| **Valuable** | Clear \"So that\" value | ✅ | ❌ STOP |\n| **Estimable** | Size within checklist #9 range | ✅ | ❌ STOP |\n| **Small** | AC\u002Fhours\u002Ftests per checklist #9 | ✅ | ❌ STOP |\n| **Testable** | Measurable AC (GWT format) | ✅ | ❌ STOP |\n\n**Error if ANY Story fails** → Report to orchestrator, stop execution.\n\n**AC Count Gate:** If any Story has >5 ACs → STOP. Report to orchestrator: \"Story USXXX has N ACs (limit: 5). Split required.\" Do not proceed with creation.\n\n### Phase 3: Show Preview\n\n```\nSTORY CREATION PREVIEW for Epic 7: OAuth Authentication\n\nWill create 5 Stories:\n\n1. US004: Register OAuth client\n   Persona: Third-party developer | Capability: Register app, get credentials\n   Value: Can integrate with API | AC: 4 | Estimate: 12h | Tests: 18\n\n2. US005: Request access token\n   Persona: API client | Capability: Exchange credentials for token\n   Value: Authenticate to API | AC: 5 | Estimate: 18h | Tests: 24\n\n... (3 more)\n\nTotal: 5 Stories, 62h, 90 tests\n\nStandards Research: OAuth 2.0 (RFC 6749), RFC 7636 (PKCE), RFC 7009 (Revocation)\nStory ordering: Dependency-aware (US004 → US005 → US006)\nINVEST validation: ✓\n\nType \"confirm\" to create.\n```\n\n### Phase 4: User Confirmation\n\n**If autoApprove=true:** Skip confirmation → Phase 5\n**Otherwise:** Wait for \"confirm\"\n\n### Phase 5: Create Stories + Update Kanban\n\n**Create Stories (provider-dependent):**\n\n**IF task_provider == \"linear\":**\n```javascript\nfor each Story:\n  save_issue({\n    title: Story.number + \": \" + Story.title,\n    description: Story.generated_document,\n    project: epicData.id,\n    team: teamId,\n    labels: [\"user-story\"],\n    state: \"Backlog\"\n  })\n```\n\n**ELSE (file mode):**\n```javascript\nfor each Story:\n  mkdir -p docs\u002Ftasks\u002Fepics\u002Fepic-{N}-{slug}\u002Fstories\u002Fus{NNN}-{story-slug}\u002Ftasks\u002F\n  Write(\"docs\u002Ftasks\u002Fepics\u002Fepic-{N}-{slug}\u002Fstories\u002Fus{NNN}-{story-slug}\u002Fstory.md\")\n  \u002F\u002F Include file headers: **Status:** Backlog, **Epic:** Epic {N}, **Labels:** user-story, **Created:** {date}\n```\n\n**Update kanban_board.md:**\n\n**Epic Grouping Algorithm:**\n1. Find `### Backlog`\n2. Search `**Epic {epicNumber}: {epicTitle}**`\n   - Found: use existing Epic group\n   - NOT found: create `**Epic N: Epic Title**`\n3. Add Stories under Epic (2-space indent, ? emoji)\n\n**Format:**\n```markdown\n**Epic 7: OAuth Authentication**\n\n  ? [ID: US004 Register OAuth client](url)\n    _(tasks not created yet)_\n  ? [ID: US005 Request access token](url)\n    _(tasks not created yet)_\n```\n\n**Update Epic Story Counters table:**\n- Last Story: US008\n- Next Story: US009\n\n**Return:**\n```\nSTORIES CREATED for Epic 7: OAuth Authentication\n\n✓ Created 5 Stories in Linear:\n  1. [ID: US004 Register OAuth client](url)\n  2. [ID: US005 Request access token](url)\n  3. [ID: US006 Validate access token](url)\n  4. [ID: US007 Refresh expired token](url)\n  5. [ID: US008 Revoke token](url)\n\n✓ kanban_board.md updated (Backlog + Epic Story Counters)\n✓ Standards Research included: OAuth 2.0, RFC 7636 PKCE, RFC 7009 Revocation\n\nTotal: 5 Stories, 62h, 90 tests\n\nNEXT STEPS:\n1. Run ln-310-multi-agent-validator to validate Stories (Backlog → Todo)\n2. Use ln-300-task-coordinator to create tasks\n```\n\n## Critical Rules\n\n| Rule | Description |\n|------|-------------|\n| **Standards Research Insertion** | MUST insert in EVERY Story Technical Notes → Library Research (prevents outdated library choices causing rework in ln-400) |\n| **INVEST Validation** | All Stories must pass before creation (stop if ANY fails) |\n| **Template Ownership** | This skill owns story_template_universal.md in references\u002F |\n| **Epic Grouping** | Reuse Epic header if exists (search by Epic number), don't duplicate |\n| **Story Numbering** | Sequential across ALL Epics (read Next Story from kanban_board.md) |\n| **No Code** | Descriptions contain approach ONLY, not code |\n| **Template Discipline** | Story documents contain EXACTLY 9 template sections. No extra sections (User Scenarios, Industry Benchmark, etc.). Non-template content → Technical Notes or discard |\n| **AC Purity** | ACs describe observable user behavior only. System internals (architecture, endpoint design, cache layers) → Technical Notes |\n\n## Definition of Done\n\n**✅ Phase 1:**\n- [ ] All N Stories have 9 sections\n- [ ] Standards Research inserted in Technical Notes → Library Research\n\n**✅ Phase 2:**\n- [ ] All Stories pass INVEST validation\n\n**✅ Phase 3:**\n- [ ] Preview shown (summaries, totals, Standards Research, ordering)\n\n**✅ Phase 4:**\n- [ ] autoApprove=true OR user confirmed\n\n**✅ Phase 5:**\n- [ ] All N Stories created (Linear or file mode) (project=Epic, labels=user-story, state=Backlog)\n- [ ] kanban_board.md updated (Backlog + Epic Story Counters)\n- [ ] Summary returned (URLs + next steps)\n\n## Template Loading\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Ftemplate_loading_pattern.md` for template copy workflow.\n\n**Template:** `story_template.md`\n**Local copy:** `docs\u002Ftemplates\u002Fstory_template.md` (in target project)\n\n## Reference Files\n\n- **MANDATORY READ:** `shared\u002Freferences\u002Ftools_config_guide.md`\n- **MANDATORY READ:** `shared\u002Freferences\u002Fstorage_mode_detection.md`\n- **Kanban update algorithm:** `shared\u002Freferences\u002Fkanban_update_algorithm.md`\n- **Template loading:** `shared\u002Freferences\u002Ftemplate_loading_pattern.md`\n- **Linear creation workflow:** `shared\u002Freferences\u002Flinear_creation_workflow.md`\n\n### story_template.md\n\n**Location:** `shared\u002Ftemplates\u002Fstory_template.md` (centralized)\n**Local Copy:** `docs\u002Ftemplates\u002Fstory_template.md` (in target project)\n**Purpose:** Universal Story template (9 sections)\n**Template Version:** 9.0.0\n\n## Integration\n\n**Called by:** ln-220-story-coordinator\n- Phase 5a (CREATE MODE, count = 0) - full IDEAL plan\n- Phase 5c (ADD MODE, count ≥ 1, appendMode) - user-requested Story(s)\n\n**Returns:**\n- Success: Story URLs + summary + next steps\n- Error: \"Story USXXX violates INVEST: [details]\"\n\n**Worker does NOT:**\n- Query Linear for Epic (already in context)\n- Analyze Epic complexity (orchestrator Phase 3)\n- Research standards (orchestrator Phase 2 delegates to ln-001)\n- Build IDEAL plan (receives from orchestrator)\n\n---\n\n**Version:** 3.0.0\n**Last Updated:** 2025-12-23\n","> **Paths:** File paths (`shared\u002F`, `references\u002F`, `..\u002Fln-*`) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.\n\n# Story Creator\n\n## Purpose\nCreates Story documents in Linear from IDEAL plan (CREATE mode) or appends user-requested Stories to existing Epic (ADD mode). Invoked by ln-220-story-coordinator.\n\nUniversal factory worker for creating Stories. Supports two modes:\n- **CREATE MODE**: Epic has no Stories → create from IDEAL plan (5-10 Stories)\n- **ADD MODE**: Epic has Stories → append new Story(s) from user request\n\nInvoked by ln-220-story-coordinator (Phase 5a for CREATE, Phase 5c for ADD).\n\n## When Invoked\n\n**1. ln-220-story-coordinator CREATE MODE (Phase 5a):**\n- Epic has NO existing Stories (Linear query count = 0)\n- IDEAL plan generated (Phase 3)\n- Standards Research completed by ln-001 (Phase 2)\n- Parameters: `epicData`, `idealPlan`, `standardsResearch`, `teamId`, `autoApprove`\n\n**2. ln-220-story-coordinator ADD MODE (Phase 5c):**\n- Epic HAS existing Stories, user wants to ADD more (not replan)\n- Single Story or few Stories from user request\n- Parameters: `epicData`, `appendMode: true`, `newStoryDescription`, `standardsResearch`, `teamId`\n\n## Input Parameters\n\n**For CREATE MODE (from ln-220-story-coordinator Phase 5a):**\n\n```javascript\n{\n  epicData: {id, title, description},\n  idealPlan: [\n    {\n      number: \"US004\",\n      title: \"Register OAuth client\",\n      statement: {persona, capability, value},\n      ac: [GWT scenarios],\n      technicalNotes: {architecture, integrations, performance},\n      orchestratorBrief: {tech, keyFiles, approach, complexity},\n      estimatedHours: 12,\n      testCounts: {e2e: 2, integration: 5, unit: 11}\n    }\n  ],\n  standardsResearch: \"OAuth 2.0 (RFC 6749)...\",\n  teamId: \"team-id\",\n  autoApprove: true\n}\n```\n\n**For ADD MODE (from ln-220-story-coordinator Phase 5c with appendMode):**\n\n```javascript\n{\n  epicData: {id, title, description},\n  appendMode: true,                    \u002F\u002F Signals ADD MODE - append to existing\n  newStoryDescription: \"User's request for new Story\",\n  standardsResearch: \"Focused research for new Story only\",\n  teamId: \"team-id\",\n  autoApprove: false                   \u002F\u002F User confirmation recommended\n}\n```\n\n- **appendMode**: `true` signals ADD MODE - append to existing Stories\n- **newStoryDescription**: User's request for new Story(s) to add\n- **NO idealPlan** - creates only what user requested (single Story or few)\n\n## Inputs\n\n| Input | Required | Source | Description |\n|-------|----------|--------|-------------|\n| `epicId` | Yes | args, kanban, user | Epic to process |\n\n**Resolution:** Epic Resolution Chain.\n**Status filter:** Active (planned\u002Fstarted)\n\n## Tools Config\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Ftools_config_guide.md`, `shared\u002Freferences\u002Fstorage_mode_detection.md`, `shared\u002Freferences\u002Finput_resolution_pattern.md`\n\nExtract: `task_provider` = Task Management → Provider\n\n## Quality Criteria\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Fcreation_quality_checklist.md` §Story Creation Checklist for validation criteria that ln-310 will enforce.\n\n## Workflow\n\n> [!NOTE]\n> **ADD MODE (appendMode: true)**: When adding Stories to existing Epic, workflow is simplified:\n> - Phase 1: Generate only requested Story(s) from `newStoryDescription`\n> - Skip full IDEAL plan comparison\n> - Standards Research is focused only on new Story topics\n> - Other phases proceed normally (INVEST, Preview, Create)\n\n### Phase 1: Generate Story Documents\n\n**Step 0: Resolve epicId** (standalone only — skip if epicData provided by ln-220 orchestrator):\nRun Epic Resolution Chain per guide.\n\n**Step 1: Generate Documents**\n\nLoad story template (see \"Template Loading\" section) and use 9 sections.\n\n**Template Discipline (MANDATORY):** Story documents contain EXACTLY 9 sections from the template: Story, Context, Acceptance Criteria, Implementation Tasks, Test Strategy, Technical Notes, Definition of Done, Dependencies, Assumptions. Do NOT add extra sections (e.g., \"User Scenarios\", \"Industry Benchmark\", \"API Design\"). Content that does not fit the 9 sections is either Technical Notes material or out of scope.\n\nFor EACH Story in IDEAL plan:\n\n| Section | Content |\n|---------|---------|\n| **1. Story** | As a [persona] \u002F I want [capability] \u002F So that [value] |\n| **2. Context** | Current Situation (from Epic Scope Out) \u002F Desired Outcome (from Epic Success Criteria) |\n| **3. Acceptance Criteria** | Copy AC from idealPlan (3-5 GWT scenarios) |\n| **4. Implementation Tasks** | Placeholder: \"Tasks created via ln-300-task-coordinator after ln-310-multi-agent-validator\" |\n| **5. Test Strategy** | Copy test counts from idealPlan, Risk-Based Testing note |\n| **6. Technical Notes** | **INSERT Orchestrator Brief** from `idealPlan[i].orchestratorBrief` (markers `\u003C!-- ORCHESTRATOR_BRIEF_START\u002FEND -->`). **INSERT Standards Research** in Library Research subsection |\n| **7. Definition of Done** | Standard checklist from template |\n| **8. Dependencies** | Empty OR \"Depends On: US00X\" if ordering implies dependency |\n| **9. Assumptions** | Extract from Technical Notes + AC: FEASIBILITY (infra), DEPENDENCY (APIs), DATA (format), SCOPE (exclusions). Default confidence: MEDIUM |\n\n**Output:** Array of N complete Story documents (5-10) with Standards Research inserted.\n\n### Phase 2: Validate INVEST\n\nFor EACH Story, check:\n\n| Criterion | Check | Pass | Fail |\n|-----------|-------|------|------|\n| **Independent** | No circular dependencies | ✅ | ❌ STOP |\n| **Negotiable** | AC focus on WHAT user observes, not HOW system works. ACs with system internals (lookup priority, cache layers, endpoint URLs, architecture) → move to Technical Notes | ✅ | ❌ STOP |\n| **Valuable** | Clear \"So that\" value | ✅ | ❌ STOP |\n| **Estimable** | Size within checklist #9 range | ✅ | ❌ STOP |\n| **Small** | AC\u002Fhours\u002Ftests per checklist #9 | ✅ | ❌ STOP |\n| **Testable** | Measurable AC (GWT format) | ✅ | ❌ STOP |\n\n**Error if ANY Story fails** → Report to orchestrator, stop execution.\n\n**AC Count Gate:** If any Story has >5 ACs → STOP. Report to orchestrator: \"Story USXXX has N ACs (limit: 5). Split required.\" Do not proceed with creation.\n\n### Phase 3: Show Preview\n\n```\nSTORY CREATION PREVIEW for Epic 7: OAuth Authentication\n\nWill create 5 Stories:\n\n1. US004: Register OAuth client\n   Persona: Third-party developer | Capability: Register app, get credentials\n   Value: Can integrate with API | AC: 4 | Estimate: 12h | Tests: 18\n\n2. US005: Request access token\n   Persona: API client | Capability: Exchange credentials for token\n   Value: Authenticate to API | AC: 5 | Estimate: 18h | Tests: 24\n\n... (3 more)\n\nTotal: 5 Stories, 62h, 90 tests\n\nStandards Research: OAuth 2.0 (RFC 6749), RFC 7636 (PKCE), RFC 7009 (Revocation)\nStory ordering: Dependency-aware (US004 → US005 → US006)\nINVEST validation: ✓\n\nType \"confirm\" to create.\n```\n\n### Phase 4: User Confirmation\n\n**If autoApprove=true:** Skip confirmation → Phase 5\n**Otherwise:** Wait for \"confirm\"\n\n### Phase 5: Create Stories + Update Kanban\n\n**Create Stories (provider-dependent):**\n\n**IF task_provider == \"linear\":**\n```javascript\nfor each Story:\n  save_issue({\n    title: Story.number + \": \" + Story.title,\n    description: Story.generated_document,\n    project: epicData.id,\n    team: teamId,\n    labels: [\"user-story\"],\n    state: \"Backlog\"\n  })\n```\n\n**ELSE (file mode):**\n```javascript\nfor each Story:\n  mkdir -p docs\u002Ftasks\u002Fepics\u002Fepic-{N}-{slug}\u002Fstories\u002Fus{NNN}-{story-slug}\u002Ftasks\u002F\n  Write(\"docs\u002Ftasks\u002Fepics\u002Fepic-{N}-{slug}\u002Fstories\u002Fus{NNN}-{story-slug}\u002Fstory.md\")\n  \u002F\u002F Include file headers: **Status:** Backlog, **Epic:** Epic {N}, **Labels:** user-story, **Created:** {date}\n```\n\n**Update kanban_board.md:**\n\n**Epic Grouping Algorithm:**\n1. Find `### Backlog`\n2. Search `**Epic {epicNumber}: {epicTitle}**`\n   - Found: use existing Epic group\n   - NOT found: create `**Epic N: Epic Title**`\n3. Add Stories under Epic (2-space indent, ? emoji)\n\n**Format:**\n```markdown\n**Epic 7: OAuth Authentication**\n\n  ? [ID: US004 Register OAuth client](url)\n    _(tasks not created yet)_\n  ? [ID: US005 Request access token](url)\n    _(tasks not created yet)_\n```\n\n**Update Epic Story Counters table:**\n- Last Story: US008\n- Next Story: US009\n\n**Return:**\n```\nSTORIES CREATED for Epic 7: OAuth Authentication\n\n✓ Created 5 Stories in Linear:\n  1. [ID: US004 Register OAuth client](url)\n  2. [ID: US005 Request access token](url)\n  3. [ID: US006 Validate access token](url)\n  4. [ID: US007 Refresh expired token](url)\n  5. [ID: US008 Revoke token](url)\n\n✓ kanban_board.md updated (Backlog + Epic Story Counters)\n✓ Standards Research included: OAuth 2.0, RFC 7636 PKCE, RFC 7009 Revocation\n\nTotal: 5 Stories, 62h, 90 tests\n\nNEXT STEPS:\n1. Run ln-310-multi-agent-validator to validate Stories (Backlog → Todo)\n2. Use ln-300-task-coordinator to create tasks\n```\n\n## Critical Rules\n\n| Rule | Description |\n|------|-------------|\n| **Standards Research Insertion** | MUST insert in EVERY Story Technical Notes → Library Research (prevents outdated library choices causing rework in ln-400) |\n| **INVEST Validation** | All Stories must pass before creation (stop if ANY fails) |\n| **Template Ownership** | This skill owns story_template_universal.md in references\u002F |\n| **Epic Grouping** | Reuse Epic header if exists (search by Epic number), don't duplicate |\n| **Story Numbering** | Sequential across ALL Epics (read Next Story from kanban_board.md) |\n| **No Code** | Descriptions contain approach ONLY, not code |\n| **Template Discipline** | Story documents contain EXACTLY 9 template sections. No extra sections (User Scenarios, Industry Benchmark, etc.). Non-template content → Technical Notes or discard |\n| **AC Purity** | ACs describe observable user behavior only. System internals (architecture, endpoint design, cache layers) → Technical Notes |\n\n## Definition of Done\n\n**✅ Phase 1:**\n- [ ] All N Stories have 9 sections\n- [ ] Standards Research inserted in Technical Notes → Library Research\n\n**✅ Phase 2:**\n- [ ] All Stories pass INVEST validation\n\n**✅ Phase 3:**\n- [ ] Preview shown (summaries, totals, Standards Research, ordering)\n\n**✅ Phase 4:**\n- [ ] autoApprove=true OR user confirmed\n\n**✅ Phase 5:**\n- [ ] All N Stories created (Linear or file mode) (project=Epic, labels=user-story, state=Backlog)\n- [ ] kanban_board.md updated (Backlog + Epic Story Counters)\n- [ ] Summary returned (URLs + next steps)\n\n## Template Loading\n\n**MANDATORY READ:** Load `shared\u002Freferences\u002Ftemplate_loading_pattern.md` for template copy workflow.\n\n**Template:** `story_template.md`\n**Local copy:** `docs\u002Ftemplates\u002Fstory_template.md` (in target project)\n\n## Reference Files\n\n- **MANDATORY READ:** `shared\u002Freferences\u002Ftools_config_guide.md`\n- **MANDATORY READ:** `shared\u002Freferences\u002Fstorage_mode_detection.md`\n- **Kanban update algorithm:** `shared\u002Freferences\u002Fkanban_update_algorithm.md`\n- **Template loading:** `shared\u002Freferences\u002Ftemplate_loading_pattern.md`\n- **Linear creation workflow:** `shared\u002Freferences\u002Flinear_creation_workflow.md`\n\n### story_template.md\n\n**Location:** `shared\u002Ftemplates\u002Fstory_template.md` (centralized)\n**Local Copy:** `docs\u002Ftemplates\u002Fstory_template.md` (in target project)\n**Purpose:** Universal Story template (9 sections)\n**Template Version:** 9.0.0\n\n## Integration\n\n**Called by:** ln-220-story-coordinator\n- Phase 5a (CREATE MODE, count = 0) - full IDEAL plan\n- Phase 5c (ADD MODE, count ≥ 1, appendMode) - user-requested Story(s)\n\n**Returns:**\n- Success: Story URLs + summary + next steps\n- Error: \"Story USXXX violates INVEST: [details]\"\n\n**Worker does NOT:**\n- Query Linear for Epic (already in context)\n- Analyze Epic complexity (orchestrator Phase 3)\n- Research standards (orchestrator Phase 2 delegates to ln-001)\n- Build IDEAL plan (receives from orchestrator)\n\n---\n\n**Version:** 3.0.0\n**Last Updated:** 2025-12-23\n",{"name":5,"license":15,"description":7},"main","fa638b97a18ff6d9f26cf0eaf3dfa123531bcc87","organized-skills\u002Fln-221-story-creator",1,"https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode","https:\u002F\u002Fgithub.com\u002Flevalencia","https:\u002F\u002Fmedium.com\u002F@luisevalencia","Microsoft MVP - Artificial Intelligence\r\nMachine Learning Enthusiast\r\n","2026-05-02 06:55:36",{"source":8,"skillName":5,"commands":42,"prompt":52,"zipAvailable":53},[43,46,49],{"tool":44,"command":45},"npx","npx skills add levalencia\u002Fagent-god-mode --skill ln-221-story-creator",{"tool":47,"command":48},"bunx","bunx skills add levalencia\u002Fagent-god-mode --skill ln-221-story-creator",{"tool":50,"command":51},"pnpm","pnpm dlx skills add levalencia\u002Fagent-god-mode --skill ln-221-story-creator","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fln-221-story-creator\u002FSKILL.md",true,[],[56,78,116,142,168,196],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":27},"01M6EM8ES5M9J4S8N78NJST0YC","zarr-python","Chunked N-D arrays for cloud storage. Compressed arrays, parallel I\u002FO, S3\u002FGCS integration, NumPy\u002FDask\u002FXarray compatible, for large-scale scientific computing pipelines.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fzarr-python\u002FSKILL.md",[],[63,64,65,66,67,68,69,70,71,72,73,74,75,76,77],"python","zarr python","storage","integration","s3","gcs","cloud","dask","parallel","pipelines","arrays","numpy","scientific computing","scale","scientific",{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":97,"publishedAt":27},"01M6EM8AR6ZFKZ9YVW8TTG850Z","zabbix","Zabbix monitoring system automation via API and Python. Use when: (1) Managing hosts, templates, items, triggers, or host groups, (2) Automating monitoring configuration, (3) Sending data via Zabbix trapper\u002Fsender, (4) Querying historical data or events, (5) Bulk operations on Zabbix objects, (6) Maintenance window management, (7) User\u002Fpermission management","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fzabbix-api-skill\u002FSKILL.md",[84,89,92],{"categoryNo":85,"categoryName":86,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":90,"categoryName":91,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":93,"categoryName":94,"taxonomyType":95,"taxonomyTypeDesc":96},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[80,63,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],"automation","window management","monitoring","data","templates","api","system","operations","use","maintenance","objects","permission","bulk operations","triggers","host","events","via","bulk",{"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":27},"01M6EM6Q9JG846ECQY9A210A26","x-twitter-growth","X\u002FTwitter growth engine for building audience, crafting viral content, and analyzing engagement. Use when the user wants to grow on X\u002FTwitter, write tweets or threads, analyze their X profile, research competitors on X, plan a posting strategy, or optimize engagement. Complements social-content (generic multi-platform) with X-specific depth: algorithm mechanics, thread engineering, reply strategy, profile optimization, and competitive intelligence via web search.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fx-twitter-growth\u002FSKILL.md",[],[123,124,125,126,127,128,24,129,130,131,132,133,134,135,136,137,138,139,140,141],"twitter","x twitter growth","growth","competitive intelligence","search","analyzing","marketing","web search","competitors","analyze","write","optimize","social","intelligence","viral","growth engine","mechanics","grow","competitive",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":27},"01M6EM3FQNPYNKPC4CV9TCVNGD","what-if-oracle","Run structured What-If scenario analysis with multi-branch possibility exploration. Use this skill when the user asks speculative questions like \"what if...\", \"what would happen if...\", \"what are the possibilities\", \"explore scenarios\", \"scenario analysis\", \"possibility space\", \"what could go wrong\", \"best case \u002F worst case\", \"risk analysis\", \"contingency planning\", \"strategic options\", or any question about uncertain futures. Also trigger when the user faces a fork-in-the-road decision, wants to stress-test an idea, or needs to think through consequences before committing.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fwhat-if-oracle\u002FSKILL.md",[],[149,150,151,152,153,154,155,156,157,158,159,160,106,161,162,163,164,165,166,167],"oracle","what if oracle","test","planning","ux","futures","risk","analysis","explore","decision","branch","question","exploration","options","stress-test","strategies","trigger","case","multi",{"skillNo":169,"name":170,"nameZh":6,"description":171,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":172,"categories":173,"keywords":177,"publishedAt":27},"01M6EM08C06RGDYCJ86HAPK0FF","vercel-react-best-practices","React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React\u002FNext.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fvercel-react-best-practices\u002FSKILL.md",[174],{"categoryNo":175,"categoryName":176,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000009","前端开发",[178,179,180,181,182,183,184,185,186,187,188,189,190,101,191,192,193,194,195,111],"react","vercel react best practices","best practices","react best practices","vercel","writing","performance","components","react components","guidelines","tasks","code","Optimization","Next.js","refactoring","performance optimization","next","pages",{"skillNo":197,"name":198,"nameZh":6,"description":199,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":200,"categories":201,"keywords":212,"publishedAt":27},"01M6EM00S13326QM08DTM94J6Z","venue-templates","Access comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.","https:\u002F\u002Fgithub.com\u002Flevalencia\u002Fagent-god-mode\u002Fblob\u002Fmain\u002Forganized-skills\u002Fvenue-templates\u002FSKILL.md",[202,205,208,209],{"categoryNo":203,"categoryName":204,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000018","写作与文案",{"categoryNo":206,"categoryName":207,"taxonomyType":87,"taxonomyTypeDesc":88},"01JBSEEDCAT000000000000021","资料检索与研究",{"categoryNo":90,"categoryName":91,"taxonomyType":87,"taxonomyTypeDesc":88},{"categoryNo":210,"categoryName":211,"taxonomyType":95,"taxonomyTypeDesc":96},"01JBSEEDCAT000000000000036","内容创作者",[102,213,214,187,215,216,217,218,219,220,221,133,222,223,224,225,226,227,77,228],"venue templates","research","NeurIPS","ICML","LaTeX","science","Bash","access","read","edit","proposals","Academic","requirements","formatting","journal","chi"]