[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7B1M2X12G3FBER7DP21DRDX":3,"skill-same:01M7B1M2X12G3FBER7DP21DRDX":55},{"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":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":30,"install":31,"resources":44},"01M7B1M2X12G3FBER7DP21DRDX","tdd",null,"Test-driven development. Invoke only when the user asks to build a feature or fix a bug test-first, requests a red-green-refactor loop, or requests integration tests.","mineugene\u002Fpi-dev-config","mineugene","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F8313048?v=4","01M7B1HXRN5A0CS3ZH5MAR30VD","Eugene Min","01M7B1HXS9CJCHJK9KXDSYNRTK",1,"MIT","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tdd\ndescription: \"Test-driven development. Invoke only when the user asks to build a feature or fix a bug test-first, requests a red-green-refactor loop, or requests integration tests.\"\n---\n# Test-Driven Development\n\nTDD is the loop from `red` to `green`. Every section below applies on every\ncycle: consult it before and during the loop, not after.\n\nWhen exploring the codebase, follow [domain-docs.md](..\u002Fdomain-docs.md) to find\nthe glossary and architectural decision records. Use them to keep test names and\ninterface vocabulary aligned with the project's domain language.\n\n## Required test properties\n\nKeep tests that meet all three requirements:\n\n1. Verify behaviour through a public interface, not an internal detail.\n2. Read as a specification of one capability.\n3. Survive a refactor that does not change behaviour.\n\nSee [tests.md](tests.md) for examples and [mocking.md](mocking.md) for mocking\nrules.\n\n## Seams\n\nA seam is a public boundary where behaviour is observable without reaching\ninside.\n\n1. Before writing any test, write down the seams under test and confirm them\n   with the user. For each proposed seam, write one line naming what it catches\n   and what it misses.\n2. Write no test at an unconfirmed seam.\n3. When the interface shape is itself in question, load\n   `..\u002Fcodebase-design\u002FSKILL.md` for the module, interface, depth, seam, and\n   adapter vocabulary.\n\n## Prohibited test properties\n\nAvoid these test patterns:\n\n1. Mock an internal collaborator, call a private method, or verify through a\n   side channel. Such a test breaks on refactor without a behaviour change.\n2. Recompute the expected value the way the code does. Take expected values\n   from an independent source: a known-good literal, a worked example, or\n   the specification.\n3. Follow horizontal slicing (all tests first, then all implementation). Work in\n   vertical slices: one test, one implementation, repeat.\n\n## Loop rules\n\n1. Red before green: write the failing test, then only enough code to pass it.\n   Do not add speculative features.\n2. One slice at a time: one seam, one test, one minimal implementation per\n   cycle.\n3. Refactoring is not part of this loop. It belongs to the review stage (see the\n   `code-review` skill).\n","# Test-Driven Development\n\nTDD is the loop from `red` to `green`. Every section below applies on every\ncycle: consult it before and during the loop, not after.\n\nWhen exploring the codebase, follow [domain-docs.md](..\u002Fdomain-docs.md) to find\nthe glossary and architectural decision records. Use them to keep test names and\ninterface vocabulary aligned with the project's domain language.\n\n## Required test properties\n\nKeep tests that meet all three requirements:\n\n1. Verify behaviour through a public interface, not an internal detail.\n2. Read as a specification of one capability.\n3. Survive a refactor that does not change behaviour.\n\nSee [tests.md](tests.md) for examples and [mocking.md](mocking.md) for mocking\nrules.\n\n## Seams\n\nA seam is a public boundary where behaviour is observable without reaching\ninside.\n\n1. Before writing any test, write down the seams under test and confirm them\n   with the user. For each proposed seam, write one line naming what it catches\n   and what it misses.\n2. Write no test at an unconfirmed seam.\n3. When the interface shape is itself in question, load\n   `..\u002Fcodebase-design\u002FSKILL.md` for the module, interface, depth, seam, and\n   adapter vocabulary.\n\n## Prohibited test properties\n\nAvoid these test patterns:\n\n1. Mock an internal collaborator, call a private method, or verify through a\n   side channel. Such a test breaks on refactor without a behaviour change.\n2. Recompute the expected value the way the code does. Take expected values\n   from an independent source: a known-good literal, a worked example, or\n   the specification.\n3. Follow horizontal slicing (all tests first, then all implementation). Work in\n   vertical slices: one test, one implementation, repeat.\n\n## Loop rules\n\n1. Red before green: write the failing test, then only enough code to pass it.\n   Do not add speculative features.\n2. One slice at a time: one seam, one test, one minimal implementation per\n   cycle.\n3. Refactoring is not part of this loop. It belongs to the review stage (see the\n   `code-review` skill).\n",{"name":5,"description":7},"main","656f9af15679b3c6a7df060a321bf853acb56e8c","skills\u002Ftdd",0,"https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config","https:\u002F\u002Fgithub.com\u002Fmineugene","2026-11-12 07:59:18",{"source":8,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add mineugene\u002Fpi-dev-config --skill tdd",{"tool":37,"command":38},"bunx","bunx skills add mineugene\u002Fpi-dev-config --skill tdd",{"tool":40,"command":41},"pnpm","pnpm dlx skills add mineugene\u002Fpi-dev-config --skill tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",true,[45,51],{"path":46,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":49,"sourceHtmlUrl":50},"mocking.md","REFERENCE","参考文档",1319,"https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002Fmocking.md",{"path":52,"resourceType":47,"resourceTypeDesc":48,"sizeBytes":53,"sourceHtmlUrl":54},"tests.md",1820,"https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002Ftests.md",[56,63,70,77,84,91],{"skillNo":57,"name":58,"nameZh":6,"description":59,"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},"01M7B1MJ8EHWXNYWNX60WB00X5","writing-for-agents","Reference for writing documents an agent consumes: skills, AGENTS.md or CLAUDE.md, and docs reached by a pointer. Invoke when creating or editing a skill or an agent instruction file, or when a document's pointer wording, load, or structure is in question. Do not invoke merely because the user mentions writing-for-agents, names a skill, or writes 'skill \u003Cword>'.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M7B1MDTK7MDRPNFPRM7ATT23","wizard","Generate an interactive bash wizard for steps only a human can perform. Invoke when the user asks for a script or wizard for manual setup: infrastructure provisioning, credentials or CI secrets, a third-party dashboard, or a one-off migration or cutover. Do not invoke for steps the agent can perform, or merely because the user mentions wizard, names a skill, or writes 'skill \u003Cword>'.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fwizard\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":19},"01M7B1MAHMQPAEE4Q8AZF8WW9N","wait-what","Stop and re-pitch the last message in plain, simplified language.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fwait-what\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":19},"01M7B1M8NS8GYP1QDEYY9KXPQP","to-tickets","Split an agreed specification into reviewable vertical-slice issues with explicit blockers, then publish them after confirmation.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fto-tickets\u002FSKILL.md",[],[],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":19},"01M7B1M6M89D3KH0QTB71061QX","to-spec","Turn the current conversation into a specification and publish it after confirmation.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fto-spec\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":19},"01M7B1M540CQGT30DHPKZ2PCQF","to-pr","Create a pull request from the current branch.","https:\u002F\u002Fgithub.com\u002Fmineugene\u002Fpi-dev-config\u002Fblob\u002Fmain\u002Fskills\u002Fto-pr\u002FSKILL.md",[],[]]