[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D5AGE2AKGTRYPWC1QFQA88":3,"skill-same:01M6D5AGE2AKGTRYPWC1QFQA88":116},{"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":44,"linkOnly":45,"markdownContent":46,"markdownBody":47,"frontMatter":48,"refName":51,"commitSha":52,"skillDirectory":53,"forksCount":14,"repositoryHtmlUrl":54,"repositoryHomepageUrl":6,"ownerHtmlUrl":55,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":56,"install":57,"resources":69},"01M6D5AGE2AKGTRYPWC1QFQA88","build-stories",null,"Batch build all incomplete stories across epics — thin wrapper that shells out to the external `sdlc` controller, which owns the deterministic state machine.","fxmartin\u002Fclaude-code-config","fxmartin","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F7264390?v=4","01M6D59Z9JDK9V9YCBNCXKXE6M","François-Xavier Martin","01M6D59ZGWJ552048QS5E1GV2G",2,"MIT","https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43],"stories","build stories","build","rebuild","which","true","limit","EPIC","machine","id","dry","across","deterministic","run","Story","resume","Wrapper","auto","sdlc","coverage","Bash","preflight","controller","batch","state","2026-11-10 10:12:30",false,"---\nname: build-stories\ndescription: Batch build all incomplete stories across epics — thin wrapper that shells\n  out to the external `sdlc` controller, which owns the deterministic state machine.\ndisable-model-invocation: true\nargument-hint: '[all|resume|epic-NN|epic-name|story-id] [--dry-run] [--auto] [--skip-coverage]\n  [--rebuild] [--limit=N] [--sequential] [--coverage-threshold=N] [--skip-preflight]\n  [--preflight-timeout=N]'\nallowed-tools: Bash\n---\n\nYou are a **thin wrapper** around the external `sdlc` controller (Epic-07).\n\nOrchestration logic — discovery, cohort scheduling, the 4-stage build loop, the\nbugfix loop, schema-validated agent I\u002FO, and the SQLite ledger writes — lives in\ndeterministic Python in `controller\u002F`, **not** in this prompt. Your only job is\nto invoke the controller and return its exit code.\n\n## Running the controller\n\nForward the user's arguments to the controller verbatim, then surface its\nstdout\u002Fstderr and propagate its exit code unchanged. Do not re-implement any of\nthe orchestration here.\n\n```bash\nsdlc build $ARGUMENTS\n```\n\nIf `sdlc` is not on `PATH`, fall back to running it from the controller\ncheckout:\n\n```bash\nif command -v sdlc >\u002Fdev\u002Fnull 2>&1; then\n    sdlc build $ARGUMENTS\nelif [ -d controller ]; then\n    ( cd controller && uv run sdlc build $ARGUMENTS )\nelse\n    echo \"error: sdlc not on PATH and no .\u002Fcontroller in this repo.\" >&2\n    echo \"Install it from a claude-code-config checkout:\" >&2\n    echo \"  uv tool install \u002Fpath\u002Fto\u002Fclaude-code-config\u002Fcontroller\" >&2\n    exit 1\nfi\n```\n\n## What the controller does (reference only)\n\nThe controller (`controller\u002Fsrc\u002Fsdlc\u002F`) owns the full lifecycle:\n\n1. **Preflight** — shells out to the detected test command; aborts if red\n   (unless `--skip-preflight`).\n2. **Discovery** — reads stories from the markdown epic files (or the SQLite\n   ledger when resuming).\n3. **Cohort scheduling** — groups stories into dependency cohorts.\n4. **Build → Coverage → Review → Merge** — dispatches each agent as a\n   subprocess and validates every response against its JSON-schema contract\n   (`controller\u002Fschemas\u002F`). A missing or schema-invalid result block is treated\n   as a build failure and routed to the bugfix loop — the next stage never runs\n   on garbage.\n5. **Bugfix loop** — bounded retries per story before marking it FAILED.\n6. **Ledger writes** — every stage transition is persisted to the Epic-04\n   SQLite ledger (`.sdlc-state.db`) before the next stage begins.\n7. **Markdown view** — regenerates `docs\u002Fstories\u002F.build-progress.md` from the\n   ledger via `sdlc-state.sh render`.\n\nThe build pipeline's agent prompts are rendered **in Python** by the controller\n(`render_build_prompt`, `render_review_prompt`, `render_bugfix_prompt` and\nfriends in `controller\u002Fsrc\u002Fsdlc\u002Fbuild.py`). The controller never reads the\n`.md` files in this skill directory, so editing one does not change what\n`sdlc build` dispatches — change the renderer instead.\n\n`sdlc fix` works the same way — its prompts are rendered by `render_*_prompt`\nfunctions in `controller\u002Fsrc\u002Fsdlc\u002Ffix_issue.py`, not loaded from disk.\n\nThe files are still maintained, though, so do not treat them as dead.\n`bugfix-agent-prompt.md`, `coverage-gate-prompt.md` and `doc-update-prompt.md`\nare symlinks into `skills\u002F_shared\u002F`, single-sourced across the `build-stories`\nand `fix-issue` skill directories (Story 27.1-003), and a structural test fails\nthe build if one stops resolving. Separately, `coverage-gate-prompt.md` and\n`merge-update-prompt.md` carry byte ceilings that fail on regrowth. Keep all of\nthem in step with the Python renderers they mirror; the remaining `.md` files\nhere carry neither guarantee.\n","You are a **thin wrapper** around the external `sdlc` controller (Epic-07).\n\nOrchestration logic — discovery, cohort scheduling, the 4-stage build loop, the\nbugfix loop, schema-validated agent I\u002FO, and the SQLite ledger writes — lives in\ndeterministic Python in `controller\u002F`, **not** in this prompt. Your only job is\nto invoke the controller and return its exit code.\n\n## Running the controller\n\nForward the user's arguments to the controller verbatim, then surface its\nstdout\u002Fstderr and propagate its exit code unchanged. Do not re-implement any of\nthe orchestration here.\n\n```bash\nsdlc build $ARGUMENTS\n```\n\nIf `sdlc` is not on `PATH`, fall back to running it from the controller\ncheckout:\n\n```bash\nif command -v sdlc >\u002Fdev\u002Fnull 2>&1; then\n    sdlc build $ARGUMENTS\nelif [ -d controller ]; then\n    ( cd controller && uv run sdlc build $ARGUMENTS )\nelse\n    echo \"error: sdlc not on PATH and no .\u002Fcontroller in this repo.\" >&2\n    echo \"Install it from a claude-code-config checkout:\" >&2\n    echo \"  uv tool install \u002Fpath\u002Fto\u002Fclaude-code-config\u002Fcontroller\" >&2\n    exit 1\nfi\n```\n\n## What the controller does (reference only)\n\nThe controller (`controller\u002Fsrc\u002Fsdlc\u002F`) owns the full lifecycle:\n\n1. **Preflight** — shells out to the detected test command; aborts if red\n   (unless `--skip-preflight`).\n2. **Discovery** — reads stories from the markdown epic files (or the SQLite\n   ledger when resuming).\n3. **Cohort scheduling** — groups stories into dependency cohorts.\n4. **Build → Coverage → Review → Merge** — dispatches each agent as a\n   subprocess and validates every response against its JSON-schema contract\n   (`controller\u002Fschemas\u002F`). A missing or schema-invalid result block is treated\n   as a build failure and routed to the bugfix loop — the next stage never runs\n   on garbage.\n5. **Bugfix loop** — bounded retries per story before marking it FAILED.\n6. **Ledger writes** — every stage transition is persisted to the Epic-04\n   SQLite ledger (`.sdlc-state.db`) before the next stage begins.\n7. **Markdown view** — regenerates `docs\u002Fstories\u002F.build-progress.md` from the\n   ledger via `sdlc-state.sh render`.\n\nThe build pipeline's agent prompts are rendered **in Python** by the controller\n(`render_build_prompt`, `render_review_prompt`, `render_bugfix_prompt` and\nfriends in `controller\u002Fsrc\u002Fsdlc\u002Fbuild.py`). The controller never reads the\n`.md` files in this skill directory, so editing one does not change what\n`sdlc build` dispatches — change the renderer instead.\n\n`sdlc fix` works the same way — its prompts are rendered by `render_*_prompt`\nfunctions in `controller\u002Fsrc\u002Fsdlc\u002Ffix_issue.py`, not loaded from disk.\n\nThe files are still maintained, though, so do not treat them as dead.\n`bugfix-agent-prompt.md`, `coverage-gate-prompt.md` and `doc-update-prompt.md`\nare symlinks into `skills\u002F_shared\u002F`, single-sourced across the `build-stories`\nand `fix-issue` skill directories (Story 27.1-003), and a structural test fails\nthe build if one stops resolving. Separately, `coverage-gate-prompt.md` and\n`merge-update-prompt.md` carry byte ceilings that fail on regrowth. Keep all of\nthem in step with the Python renderers they mirror; the remaining `.md` files\nhere carry neither guarantee.\n",{"name":5,"description":7,"allowed-tools":39,"argument-hint":49,"disable-model-invocation":50},"[all|resume|epic-NN|epic-name|story-id] [--dry-run] [--auto] [--skip-coverage] [--rebuild] [--limit=N] [--sequential] [--coverage-threshold=N] [--skip-preflight] [--preflight-timeout=N]",true,"main","abf8bf1ad6150c1db54a6feb7c038bb581f27411","plugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories","https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config","https:\u002F\u002Fgithub.com\u002Ffxmartin","2026-11-15 03:42:20",{"source":8,"skillName":5,"commands":58,"prompt":68,"zipAvailable":50},[59,62,65],{"tool":60,"command":61},"npx","npx skills add fxmartin\u002Fclaude-code-config --skill build-stories",{"tool":63,"command":64},"bunx","bunx skills add fxmartin\u002Fclaude-code-config --skill build-stories",{"tool":66,"command":67},"pnpm","pnpm dlx skills add fxmartin\u002Fclaude-code-config --skill build-stories","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002FSKILL.md",[70,76,80,84,88,92,96,100,104,108,112],{"path":71,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":74,"sourceHtmlUrl":75},"batch-progress.md","REFERENCE","参考文档",4376,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fbatch-progress.md",{"path":77,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":78,"sourceHtmlUrl":79},"bugfix-agent-prompt.md",33,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fbugfix-agent-prompt.md",{"path":81,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":82,"sourceHtmlUrl":83},"coverage-gate-prompt.md",34,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fcoverage-gate-prompt.md",{"path":85,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":86,"sourceHtmlUrl":87},"dependency-resolver.md",2862,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fdependency-resolver.md",{"path":89,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":90,"sourceHtmlUrl":91},"discovery-agent-prompt.md",6902,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fdiscovery-agent-prompt.md",{"path":93,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":94,"sourceHtmlUrl":95},"doc-update-prompt.md",31,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fdoc-update-prompt.md",{"path":97,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":98,"sourceHtmlUrl":99},"e2e-gate.md",5933,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fe2e-gate.md",{"path":101,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":102,"sourceHtmlUrl":103},"merge-update-prompt.md",5437,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fmerge-update-prompt.md",{"path":105,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":106,"sourceHtmlUrl":107},"story-parser.md",2900,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fstory-parser.md",{"path":109,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":110,"sourceHtmlUrl":111},"story-validation.md",2332,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fstory-validation.md",{"path":113,"resourceType":72,"resourceTypeDesc":73,"sizeBytes":114,"sourceHtmlUrl":115},"summary-prompt.md",2421,"https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fplugins\u002Fautonomous-sdlc\u002Fskills\u002Fbuild-stories\u002Fsummary-prompt.md",[117,127,140,146,169,195],{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":44},"01M6D5CPZ1N8C65QEHCM6YQJAV","evil","A poisoned skill fixture carrying an encoded payload.","https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsupply-chain\u002Fpoisoned\u002Fskills\u002Fevil\u002FSKILL.md",[],[119,124,125,126],"skill fixture","fixture","payload",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":44},"01M6D5CMBKSDEP6EC5JSVC0NEX","demo","A harmless demo skill used as a clean supply-chain fixture.","https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsupply-chain\u002Fclean\u002Fskills\u002Fdemo\u002FSKILL.md",[],[129,134,135,136,137,125,138,139],"clean","supply","chain","as","demo skill","supply-chain",{"skillNo":141,"name":142,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":44},"01M6D5CJDTS6WPNVV16QH2884X","skills","https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fagent-registry\u002Fno-agents-dir\u002Fskills\u002Fskill.md",[],[],{"skillNo":147,"name":148,"nameZh":6,"description":149,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":150,"categories":151,"keywords":152,"publishedAt":44},"01M6D5CER35BRAX8CGMMMWD6F4","telegram","Post messages to Telegram via Bot API. Supports Markdown formatting, reply-to, and silent mode.","https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ftelegram\u002FSKILL.md",[],[148,153,28,154,155,156,157,158,159,160,161,162,39,163,164,165,166,167,24,168],"webfetch","false","formatting","chat","message","reply","html","via","read","markdown","api","messages","bot","markdown formatting","mode","post",{"skillNo":170,"name":171,"nameZh":6,"description":172,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":173,"categories":174,"keywords":175,"publishedAt":44},"01M6D5CAK78MTSKH8WHTPGJGKX","fix-github-issue","Fix a GitHub issue with quality gates — coverage, code review, E2E, and bugfix triage loop.","https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Ffix-github-issue\u002FSKILL.md",[],[176,177,178,179,180,24,181,182,183,184,185,186,39,187,188,161,189,190,38,36,191,192,193,194],"fix github issue","issue","github issue","fix","github","number","code","quality gates","review","code review","e2e","loop","quality","write","edit","next","gates","bugfix","URL",{"skillNo":196,"name":197,"nameZh":6,"description":198,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":199,"categories":200,"keywords":201,"publishedAt":44},"01M6D5C4ZN2JZ5G467GQ6YPSXG","execute-e2e-tests","Run and manage Playwright E2E tests. Setup, write, execute, and debug end-to-end tests for any project.","https:\u002F\u002Fgithub.com\u002Ffxmartin\u002Fclaude-code-config\u002Fblob\u002Fmain\u002Fskills\u002Fexecute-e2e-tests\u002FSKILL.md",[],[202,203,204,205,186,182,206,32,207,208,209,210,211,212,213,214,215,216,161,190,189,39,164,217],"e2e tests","execute e2e tests","tests","execute","MCP","click","select","navigate","playwright e2e tests","close","option","end","dialog","project","back","browser"]