[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77MXBYCCE6VRY3TQCP9YK79":3,"skill-same:01M77MXBYCCE6VRY3TQCP9YK79":45},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":14,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77MXBYCCE6VRY3TQCP9YK79","tdd-cycle",null,"Optional red-green-refactor TDD workflow for implementation","League-Robotics\u002Fmbdeploy","League-Robotics","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F208509796?v=4","01M73830ZS54M88FRN73WZ722B","League Robotics","01M77MVK2GZVVDZY8DXRYW18FK",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftdd-cycle\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tdd-cycle\ndescription: Optional red-green-refactor TDD workflow for implementation\n---\n\n# TDD Cycle Skill\n\nThis skill defines the test-driven development (TDD) workflow using the\nred-green-refactor cycle. **TDD is optional, not mandatory.** Use it\nwhen it fits the work being done.\n\n## When to Use TDD\n\n- **Well-defined interfaces** — You know inputs and outputs before coding\n- **Bug fixes** — Write a test that reproduces the bug, then fix it\n- **Complex logic** — Algorithms, state machines, parsers, edge cases\n- **Refactoring** — Write characterization tests first, then refactor\n\n## When TDD May Not Fit\n\n- Exploratory spikes\n- Configuration changes\n- UI layout and styling\n- Documentation updates\n- Simple glue code\n\n## The Red-Green-Refactor Cycle\n\n### Step 1: Red — Write a Failing Test\n\nWrite a test that describes the desired behavior. The test must call\nthe function\u002Fmethod and assert the expected outcome. Do not write the\nproduction code yet.\n\n### Step 2: Confirm Red — Watch It Fail\n\nRun the test suite and confirm the new test fails. Record the failure\nmessage. The failure should be for the expected reason. If unexpected,\nfix the test first.\n\n### Step 3: Green — Write Minimal Code\n\nWrite the minimum production code to make the failing test pass.\nDo not add features or handle edge cases yet.\n\n### Step 4: Confirm Green — Watch It Pass\n\nRun the test suite. Confirm the new test passes and all existing\ntests still pass.\n\n### Step 5: Commit — Save at Green\n\nCommit immediately before refactoring. This is your safety net.\n\n### Step 6: Refactor\n\nClean up the code while keeping all tests green. Improve naming,\nextract methods, remove duplication.\n\n### Step 7: Commit — Save After Refactor\n\nCommit the refactored code.\n\n## Integration with Ticket Workflow\n\nWhen using TDD within a ticket:\n1. Read the ticket's acceptance criteria and testing section.\n2. For each piece of functionality, run one red-green-refactor cycle.\n3. Commit after each green phase and after each refactor.\n4. After all cycles, run the full test suite.\n\nTDD is a tool, not a rule. Use it when it helps you think through the\ndesign. The key discipline: **if you choose TDD, follow the full cycle**.\n","# TDD Cycle Skill\n\nThis skill defines the test-driven development (TDD) workflow using the\nred-green-refactor cycle. **TDD is optional, not mandatory.** Use it\nwhen it fits the work being done.\n\n## When to Use TDD\n\n- **Well-defined interfaces** — You know inputs and outputs before coding\n- **Bug fixes** — Write a test that reproduces the bug, then fix it\n- **Complex logic** — Algorithms, state machines, parsers, edge cases\n- **Refactoring** — Write characterization tests first, then refactor\n\n## When TDD May Not Fit\n\n- Exploratory spikes\n- Configuration changes\n- UI layout and styling\n- Documentation updates\n- Simple glue code\n\n## The Red-Green-Refactor Cycle\n\n### Step 1: Red — Write a Failing Test\n\nWrite a test that describes the desired behavior. The test must call\nthe function\u002Fmethod and assert the expected outcome. Do not write the\nproduction code yet.\n\n### Step 2: Confirm Red — Watch It Fail\n\nRun the test suite and confirm the new test fails. Record the failure\nmessage. The failure should be for the expected reason. If unexpected,\nfix the test first.\n\n### Step 3: Green — Write Minimal Code\n\nWrite the minimum production code to make the failing test pass.\nDo not add features or handle edge cases yet.\n\n### Step 4: Confirm Green — Watch It Pass\n\nRun the test suite. Confirm the new test passes and all existing\ntests still pass.\n\n### Step 5: Commit — Save at Green\n\nCommit immediately before refactoring. This is your safety net.\n\n### Step 6: Refactor\n\nClean up the code while keeping all tests green. Improve naming,\nextract methods, remove duplication.\n\n### Step 7: Commit — Save After Refactor\n\nCommit the refactored code.\n\n## Integration with Ticket Workflow\n\nWhen using TDD within a ticket:\n1. Read the ticket's acceptance criteria and testing section.\n2. For each piece of functionality, run one red-green-refactor cycle.\n3. Commit after each green phase and after each refactor.\n4. After all cycles, run the full test suite.\n\nTDD is a tool, not a rule. Use it when it helps you think through the\ndesign. The key discipline: **if you choose TDD, follow the full cycle**.\n",{"name":5,"description":7},"main","24934a6d75061fc150189e702e20e6b4091b1f9b",".agents\u002Fskills\u002Ftdd-cycle","https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy","https:\u002F\u002Fgithub.com\u002FLeague-Robotics","Robotics projects","2026-09-25 08:28:58",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add League-Robotics\u002Fmbdeploy --skill tdd-cycle",{"tool":37,"command":38},"bunx","bunx skills add League-Robotics\u002Fmbdeploy --skill tdd-cycle",{"tool":40,"command":41},"pnpm","pnpm dlx skills add League-Robotics\u002Fmbdeploy --skill tdd-cycle","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftdd-cycle\u002FSKILL.md",true,[],[46,51,57,63,69,75],{"skillNo":47,"name":5,"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":48,"categories":49,"keywords":50,"publishedAt":19},"01M77MYDJNB6EF788KHCJ1B67N","https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftdd-cycle\u002FSKILL.md",[],[],{"skillNo":52,"name":53,"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":54,"categories":55,"keywords":56,"publishedAt":19},"01M77MYADTSFAFZNFJH7BMBDV7","systematic-debugging","https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[],{"skillNo":58,"name":59,"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":60,"categories":61,"keywords":62,"publishedAt":19},"01M77MY9J4K70XJDSDE03XPQEF","sprint-roadmap","https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsprint-roadmap\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"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":66,"categories":67,"keywords":68,"publishedAt":19},"01M77MY8Q0GWKGEMJHCAAPY9JQ","sprint-review","https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fsprint-review\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"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":72,"categories":73,"keywords":74,"publishedAt":19},"01M77MY6CT2ER58ATYSJ3EP6MK","self-reflect","https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fself-reflect\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"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":78,"categories":79,"keywords":80,"publishedAt":19},"01M77MY5372W2MA0JDE2TB2AXH","se","https:\u002F\u002Fgithub.com\u002FLeague-Robotics\u002Fmbdeploy\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fse\u002FSKILL.md",[],[]]