[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7DJYP6BPRX7MP912Y2Q6PV1":3,"skill-same:01M7DJYP6BPRX7MP912Y2Q6PV1":54},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":13,"repositoryHtmlUrl":26,"repositoryHomepageUrl":6,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":28,"updatedAt":29,"install":30,"resources":43},"01M7DJYP6BPRX7MP912Y2Q6PV1","maestro-tdd",null,"Use when building a feature test-first, reproducing a bug, or working through a red-green cycle.","Orchestration-Maestro\u002Fmaestro-manifests","Orchestration-Maestro","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F322897002?v=4","01M7DJV5QYHV5358EX4AGZJZK3","01M7DJV5RPB4CBJZBKV9AHREM6",0,"MIT","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-tdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: maestro-tdd\ndescription: \"Use when building a feature test-first, reproducing a bug, or working through a red-green cycle.\"\n---\n\n# Drive one behaviour through red and green\n\n## Discover the stack and agree the seam\n\nRead the repository's test\u002Fbuild configuration, commands, glossary and relevant ADRs before choosing a framework.\nFind existing tests and follow their layout. Agree public test seams with the user, stating what each catches\nand misses. Use `\u002Fskill:maestro-codebase-design` when the interface or seam is itself uncertain.\nTests describe behaviour a caller needs; they should survive an internal rewrite.\nRead [tests](tests.md) and [mocking](mocking.md) before and during the loop.\n\n## Red\n\nChoose one behaviour. Write one small test at the agreed seam and run it before implementation.\nObserve failure for the intended missing behaviour, not syntax, setup or a missing dependency.\nA test that is green immediately exercises existing behaviour: correct it so it proves the intended missing\ncapability before proceeding. Do not manufacture a production defect to make a test red.\n\nDelete implementation written before its test and start again from the test; keeping it nearby biases the test.\nFor a bug, first write and prove a failing reproduction of the actual symptom.\nA fresh `subagent` may write that reproduction with the [brief](..\u002F..\u002Freferences\u002Fsubagents.md), but you must\nread and run its result. A report alone does not establish red.\n\n## Green\n\nWrite only enough implementation to satisfy this test. Run it and check the intended behaviour now passes.\nDo not anticipate later tests or write all tests before implementing any behaviour.\nThen choose the next behaviour and repeat the vertical loop. Red\u002Fgreen is one slice at a time.\n\nTests through private details, internal mocks and expected values recomputed by the implementation give\nfalse confidence. Name the user-visible break and use independent expected observations.\n\n## Finish\n\nKeep the full suite green before claiming completion. Refactoring belongs to `\u002Fskill:maestro-code-review`,\nnot an unobserved cleanup phase inside the red\u002Fgreen loop. Preserve the tests' behavioural guarantees when\nchanging structure. If a test fails only because internal structure changed, reconsider whether it crosses the seam.\n","# Drive one behaviour through red and green\n\n## Discover the stack and agree the seam\n\nRead the repository's test\u002Fbuild configuration, commands, glossary and relevant ADRs before choosing a framework.\nFind existing tests and follow their layout. Agree public test seams with the user, stating what each catches\nand misses. Use `\u002Fskill:maestro-codebase-design` when the interface or seam is itself uncertain.\nTests describe behaviour a caller needs; they should survive an internal rewrite.\nRead [tests](tests.md) and [mocking](mocking.md) before and during the loop.\n\n## Red\n\nChoose one behaviour. Write one small test at the agreed seam and run it before implementation.\nObserve failure for the intended missing behaviour, not syntax, setup or a missing dependency.\nA test that is green immediately exercises existing behaviour: correct it so it proves the intended missing\ncapability before proceeding. Do not manufacture a production defect to make a test red.\n\nDelete implementation written before its test and start again from the test; keeping it nearby biases the test.\nFor a bug, first write and prove a failing reproduction of the actual symptom.\nA fresh `subagent` may write that reproduction with the [brief](..\u002F..\u002Freferences\u002Fsubagents.md), but you must\nread and run its result. A report alone does not establish red.\n\n## Green\n\nWrite only enough implementation to satisfy this test. Run it and check the intended behaviour now passes.\nDo not anticipate later tests or write all tests before implementing any behaviour.\nThen choose the next behaviour and repeat the vertical loop. Red\u002Fgreen is one slice at a time.\n\nTests through private details, internal mocks and expected values recomputed by the implementation give\nfalse confidence. Name the user-visible break and use independent expected observations.\n\n## Finish\n\nKeep the full suite green before claiming completion. Refactoring belongs to `\u002Fskill:maestro-code-review`,\nnot an unobserved cleanup phase inside the red\u002Fgreen loop. Preserve the tests' behavioural guarantees when\nchanging structure. If a test fails only because internal structure changed, reconsider whether it crosses the seam.\n",{"name":5,"description":7},"main","f33b1a1de12042270a260ffdddd74b67671a1d9a","manifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-tdd","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro","Automated guardrails for faster, better, more maintainable and more secure code. Our Northstar: never reached, always pursued.","2026-11-09 01:08:53",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add Orchestration-Maestro\u002Fmaestro-manifests --skill maestro-tdd",{"tool":36,"command":37},"bunx","bunx skills add Orchestration-Maestro\u002Fmaestro-manifests --skill maestro-tdd",{"tool":39,"command":40},"pnpm","pnpm dlx skills add Orchestration-Maestro\u002Fmaestro-manifests --skill maestro-tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-tdd\u002FSKILL.md",true,[44,50],{"path":45,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":48,"sourceHtmlUrl":49},"mocking.md","REFERENCE","参考文档",925,"https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-tdd\u002Fmocking.md",{"path":51,"resourceType":46,"resourceTypeDesc":47,"sizeBytes":52,"sourceHtmlUrl":53},"tests.md",1339,"https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Fmaestro-skills\u002Fskills\u002Fmaestro-tdd\u002Ftests.md",[55,62,67,72,77,82],{"skillNo":56,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":59,"categories":60,"keywords":61,"publishedAt":18},"01M7DK0KB6JRRJRQPMXG075AQ6","audit","Fixture skill.","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-without-name-takes-its-folder-name\u002Fmanifests\u002Fcapabilities\u002Fsecurity\u002Fscan\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":63,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M7DK0JAQG1J25DG064S7PR27","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-without-name-takes-its-folder-name\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Freview\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":68,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7DK0HBNY88V2B7PF5E4JWZS","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-with-empty-name-takes-its-folder-name\u002Fmanifests\u002Fcapabilities\u002Fsecurity\u002Fscan\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":73,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":18},"01M7DK0G9CB5MFGRD73SNEXXYE","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-with-empty-name-takes-its-folder-name\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Freview\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":78,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":18},"01M7DK0FA198RVD2KCEW9YDQ6K","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-in-dot-folder-is-skipped\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Freview\u002Fskills\u002Faudit\u002FSKILL.md",[],[],{"skillNo":83,"name":57,"nameZh":6,"description":58,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M7DK0EAZVV9A5CN27PD2MTMB","https:\u002F\u002Fgithub.com\u002FOrchestration-Maestro\u002Fmaestro-manifests\u002Fblob\u002Fmain\u002Ftests\u002Fscorecard_cases\u002Fskill-in-dot-folder-is-skipped\u002Fmanifests\u002Fcapabilities\u002Fpractice\u002Freview\u002Fskills\u002F.drafts\u002Faudit\u002FSKILL.md",[],[]]