[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6X1ETFNY80MNZMF7XKNMXEY":3,"skill-same:01M6X1ETFNY80MNZMF7XKNMXEY":62},{"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":32,"linkOnly":33,"markdownContent":34,"markdownBody":35,"frontMatter":36,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":45,"ownerDescription":46,"updatedAt":47,"install":48,"resources":61},"01M6X1ETFNY80MNZMF7XKNMXEY","test-discipline",null,"Design assertions that prove the actual contract and fail on realistic regressions","github\u002Fsquad","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6X0MZ6B0WYMMDPK3Q61KER6",3391,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fpackages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Ftest-discipline\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31],"test","test discipline","discipline","design","regression","quality","incident","contract","tests","high","assertions","lessons","prove","2026-11-10 10:12:30",false,"---\nname: test-discipline\ndescription: Design assertions that prove the actual contract and fail on realistic regressions\ndomain: quality\nconfidence: high\nsource: current regression tests and retained quality incident lessons\n---\n\n## Context\n\nUse this skill whenever a change affects an API, public interface, workflow contract, generated\nartifact, or user-observable behavior. A passing status-only test is not evidence that the\nintended artifact or contract is correct.\n\n## Patterns\n\n- Update tests in the same change as an API, signature, export, or public-interface change.\n- Make assertions name and inspect the offending artifact, output, or configuration field—not just\n  an exit code or broad success status.\n- Mutation-test critical gates by changing the real source or emitted artifact and proving the\n  assertion turns red.\n- Exercise every caller path for a changed parser, normalizer, or helper; isolated unit coverage\n  can miss the integration path that invokes it differently.\n- Reproduce working-tree-only failures locally when the contract depends on index, filesystem,\n  line-ending, or generated-output state.\n- Keep expected inventory arrays synchronized with the files they enumerate.\n\n## Examples\n\nA workflow-compilation test mutates the source workflow, compiles it, and inspects the emitted\nsafe-output contract. A repair-script test constructs the actual index\u002Fblob\u002Fworktree state that\nthe repair routine must handle instead of a simplified fixture.\n\n## Anti-Patterns\n\n- Calling a test sufficient because it observes only a successful process exit\n- Mutating a hand-built fixture instead of the source or artifact protected by the gate\n- Testing a helper while omitting production callers\n- Treating a local checkout defect as something CI alone can validate\n","## Context\n\nUse this skill whenever a change affects an API, public interface, workflow contract, generated\nartifact, or user-observable behavior. A passing status-only test is not evidence that the\nintended artifact or contract is correct.\n\n## Patterns\n\n- Update tests in the same change as an API, signature, export, or public-interface change.\n- Make assertions name and inspect the offending artifact, output, or configuration field—not just\n  an exit code or broad success status.\n- Mutation-test critical gates by changing the real source or emitted artifact and proving the\n  assertion turns red.\n- Exercise every caller path for a changed parser, normalizer, or helper; isolated unit coverage\n  can miss the integration path that invokes it differently.\n- Reproduce working-tree-only failures locally when the contract depends on index, filesystem,\n  line-ending, or generated-output state.\n- Keep expected inventory arrays synchronized with the files they enumerate.\n\n## Examples\n\nA workflow-compilation test mutates the source workflow, compiles it, and inspects the emitted\nsafe-output contract. A repair-script test constructs the actual index\u002Fblob\u002Fworktree state that\nthe repair routine must handle instead of a simplified fixture.\n\n## Anti-Patterns\n\n- Calling a test sufficient because it observes only a successful process exit\n- Mutating a hand-built fixture instead of the source or artifact protected by the gate\n- Testing a helper while omitting production callers\n- Treating a local checkout defect as something CI alone can validate\n",{"name":5,"domain":24,"source":37,"confidence":28,"description":7},"current regression tests and retained quality incident lessons","dev","7b731ec97f35346bdc4fa87c3edaf16b808fc0ae","packages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Ftest-discipline",520,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad","https:\u002F\u002Fgithub.github.io\u002Fsquad\u002F","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 02:13:59",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add github\u002Fsquad --skill test-discipline",{"tool":54,"command":55},"bunx","bunx skills add github\u002Fsquad --skill test-discipline",{"tool":57,"command":58},"pnpm","pnpm dlx skills add github\u002Fsquad --skill test-discipline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fpackages\u002Fsquad-cli\u002Ftemplates\u002Fskills\u002Ftest-discipline\u002FSKILL.md",true,[],[63,71,78,85,90,97],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":70},"01M76752CVNE7K6NWD59CRAYNJ","windows-compatibility","Cross-platform path handling and command patterns","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":70},"01M767508W8A4G83NX1FKEW5VN","versioning-policy","SemVer rules for Squad's stable, preview, insider, and local package versions","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[],[],{"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":84,"publishedAt":70},"01M7674X5JJKNJ74B3SS8PGXG2","tiered-memory","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[],[],{"skillNo":86,"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":87,"categories":88,"keywords":89,"publishedAt":70},"01M7674V3S9H03A76H75M1KSAF","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Ftest-discipline\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":70},"01M7674QB8CA61RNDX2Z0NAK71","squad","Squad's command catalog and interactive menu. Invoke via \u002Fsquad (slash command) or natural language (\"squad commands\", \"what can squad do\", \"show me squad options\"). Presents categorized operations (Install & Upgrade, Team Management, Issues & PRs, Plugins & Skills, Model & Cost, Sessions & State) as an interactive picker. Routes to the right squad CLI command or the Squad coordinator agent.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fsquad\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":70},"01M7674KTQ632N30HQB1TP7TXH","squad-version-check","Internals of how @bradygaster\u002Fsquad-cli stamps its version, how `squad upgrade` works (what it preserves vs overwrites), and how to probe the npm registry for the latest version from a coordinator prompt.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fsquad\u002Fblob\u002Fdev\u002Fplugins\u002Fsquad\u002Fskills\u002Fsquad-version-check\u002FSKILL.md",[],[]]