[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M719SCWJW3X60D6B8A002XX0":3,"skill-same:01M719SCWJW3X60D6B8A002XX0":78},{"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":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":51,"ownerDescription":52,"updatedAt":53,"install":54,"resources":67},"01M719SCWJW3X60D6B8A002XX0","test-driven-development",null,"Use when implementing a high-risk behavior change, reproduced regression, or costly contract. Do NOT use by default for docs, styling, config, or low-risk wiring.","tsergeytovarov\u002Fai-settings","tsergeytovarov","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F3905611?v=4","01M719RB2HBE8D1JNTDCFQXC4X","Серёжа","01M719RB36841W0ET9WA5ESQ0F",16,"MIT","https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Ftest-driven-development\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"test driven development","test","driven","development","styling","config","behavior","high","change","wiring","workflow","when","use","contract","implementing","default","regression","for","risk","do","2026-11-10 10:12:30",false,"---\nname: test-driven-development\nversion: 6.2.0\ncategory: workflow\ndescription: Use when implementing a high-risk behavior change, reproduced regression, or costly contract. Do NOT use by default for docs, styling, config, or low-risk wiring.\n---\n\n# Risk-Based Test-Driven Development\n\nTDD protects critical behavior. It is not a requirement to create a test for\nevery changed function.\n\nRead `..\u002Fusing-superpowers\u002Freferences\u002Frisk-policy.md` and classify the change.\n\n## Decision\n\n| Risk | New test |\n|---|---|\n| Low | None by default; use a focused check or smoke path |\n| Medium | Only for a key outcome, non-obvious branch, or hard-to-notice regression |\n| High | One minimal regression or contract test first when practical |\n\nDo not test private helpers, trivial branches, static rendering details, or\nbehavior already covered through a public seam.\n\n## Critical TDD Cycle\n\nFor a warranted test:\n\n1. Write the smallest test that describes the critical observable behavior.\n2. Run it and confirm it fails for the expected missing behavior.\n3. Implement the smallest production change.\n4. Run the focused test and the affected suite once.\n5. Refactor only if needed, then rerun the closest affected target.\n\nMocks are limited to external boundaries. Prefer real in-process behavior.\n\n## Existing Code or Impractical Automation\n\nDo not delete completed code merely because the test was not written first.\nAdd a focused regression test when it materially protects the outcome. If\nautomation is disproportionately expensive or impossible, record and run a\nreproducible smoke check instead.\n\n## Completion\n\n- Every check that was run must pass.\n- A passing focused test does not justify running unrelated suites.\n- State what was verified and what was intentionally not tested.\n","# Risk-Based Test-Driven Development\n\nTDD protects critical behavior. It is not a requirement to create a test for\nevery changed function.\n\nRead `..\u002Fusing-superpowers\u002Freferences\u002Frisk-policy.md` and classify the change.\n\n## Decision\n\n| Risk | New test |\n|---|---|\n| Low | None by default; use a focused check or smoke path |\n| Medium | Only for a key outcome, non-obvious branch, or hard-to-notice regression |\n| High | One minimal regression or contract test first when practical |\n\nDo not test private helpers, trivial branches, static rendering details, or\nbehavior already covered through a public seam.\n\n## Critical TDD Cycle\n\nFor a warranted test:\n\n1. Write the smallest test that describes the critical observable behavior.\n2. Run it and confirm it fails for the expected missing behavior.\n3. Implement the smallest production change.\n4. Run the focused test and the affected suite once.\n5. Refactor only if needed, then rerun the closest affected target.\n\nMocks are limited to external boundaries. Prefer real in-process behavior.\n\n## Existing Code or Impractical Automation\n\nDo not delete completed code merely because the test was not written first.\nAdd a focused regression test when it materially protects the outcome. If\nautomation is disproportionately expensive or impossible, record and run a\nreproducible smoke check instead.\n\n## Completion\n\n- Every check that was run must pass.\n- A passing focused test does not justify running unrelated suites.\n- State what was verified and what was intentionally not tested.\n",{"name":5,"version":44,"category":29,"description":7},"6.2.0","main","999ab1e34f84d46215735d0586cfc5b23fc06f59","skills\u002Fsuperpowers\u002Ftest-driven-development",5,"https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings","https:\u002F\u002Fgithub.com\u002Ftsergeytovarov","https:\u002F\u002Ft.me\u002Fseryozha_typing","Хроникёр рынка. Product Owner в Skillaz, B2B\u002FB2C, HRTech, Edtech, IT. Здесь коротко про продукт, найм, AI. ","2026-10-14 17:41:06",{"source":8,"skillName":5,"commands":55,"prompt":65,"zipAvailable":66},[56,59,62],{"tool":57,"command":58},"npx","npx skills add tsergeytovarov\u002Fai-settings --skill test-driven-development",{"tool":60,"command":61},"bunx","bunx skills add tsergeytovarov\u002Fai-settings --skill test-driven-development",{"tool":63,"command":64},"pnpm","pnpm dlx skills add tsergeytovarov\u002Fai-settings --skill test-driven-development","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Ftest-driven-development\u002FSKILL.md",true,[68,74],{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"CHANGELOG.md","REFERENCE","参考文档",311,"https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Ftest-driven-development\u002FCHANGELOG.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"writing-good-tests.md",8268,"https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Ftest-driven-development\u002Fwriting-good-tests.md",[79,85,101,114,129,147],{"skillNo":80,"name":81,"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":82,"categories":83,"keywords":84,"publishedAt":39},"01M719SPT97Y0W7WM55EM26MQ4","bad","https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Ftests\u002Fskill_lint\u002Ffixtures\u002Fbad-skill\u002FSKILL.md",[],[81],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":39},"01M719SN0W4AD8P92NZHGZKPJK","writing-skills","Use when creating, editing, or validating reusable agent skills and their trigger behavior. Do NOT use for ordinary project documentation or one-off prompts.","https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Fwriting-skills\u002FSKILL.md",[],[92,93,30,29,94,95,38,96,36,97,98,25,99,31,100],"writing","writing skills","reusable","documentation","project documentation","project","editing","trigger","prompts",{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":39},"01M719SKD78XFM744B7JSJDD4Q","writing-plans","Use when an approved change spans multiple dependent outcomes and needs a durable implementation sequence before coding. Do NOT use for small, obvious, reversible edits.","https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Fwriting-plans\u002FSKILL.md",[],[92,108,109,110,38,27,111,36,112,113,31,30,29],"plans","writing plans","coding","outcomes","sequence","implementation",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":39},"01M719SJ281Y8RQSTF3DSTK52K","verification-before-completion","Use when about to claim work is complete, fixed, passing, or ready to integrate. Do NOT use to repeat checks without a completion claim or concrete doubt.","https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Fverification-before-completion\u002FSKILL.md",[],[121,122,29,30,38,123,124,125,126,127,128,31],"verification before completion","verification","ready","work","about","complete","claim","integrate",{"skillNo":130,"name":131,"nameZh":6,"description":132,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":133,"categories":134,"keywords":135,"publishedAt":39},"01M719SGMYJ7J10M596ACQ2242","using-superpowers","Use when starting a conversation or deciding whether a Superpowers workflow matches the current task. Do NOT use it to auto-invoke skills whose stated triggers do not match.","https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Fusing-superpowers\u002FSKILL.md",[],[136,137,138,139,140,38,141,142,143,31,144,30,29,145,146],"superpowers","using superpowers","invoke","conversation","auto-invoke","triggers","auto","match","superpowers workflow","it","task",{"skillNo":148,"name":149,"nameZh":6,"description":150,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":151,"categories":152,"keywords":153,"publishedAt":39},"01M719SEDC3PHS61D6Q4RA3RNR","using-git-worktrees","Use when feature work needs isolation from the current workspace or before executing a risky implementation plan. Do NOT use when the current workspace is already safe and isolated.","https:\u002F\u002Fgithub.com\u002Ftsergeytovarov\u002Fai-settings\u002Fblob\u002Fmain\u002Fskills\u002Fsuperpowers\u002Fusing-git-worktrees\u002FSKILL.md",[],[154,155,156,157,158,159,38,160,161,162,113,163,29,30,124,31,164],"using git worktrees","Using git","git","worktrees","git worktrees","feature","plan","workspace","safe","isolation","implementation plan"]