[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BKPA362BB6WN5X429KMP5F":3,"skill-same:01M7BKPA362BB6WN5X429KMP5F":63},{"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":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7BKPA362BB6WN5X429KMP5F","tdd",null,"Test-first features, bug fixes, integration tests, or red-green-refactor requests at agreed seams.","BetoFrega\u002Fskills","BetoFrega","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F637874?v=4","01M7BKHP444BSK41T281GQDPM7","Beto Frega","01M7BKHP5863T6EC03B63D0Q4T",0,"MIT","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tdd\ndescription: Test-first features, bug fixes, integration tests, or red-green-refactor requests at agreed seams.\n---\n\n# Test-Driven Development\n\nApply every section before and during each red-green cycle. Read `CONTEXT.md` when\npresent and relevant ADRs; use domain vocabulary in tests and interfaces.\n\n## What a good test is\n\nTest behavior through public interfaces. Tests read as specifications and survive\ninternal rewrites. Consult [tests.md](tests.md) for examples and\n[mocking.md](mocking.md) for dependency strategy.\nEach test must also earn its runtime: apply\n[Tests Earn Their Runtime](..\u002Fbeto-mode\u002Fprinciples\u002Ftests-earn-their-runtime.md).\n\n## Seams: where tests go\n\nTest only at public seams. Before writing any test, record seams and\nconfirm them with the user; reuse prior agreement. Prioritize critical paths and\ncomplex logic instead of exhaustive edge coverage.\n\nWhen interface shape, module depth, or seam placement is unresolved, consult\n[codebase-design](..\u002Fcodebase-design\u002FSKILL.md) as vocabulary reference.\n\n## Anti-patterns\n\n- **Implementation-coupled:** internal mocks, private methods, or side-channel\n  verification such as querying storage past the interface; refactors break tests\n  without changed behavior.\n- **Tautological:** expected values recompute implementation, so assertions cannot\n  disagree. Use independent literals, worked examples, or the spec.\n- **Horizontal slicing:** all tests before all code locks in imagined behavior.\n  Use vertical tracer bullets informed by the previous cycle.\n\n## Rules of the loop\n\n- **Red before green:** fail first; implement only enough to pass, without anticipated\n  tests or speculative features.\n- **One slice:** one seam, one test, one minimal implementation per cycle.\n- **Refactoring:** belongs to [code-review](..\u002Fcode-review\u002FSKILL.md), outside the\n  red-green implementation cycle.\n","# Test-Driven Development\n\nApply every section before and during each red-green cycle. Read `CONTEXT.md` when\npresent and relevant ADRs; use domain vocabulary in tests and interfaces.\n\n## What a good test is\n\nTest behavior through public interfaces. Tests read as specifications and survive\ninternal rewrites. Consult [tests.md](tests.md) for examples and\n[mocking.md](mocking.md) for dependency strategy.\nEach test must also earn its runtime: apply\n[Tests Earn Their Runtime](..\u002Fbeto-mode\u002Fprinciples\u002Ftests-earn-their-runtime.md).\n\n## Seams: where tests go\n\nTest only at public seams. Before writing any test, record seams and\nconfirm them with the user; reuse prior agreement. Prioritize critical paths and\ncomplex logic instead of exhaustive edge coverage.\n\nWhen interface shape, module depth, or seam placement is unresolved, consult\n[codebase-design](..\u002Fcodebase-design\u002FSKILL.md) as vocabulary reference.\n\n## Anti-patterns\n\n- **Implementation-coupled:** internal mocks, private methods, or side-channel\n  verification such as querying storage past the interface; refactors break tests\n  without changed behavior.\n- **Tautological:** expected values recompute implementation, so assertions cannot\n  disagree. Use independent literals, worked examples, or the spec.\n- **Horizontal slicing:** all tests before all code locks in imagined behavior.\n  Use vertical tracer bullets informed by the previous cycle.\n\n## Rules of the loop\n\n- **Red before green:** fail first; implement only enough to pass, without anticipated\n  tests or speculative features.\n- **One slice:** one seam, one test, one minimal implementation per cycle.\n- **Refactoring:** belongs to [code-review](..\u002Fcode-review\u002FSKILL.md), outside the\n  red-green implementation cycle.\n",{"name":5,"description":7},"main","b212a89a4ff3d13380a0ee75a91d99ee0aad2858","skills\u002Ftdd","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills","https:\u002F\u002Fgithub.com\u002FBetoFrega","2026-11-14 02:43:03",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add BetoFrega\u002Fskills --skill tdd",{"tool":37,"command":38},"bunx","bunx skills add BetoFrega\u002Fskills --skill tdd",{"tool":40,"command":41},"pnpm","pnpm dlx skills add BetoFrega\u002Fskills --skill tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",true,[45,51,55,59],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"agents\u002Fopenai.yaml","REFERENCE","参考文档",87,"https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002Fagents\u002Fopenai.yaml",{"path":52,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":16},"LICENSE","许可证",1068,{"path":56,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":57,"sourceHtmlUrl":58},"mocking.md",687,"https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002Fmocking.md",{"path":60,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":61,"sourceHtmlUrl":62},"tests.md",965,"https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002Ftests.md",[64,71,79,86,94,101],{"skillNo":65,"name":66,"nameZh":6,"description":67,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":68,"categories":69,"keywords":70,"publishedAt":20},"01M7BKPW918QFBHANWQRR8JXTA","writing-for-humans","Load before writing any reader-facing text, including messages, and follow its rules as you write. Also use to rewrite or audit existing prose for plain language, clarity, readability, or actionability.","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-humans\u002FSKILL.md",[],[],{"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":75,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":20},"01M7BKPSYAK48C7RBZXKQN805M","writing-for-agents","Write agent-facing documents. Use when creating or editing skills, AGENTS.md, or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"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":20},"01M7BKPQG1ZNVYYJVSGE69V5DZ","write-adr","Write, revise, or supersede architecture decision records (ADRs) documenting an architectural choice and its rationale.","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwrite-adr\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":90,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":20},"01M7BKPMZC59QZ0G1746SCZ3S4","wizard","Wizard scripts for human-only provisioning, credential\u002FCI setup, unfamiliar dashboards, migrations, or cutovers; use only for steps the agent cannot perform.","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":20},"01M7BKPHD7Y6X4BM9SV06PNKAC","verify","Check whether the current task's claimed outcome is confirmed.","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fverify\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":20},"01M7BKPESBZ2WZYN1EWK6SGB67","verb-tense","Choose verb tense and mood by when each event happens and how certain it is. Use when writing or reviewing any text, and when a reader asks for a tense review.","https:\u002F\u002Fgithub.com\u002FBetoFrega\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fverb-tense\u002FSKILL.md",[],[]]