[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6ADBZTDGFM0E25EWRQEMYEH":3,"skill-same:01M6ADBZTDGFM0E25EWRQEMYEH":70},{"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":23,"publishedAt":34,"linkOnly":35,"markdownContent":36,"markdownBody":37,"frontMatter":38,"refName":40,"commitSha":41,"skillDirectory":42,"forksCount":43,"repositoryHtmlUrl":44,"repositoryHomepageUrl":45,"ownerHtmlUrl":46,"ownerBlogUrl":47,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6ADBZTDGFM0E25EWRQEMYEH","test-discipline",null,"Update tests when changing APIs — no exceptions","github\u002Fgh-aw","github","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F9919?v=4","01M6AC83DS133TPXFSP1DHNCC6","GitHub","01M6AD3VCZ4WKQSFSRTPN7N9DN",5636,"MIT","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftest-discipline\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33],"test","test discipline","discipline","sync","update","quality","incident","tests","high","when","2026-11-10 10:12:30",false,"---\nname: \"test-discipline\"\ndescription: \"Update tests when changing APIs — no exceptions\"\ndomain: \"quality\"\nconfidence: \"high\"\nsource: \"earned (Fenster\u002FHockney incident, test assertion sync violations)\"\n---\n\n## Context\n\nWhen APIs or public interfaces change, tests must be updated in the same commit. When test assertions reference file counts or expected arrays, they must be kept in sync with disk reality. Stale tests block CI for other contributors.\n\n## Patterns\n\n- **API changes → test updates (same commit):** If you change a function signature, public interface, or exported API, update the corresponding tests before committing\n- **Test assertions → disk reality:** When test files contain expected counts (e.g., `EXPECTED_FEATURES`, `EXPECTED_SCENARIOS`), they must match the actual files on disk\n- **Add files → update assertions:** When adding docs pages, features, or any counted resource, update the test assertion array in the same commit\n- **CI failures → check assertions first:** Before debugging complex failures, verify test assertion arrays match filesystem state\n\n## Examples\n\n✓ **Correct:**\n- Changed auth API signature → updated auth.test.ts in same commit\n- Added `distributed-mesh.md` to features\u002F → added `'distributed-mesh'` to EXPECTED_FEATURES array\n- Deleted two scenario files → removed entries from EXPECTED_SCENARIOS\n\n✗ **Incorrect:**\n- Changed spawn parameters → committed without updating casting.test.ts (CI breaks for next person)\n- Added `built-in-roles.md` → left EXPECTED_FEATURES at old count (PR blocked)\n- Test says \"expected 7 files\" but disk has 25 (assertion staleness)\n\n## Anti-Patterns\n\n- Committing API changes without test updates (\"I'll fix tests later\")\n- Treating test assertion arrays as static (they evolve with content)\n- Assuming CI passing means coverage is correct (stale assertions can pass while being wrong)\n- Leaving gaps for other agents to discover\n","## Context\n\nWhen APIs or public interfaces change, tests must be updated in the same commit. When test assertions reference file counts or expected arrays, they must be kept in sync with disk reality. Stale tests block CI for other contributors.\n\n## Patterns\n\n- **API changes → test updates (same commit):** If you change a function signature, public interface, or exported API, update the corresponding tests before committing\n- **Test assertions → disk reality:** When test files contain expected counts (e.g., `EXPECTED_FEATURES`, `EXPECTED_SCENARIOS`), they must match the actual files on disk\n- **Add files → update assertions:** When adding docs pages, features, or any counted resource, update the test assertion array in the same commit\n- **CI failures → check assertions first:** Before debugging complex failures, verify test assertion arrays match filesystem state\n\n## Examples\n\n✓ **Correct:**\n- Changed auth API signature → updated auth.test.ts in same commit\n- Added `distributed-mesh.md` to features\u002F → added `'distributed-mesh'` to EXPECTED_FEATURES array\n- Deleted two scenario files → removed entries from EXPECTED_SCENARIOS\n\n✗ **Incorrect:**\n- Changed spawn parameters → committed without updating casting.test.ts (CI breaks for next person)\n- Added `built-in-roles.md` → left EXPECTED_FEATURES at old count (PR blocked)\n- Test says \"expected 7 files\" but disk has 25 (assertion staleness)\n\n## Anti-Patterns\n\n- Committing API changes without test updates (\"I'll fix tests later\")\n- Treating test assertion arrays as static (they evolve with content)\n- Assuming CI passing means coverage is correct (stale assertions can pass while being wrong)\n- Leaving gaps for other agents to discover\n",{"name":5,"domain":29,"source":39,"confidence":32,"description":7},"earned (Fenster\u002FHockney incident, test assertion sync violations)","main","8541229759617347888641eba917d3b0ad66a984",".squad\u002Ftemplates\u002Fskills\u002Ftest-discipline",626,"https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw","https:\u002F\u002Fgh.io\u002Fgh-aw","https:\u002F\u002Fgithub.com\u002Fgithub","https:\u002F\u002Fgithub.com\u002Fabout","How people build software.","2026-11-15 06:45:15",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add github\u002Fgh-aw --skill test-discipline",{"tool":56,"command":57},"bunx","bunx skills add github\u002Fgh-aw --skill test-discipline",{"tool":59,"command":60},"pnpm","pnpm dlx skills add github\u002Fgh-aw --skill test-discipline","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftest-discipline\u002FSKILL.md",true,[64],{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"agents\u002Fopenai.yaml","REFERENCE","参考文档",113,"https:\u002F\u002Fgithub.com\u002FTohuhono\u002FOberon\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fgrilling\u002Fagents\u002Fopenai.yaml",[71,79,87,114,131,155],{"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":78},"01M7DQYVZ9W9DDXKQ9452SNP8J","cracktro","Edit, preview, and verify the standalone interactive talk deck in docs\u002Fpublic\u002Fcracktro (slides, SVG diagrams, transitions, WebAudio sound).","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcracktro\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":86},"01M7612HQ4378TK8QZ5HPAF4KR","create-connector","Create or extend a declaration-only third-party connector, with narrow reads, separate safe outputs, optional protected triggers, and offline conformance evidence.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.github\u002Fskills\u002Fcreate-connector\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":99,"publishedAt":34},"01M6ADC942STTXHFV410J4DH0X","GitHub Agentic Workflows","GitHub Agentic Workflows (`gh-aw`) is a GitHub CLI extension for writing Agentic Workflows in markdown and compiling them to GitHub Actions.","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002FSKILL.md",[93,96],{"categoryNo":94,"categoryName":95,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000011","运维与部署",{"categoryNo":97,"categoryName":98,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发",[9,100,101,102,103,104,105,106,107,108,109,110,111,112,113],"github agentic workflows","agentic workflows","workflows","agentic","extension","markdown","github cli","cli","gh","for","compiling","writing","github actions","actions",{"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":34},"01M6ADC6ZXSA46N9XD6VNAP1MS","windows-compatibility","Cross-platform path handling and command patterns","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fwindows-compatibility\u002FSKILL.md",[],[121,122,123,124,125,126,127,32,128,129,130],"windows","windows compatibility","compatibility","command","git","bugs","platform","patterns","cross-platform","path",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":34},"01M6ADC44957SVQF96R5YY247P","versioning-policy","Semver versioning rules for Squad SDK and CLI — prevents prerelease version incidents","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Fversioning-policy\u002FSKILL.md",[],[138,139,140,141,142,107,143,144,145,146,147,148,149,150,109,30,151,152,153,154],"versioning","policy","versioning policy","gate","implementation","workspace","pr","sdk","release","ci","npm","semver","squad","incidents","Rules","version","resolution",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":165,"publishedAt":34},"01M6ADC1PHMEAEVR87F8PDR89X","tiered-memory","Three-tier agent memory model (hot\u002Fcold\u002Fwiki) for context reduction per spawn","https:\u002F\u002Fgithub.com\u002Fgithub\u002Fgh-aw\u002Fblob\u002Fmain\u002F.squad\u002Ftemplates\u002Fskills\u002Ftiered-memory\u002FSKILL.md",[161,164],{"categoryNo":162,"categoryName":163,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000015","视觉设计",{"categoryNo":97,"categoryName":98,"taxonomyType":21,"taxonomyTypeDesc":22},[166,167,168,169,170,171,172,173,174,175,176,177,178,109,179,180],"tiered memory","memory","performance","design","agent memory","proposal","cold","model","wiki","spawn","memory-management","context","three","runtime","management"]