[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78004K01XG6ARKWWDCF5E19":3,"skill-same:01M78004K01XG6ARKWWDCF5E19":53},{"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":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":6,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":46},"01M78004K01XG6ARKWWDCF5E19","tdd-protocol",null,"Use when starting implementation work","ArangoGutierrez\u002Fclaude-toolkit","ArangoGutierrez","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F15933089?v=4","01M77ZX10BNKRH5SRK782MGZQR","Carlos Eduardo Arango Gutierrez","01M77ZX1108AW5SJRFWGFKPKTA",4,"MIT","https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftdd-protocol\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tdd-protocol\ndescription: Use when starting implementation work\ndisable-model-invocation: true\nuser-invocable: true\n---\n\n# TDD Protocol (DORA)\n\n## Cycle\nPlan → Red → Green → Mutate → Refactor. Never skip phases.\n\n## Phases\n\n- **Plan**: Design doc\u002Fplan before any code (brainstorm first)\n- **Red**: Write failing test first. Signal: `[RED]`\n  - Define the expected behavior as a test\n  - Run test — confirm it fails for the right reason\n  - Only then proceed to Green\n- **Green**: Minimum code to pass. Signal: `[GREEN]`\n  - Modify tests and implementation in separate turns\n  - Write the simplest code that makes the test pass\n  - No optimization, no cleanup — just pass\n- **Mutate**: After Green, before Refactor. Signal: `[MUTATE]`\n  - Mutation-check guards by hand: delete or weaken the guard under test (the condition, the regex, the boundary check) and confirm the suite goes red\n  - If a mutated\u002Fweakened guard still passes the suite, your tests are theater — go back to Red and strengthen them\n  - For non-guard logic, an automated mutation tool (`gremlins` for Go, Stryker for TS\u002FJS) can supplement hand-checking when available; skip if tools unavailable\n- **Refactor**: Clean up only after green + mutate. Signal: `[REFACTOR]`\n  - Checkpoint first if >3 files or >50 LOC changed\n  - Improve structure, naming, duplication\n  - Tests must still pass after refactoring\n\n## Rules\n\n- **Fitness function**: Tests are contracts. Fix the implementation when a test fails (unless the test itself has a genuine bug).\n- **Batch size**: Smallest PR-sized chunks. 1 concern = 1 PR\n- Tests define \"done\". Implementation stops when tests pass\n\n## Enforcement\n\n- **Discipline-enforced, not hook-enforced**: no automated guard blocks implementation writes. Catching yourself writing implementation before a failing test exists means you're in the wrong phase — stop and go back to Red.\n- **Escalation**: When diff exceeds threshold, use isolated subagent contexts — one for Red (test writing), one for Green (implementation). Prevents same-author blind spots where the test writer unconsciously shapes tests to match the implementation they're already imagining.\n","# TDD Protocol (DORA)\n\n## Cycle\nPlan → Red → Green → Mutate → Refactor. Never skip phases.\n\n## Phases\n\n- **Plan**: Design doc\u002Fplan before any code (brainstorm first)\n- **Red**: Write failing test first. Signal: `[RED]`\n  - Define the expected behavior as a test\n  - Run test — confirm it fails for the right reason\n  - Only then proceed to Green\n- **Green**: Minimum code to pass. Signal: `[GREEN]`\n  - Modify tests and implementation in separate turns\n  - Write the simplest code that makes the test pass\n  - No optimization, no cleanup — just pass\n- **Mutate**: After Green, before Refactor. Signal: `[MUTATE]`\n  - Mutation-check guards by hand: delete or weaken the guard under test (the condition, the regex, the boundary check) and confirm the suite goes red\n  - If a mutated\u002Fweakened guard still passes the suite, your tests are theater — go back to Red and strengthen them\n  - For non-guard logic, an automated mutation tool (`gremlins` for Go, Stryker for TS\u002FJS) can supplement hand-checking when available; skip if tools unavailable\n- **Refactor**: Clean up only after green + mutate. Signal: `[REFACTOR]`\n  - Checkpoint first if >3 files or >50 LOC changed\n  - Improve structure, naming, duplication\n  - Tests must still pass after refactoring\n\n## Rules\n\n- **Fitness function**: Tests are contracts. Fix the implementation when a test fails (unless the test itself has a genuine bug).\n- **Batch size**: Smallest PR-sized chunks. 1 concern = 1 PR\n- Tests define \"done\". Implementation stops when tests pass\n\n## Enforcement\n\n- **Discipline-enforced, not hook-enforced**: no automated guard blocks implementation writes. Catching yourself writing implementation before a failing test exists means you're in the wrong phase — stop and go back to Red.\n- **Escalation**: When diff exceeds threshold, use isolated subagent contexts — one for Red (test writing), one for Green (implementation). Prevents same-author blind spots where the test writer unconsciously shapes tests to match the implementation they're already imagining.\n",{"name":5,"description":7,"user-invocable":24,"disable-model-invocation":24},true,"main","26b9a4abffc3b1c9c228a44076c9d3f682ea5b53",".claude\u002Fskills\u002Ftdd-protocol",1,"https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit","https:\u002F\u002Fgithub.com\u002FArangoGutierrez","https:\u002F\u002Fwww.linkedin.com\u002Fin\u002Feduardo-arango\u002F","Senior Systems Software Engineer.\r\n\r\nEnvironmental engineer lost to distributed systems, HPC and cloud computing.","2026-10-13 16:16:20",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":24},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ArangoGutierrez\u002Fclaude-toolkit --skill tdd-protocol",{"tool":40,"command":41},"bunx","bunx skills add ArangoGutierrez\u002Fclaude-toolkit --skill tdd-protocol",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ArangoGutierrez\u002Fclaude-toolkit --skill tdd-protocol","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftdd-protocol\u002FSKILL.md",[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"README.md","REFERENCE","参考文档",3480,"https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftdd-protocol\u002FREADME.md",[54,61,68,75,82,89],{"skillNo":55,"name":56,"nameZh":6,"description":57,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":19},"01M7802B5QY9YG45W2HR7ZM17S","update-cursor-settings","Modify Cursor\u002FVSCode user settings in settings.json. Use when you want to change editor settings, preferences, configuration, themes, font size, tab size, format on save, auto save, keybindings, or any settings.json values.","https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fupdate-cursor-settings\u002FSKILL.md",[],[],{"skillNo":62,"name":63,"nameZh":6,"description":64,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":65,"categories":66,"keywords":67,"publishedAt":19},"01M780277C2PMVHZQGN6W0VWNB","update-cli-config","View and modify Cursor CLI configuration settings in ~\u002F.cursor\u002Fcli-config.json. Use when the user wants to change CLI settings, configure permissions, switch approval mode, enable vim mode, toggle display options, configure sandbox, or manage any CLI preferences.","https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fupdate-cli-config\u002FSKILL.md",[],[],{"skillNo":69,"name":70,"nameZh":6,"description":71,"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},"01M78023CDY74JXKCZTDJTYVQF","statusline","Configure a custom status line in the CLI. Use when the user mentions status line, statusline, statusLine, CLI status bar, prompt footer customization, or wants to add session context above the prompt.","https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fstatusline\u002FSKILL.md",[],[],{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":19},"01M780209KQZBVMRX43KMZH5TT","split-to-prs","Split current work into small reviewable PRs. Use when the user asks to split a chat, set of changes, branch, or PR.","https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fsplit-to-prs\u002FSKILL.md",[],[],{"skillNo":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"publishedAt":19},"01M7801XXCWKR3PACKNX01RXMT","shell","Runs the rest of a \u002Fshell request as a literal shell command. Use only when the user explicitly invokes \u002Fshell and wants the following text executed directly in the terminal.","https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fshell\u002FSKILL.md",[],[],{"skillNo":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"publishedAt":19},"01M7801NF9TC7NWNTZKXQCZXAW","sdk","Guide users building apps, scripts, CI pipelines, or automations on top of the Cursor SDK - TypeScript (`@cursor\u002Fsdk`) or Python (`cursor-sdk` \u002F `cursor_sdk`). Use when the user mentions integrating, installing, or writing code against the Cursor SDK; says `Agent.create`, `Agent.prompt`, `Agent.resume`, `agent.send`, `run.stream`, `run.messages`, `CursorAgentError`, `@cursor\u002Fsdk`, `cursor-sdk`, or `cursor_sdk`; asks to run Cursor agents programmatically from a script, CI\u002FCD pipeline, GitHub Action, backend service, or other code outside the Cursor IDE; wants to pick between local and cloud runtime, configure MCP servers for an SDK agent, or handle streaming, cancellation, or errors; or is wiring Cursor into an automation, bot, or REST `\u002Fv1\u002Fagents` migration. Use eagerly rather than answering from memory; the SDK surface evolves and this skill is the source of truth for the external packages.","https:\u002F\u002Fgithub.com\u002FArangoGutierrez\u002Fclaude-toolkit\u002Fblob\u002Fmain\u002F.cursor\u002Fskills-cursor\u002Fsdk\u002FSKILL.md",[],[]]