[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M786XYWMJR3HCJ5YGMRZG11Z":3,"skill-same:01M786XYWMJR3HCJ5YGMRZG11Z":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":14,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":47},"01M786XYWMJR3HCJ5YGMRZG11Z","test-driven-development",null,"Use for test-first feature, bugfix, or refactoring work. During sp-implement feature batching, defer execution to its workflow-owned validation epochs instead of rerunning tests per task.","chenziyang110\u002Flaunchdeck","chenziyang110","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43693913?v=4","01M7863EBWK1D0P6A29YGEMAS4","Robin11","01M7863ECM1VB6RXDMHTW90D2T",0,"MIT","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: \"test-driven-development\"\ndescription: \"Use for test-first feature, bugfix, or refactoring work. During sp-implement feature batching, defer execution to its workflow-owned validation epochs instead of rerunning tests per task.\"\ncompatibility: \"Requires spec-kit project structure with .specify\u002F directory\"\nmetadata:\n  author: \"github-spec-kit\"\n  source: \"templates\u002Fpassive-skills\u002Ftest-driven-development\u002FSKILL.md\"\n---\n\n\n# Test-Driven Development (Spec Kit Plus)\n\nWrite the test first. Watch it fail. Write minimal code to pass.\n\n## Workflow-Owned Validation\n\nWhen `sp-implement` declares `feature_epochs`, the change-set remains test-first\nbut the Leader owns execution. Workers may author mapped tests before production\nedits, then stop for the combined RED\u002Fbaseline epoch; implementation workers use\nthe accepted epoch ref and run only cheap task checks. They return test impact so\nthe Leader can run one convergence epoch after integration.\n\nThe validation epoch budget is shared across Implement and Review. This passive\nskill must not start an extra validation epoch for a Txx, join, resume, commit, or\ncompletion claim. Reuse current fingerprint-bound ledger evidence; never reset\nor bypass the owning workflow's maximum.\n\n## Integration with sp-* Workflows\n\n- **`sp-implement`**: Group related formal tasks into a coherent change-set.\n  Author\u002Fselect mapped tests before production edits and let the Leader execute\n  one combined RED\u002Fbaseline epoch. Do not require every worker to rerun RED and\n  GREEN per task.\n- **`sp-debug`**: When diagnosing or fixing a bug, your FIRST step must be to write a failing test that explicitly reproduces the bug. Do not change production code until you have empirically confirmed the failure state.\n- **`sp-fast` \u002F `sp-quick`**: Even for small, bounded fixes, write a test first to verify the fix and prevent regressions.\n\n## The Iron Law\n\n```\nNO PRODUCTION CODE WITHOUT A FAILING TEST FIRST\n```\n\nWrite a change-set before its test contract? Stop and repair the ordering before\ncontinuing.\nViolating the letter of the rules is violating the spirit of the rules.\n\n## Red-Green-Refactor\n\n1. **RED**: Write a minimal failing test showing what should happen. In an active\n   feature-epoch workflow, the Leader verifies the combined RED state once.\n2. **GREEN**: Write the simplest, most minimal production code to pass the test.\n   In that workflow, the Leader verifies the integrated change-set once.\n3. **REFACTOR**: Clean up duplication and improve structure while keeping the tests green. Do not add new behavior during refactoring.\n\n## Red Flags - STOP and Start Over\n\n- Writing production code before the test.\n- \"I already manually tested it.\"\n- \"The fix is too simple to need a test.\"\n- \"I'll add the tests after I get it working.\"\n- Modifying production code in `sp-debug` before reproducing the issue in a test.\n\nIf you encounter these red flags, stop, discard the unverified code, and start over with a failing test.\n","# Test-Driven Development (Spec Kit Plus)\n\nWrite the test first. Watch it fail. Write minimal code to pass.\n\n## Workflow-Owned Validation\n\nWhen `sp-implement` declares `feature_epochs`, the change-set remains test-first\nbut the Leader owns execution. Workers may author mapped tests before production\nedits, then stop for the combined RED\u002Fbaseline epoch; implementation workers use\nthe accepted epoch ref and run only cheap task checks. They return test impact so\nthe Leader can run one convergence epoch after integration.\n\nThe validation epoch budget is shared across Implement and Review. This passive\nskill must not start an extra validation epoch for a Txx, join, resume, commit, or\ncompletion claim. Reuse current fingerprint-bound ledger evidence; never reset\nor bypass the owning workflow's maximum.\n\n## Integration with sp-* Workflows\n\n- **`sp-implement`**: Group related formal tasks into a coherent change-set.\n  Author\u002Fselect mapped tests before production edits and let the Leader execute\n  one combined RED\u002Fbaseline epoch. Do not require every worker to rerun RED and\n  GREEN per task.\n- **`sp-debug`**: When diagnosing or fixing a bug, your FIRST step must be to write a failing test that explicitly reproduces the bug. Do not change production code until you have empirically confirmed the failure state.\n- **`sp-fast` \u002F `sp-quick`**: Even for small, bounded fixes, write a test first to verify the fix and prevent regressions.\n\n## The Iron Law\n\n```\nNO PRODUCTION CODE WITHOUT A FAILING TEST FIRST\n```\n\nWrite a change-set before its test contract? Stop and repair the ordering before\ncontinuing.\nViolating the letter of the rules is violating the spirit of the rules.\n\n## Red-Green-Refactor\n\n1. **RED**: Write a minimal failing test showing what should happen. In an active\n   feature-epoch workflow, the Leader verifies the combined RED state once.\n2. **GREEN**: Write the simplest, most minimal production code to pass the test.\n   In that workflow, the Leader verifies the integrated change-set once.\n3. **REFACTOR**: Clean up duplication and improve structure while keeping the tests green. Do not add new behavior during refactoring.\n\n## Red Flags - STOP and Start Over\n\n- Writing production code before the test.\n- \"I already manually tested it.\"\n- \"The fix is too simple to need a test.\"\n- \"I'll add the tests after I get it working.\"\n- Modifying production code in `sp-debug` before reproducing the issue in a test.\n\nIf you encounter these red flags, stop, discard the unverified code, and start over with a failing test.\n",{"name":5,"metadata":24,"description":7,"compatibility":27},{"author":25,"source":26},"github-spec-kit","templates\u002Fpassive-skills\u002Ftest-driven-development\u002FSKILL.md","Requires spec-kit project structure with .specify\u002F directory","main","021f5cbe02157229460a577e9a585f2da6d78cb0",".codex\u002Fskills\u002Ftest-driven-development","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck","https:\u002F\u002Fgithub.com\u002Fchenziyang110","2026-08-07 18:10:54",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add chenziyang110\u002Flaunchdeck --skill test-driven-development",{"tool":40,"command":41},"bunx","bunx skills add chenziyang110\u002Flaunchdeck --skill test-driven-development",{"tool":43,"command":44},"pnpm","pnpm dlx skills add chenziyang110\u002Flaunchdeck --skill test-driven-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"testing-anti-patterns.md","REFERENCE","参考文档",8251,"https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.codex\u002Fskills\u002Ftest-driven-development\u002Ftesting-anti-patterns.md",[55,62,68,74,81,90],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":19},"01M7875F3HQ1GF5F6BR36KY3JE","launchdeck-agent","Codex host adapter contract fixture for Launchdeck.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fagent-hosts\u002Fcodex\u002Fskill\u002FSKILL.md",[],[],{"skillNo":63,"name":57,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M7875DV2DQR33K1NFJHKAMZP","Claude host adapter contract fixture for Launchdeck.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Ftest\u002Ffixtures\u002Fagent-hosts\u002Fclaude\u002Fskill\u002FSKILL.md",[],[],{"skillNo":69,"name":57,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M78759JQ7A6FQ8KDQTNYS3X9","Use this skill aggressively for local project lifecycle operations even when the user does not mention Launchdeck: start this project, run the dev server, dev, build, test, restart service, stop service, show logs, inspect ports, port is occupied, clean cache; and when the user explicitly asks to configure this local project for Launchdeck or create or generate a project-adapted `.launchdeck.yml`, including 为这个项目生成 Launchdeck 配置. Do not use for ordinary code edits, docs-only work, general explanations, API design discussion, or production deployment unless the user also asks to operate or configure a local project or service.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002Fagent\u002Finstaller-payload\u002Fskill\u002Flaunchdeck-agent\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M78753ZJQ7G2CZT1W1G8WRJV","zig-testing","Use ONLY when user explicitly requests Zig test code, built-in test runner configuration,\ntest failure diagnosis, or coverage for Zig projects.\n\nTriggers: \"write test zig\", \"zig test\", \"testing.allocator\", \"zig coverage\",\n\"comptime test\", \"zig expectError\", \"zig snapshot test\", \"zig fuzz\".\n\nDo NOT activate for: general Zig coding without test context, build.zig configuration\nfor non-test targets, Zig compiler errors, or Zig build system setup.","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fzig-testing\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":85,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M78750JXY4Z5D5W1EX3PQ31Z","webapp-testing","Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.","Apache-2.0","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fwebapp-testing\u002FLICENSE.txt","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fwebapp-testing\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7874X2T83EQQFRCEY5SJJVC","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002Fchenziyang110\u002Flaunchdeck\u002Fblob\u002Fmain\u002F.specify\u002Ftemplates\u002Fpassive-skills\u002Fverification-before-completion\u002FSKILL.md",[],[]]