[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MKD6R2AFYVKQ6CSHCZ7WTM":3,"skill-same:01M6MKD6R2AFYVKQ6CSHCZ7WTM":71},{"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":23,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":49,"ownerDescription":50,"updatedAt":51,"install":52,"resources":64},"01M6MKD6R2AFYVKQ6CSHCZ7WTM","skill-tdd",null,"Build a behavior change with observed red, minimal green, and measured test consolidation","hashgraph-online\u002Fawesome-codex-plugins","hashgraph-online","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160371962?v=4","01M6CNB6NRJVNNGN14TR01Q6D3","HOL (Hashgraph Online)","01M6JT1HSKKG9V68KQAQGBA7XP",1575,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fnyldn\u002Fclaude-octopus\u002Fskills\u002Fskill-tdd\u002FSKILL.md",[18],{"categoryNo":19,"categoryName":20,"taxonomyType":21,"taxonomyTypeDesc":22},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[24,25,26,27,28,29,30,31,32,33,34,35],"tdd","skill tdd","test","change","behavior","minimal","build","green","red","consolidation","with","true","2026-11-10 10:12:30",false,"---\nname: skill-tdd\ndescription: \"Build a behavior change with observed red, minimal green, and measured test consolidation\"\ndisable-model-invocation: true\n---\n\n> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex.\n> Cross-reference commands use installed skill names in Codex rather than `\u002Focto:*` slash commands.\n> Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it.\n> For host tool equivalents, see `skills\u002Fblocks\u002Fcodex-host-adapter.md`.\n\n\n# Test-driven development\n\nRead `skills\u002Fblocks\u002Fengineering-method-selection.md` from the installed plugin\nfor review admission. Natural-language requests and `--peer-review` share that\npolicy. Honor host-only requests; risk alone does not authorize paid usage.\n\nRun the red, green, and refactor cycle on the current host. Routine TDD makes\nzero additional provider dispatches. Use one external reviewer only when the\nuser passes `--peer-review`, explicitly requests independent review, or an\nexisting risk policy requires it. Explicit debate, council, and multi-model\ncommands retain their own execution contracts.\n\n\u003CHARD-GATE>\nNO PRODUCTION BEHAVIOR CHANGE WITHOUT AN OBSERVED, EXPECTED FAILING TEST FIRST.\n\u003C\u002FHARD-GATE>\n\n## The rule\n\nDo not change production behavior until a focused test fails for the expected\nreason. Existing implementation outside the requested change remains intact.\n\n1. Name the observable behavior and the smallest public boundary that proves it.\n2. Write one focused test. Directly test an internal invariant only when the\n   public boundary cannot isolate its failure mode.\n3. Run it and record the expected failure, command, and exit status.\n4. Implement the smallest change that passes.\n5. Run the focused test, then the affected suite.\n6. Refactor only while the tests remain green.\n\nIf a test passes before implementation, it is not red evidence. If it errors due\nto fixture or syntax problems, repair the test until it fails on the missing\nbehavior.\n\n## Consolidating tests\n\nDo not equate similar assertions with duplicate guarantees. Keep separate OS,\nsecurity, cancellation, and integration boundaries. For every removed test,\nrecord `old_test`, `behavior`, `replacement`, `mutant`, `red_observed`,\n`baseline_ms`, `candidate_ms`, and `reason`. The retained test must kill the\nnamed mutant at the intended caller boundary.\n\nAfter one warm-up, measure five isolated runs and report every sample and the\nmedian. Review a slowdown only when it exceeds both 20 percent and 100 ms.\n\nCompletion requires observed red and green evidence, affected-suite results,\nand the consolidation ledger when tests were removed. A missing reviewer is\nreported as incomplete review, never simulated.\n\n## Strategy rotation\n\nIf the same test remains red after two implementation attempts, stop and\nrecheck the test boundary, fixture, and expected behavior. The strategy-rotation\nhook is a signal to try a fundamentally different hypothesis, not another\nvariation of the same patch.\n\nAdapted from `DEEPENING` in `mattpocock\u002Fskills` at commit\n`3cca18b368ae95cdbdebbff572ccafa662551015` under the MIT License. See\n`THIRD_PARTY_NOTICES.md`.\n","> **Host: Codex CLI** — This skill was designed for Claude Code and adapted for Codex.\n> Cross-reference commands use installed skill names in Codex rather than `\u002Focto:*` slash commands.\n> Use the active Codex shell and subagent tools. Do not claim a provider, model, or host subagent is available until the current session exposes it.\n> For host tool equivalents, see `skills\u002Fblocks\u002Fcodex-host-adapter.md`.\n\n\n# Test-driven development\n\nRead `skills\u002Fblocks\u002Fengineering-method-selection.md` from the installed plugin\nfor review admission. Natural-language requests and `--peer-review` share that\npolicy. Honor host-only requests; risk alone does not authorize paid usage.\n\nRun the red, green, and refactor cycle on the current host. Routine TDD makes\nzero additional provider dispatches. Use one external reviewer only when the\nuser passes `--peer-review`, explicitly requests independent review, or an\nexisting risk policy requires it. Explicit debate, council, and multi-model\ncommands retain their own execution contracts.\n\n\u003CHARD-GATE>\nNO PRODUCTION BEHAVIOR CHANGE WITHOUT AN OBSERVED, EXPECTED FAILING TEST FIRST.\n\u003C\u002FHARD-GATE>\n\n## The rule\n\nDo not change production behavior until a focused test fails for the expected\nreason. Existing implementation outside the requested change remains intact.\n\n1. Name the observable behavior and the smallest public boundary that proves it.\n2. Write one focused test. Directly test an internal invariant only when the\n   public boundary cannot isolate its failure mode.\n3. Run it and record the expected failure, command, and exit status.\n4. Implement the smallest change that passes.\n5. Run the focused test, then the affected suite.\n6. Refactor only while the tests remain green.\n\nIf a test passes before implementation, it is not red evidence. If it errors due\nto fixture or syntax problems, repair the test until it fails on the missing\nbehavior.\n\n## Consolidating tests\n\nDo not equate similar assertions with duplicate guarantees. Keep separate OS,\nsecurity, cancellation, and integration boundaries. For every removed test,\nrecord `old_test`, `behavior`, `replacement`, `mutant`, `red_observed`,\n`baseline_ms`, `candidate_ms`, and `reason`. The retained test must kill the\nnamed mutant at the intended caller boundary.\n\nAfter one warm-up, measure five isolated runs and report every sample and the\nmedian. Review a slowdown only when it exceeds both 20 percent and 100 ms.\n\nCompletion requires observed red and green evidence, affected-suite results,\nand the consolidation ledger when tests were removed. A missing reviewer is\nreported as incomplete review, never simulated.\n\n## Strategy rotation\n\nIf the same test remains red after two implementation attempts, stop and\nrecheck the test boundary, fixture, and expected behavior. The strategy-rotation\nhook is a signal to try a fundamentally different hypothesis, not another\nvariation of the same patch.\n\nAdapted from `DEEPENING` in `mattpocock\u002Fskills` at commit\n`3cca18b368ae95cdbdebbff572ccafa662551015` under the MIT License. See\n`THIRD_PARTY_NOTICES.md`.\n",{"name":5,"description":7,"disable-model-invocation":41},true,"main","2b63f856ce19c2a797929cacabd9e0fc936812fa","plugins\u002Fnyldn\u002Fclaude-octopus\u002Fskills\u002Fskill-tdd",491,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins","https:\u002F\u002Fhol.org\u002Fplugins\u002Fbest-codex-plugins","https:\u002F\u002Fgithub.com\u002Fhashgraph-online","https:\u002F\u002Fhol.org","Open-source standards and developer tools for interoperable AI agents: discovery, identity, communication, payments, privacy and security.","2026-11-14 14:06:13",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":41},[54,57,60],{"tool":55,"command":56},"npx","npx skills add hashgraph-online\u002Fawesome-codex-plugins --skill skill-tdd",{"tool":58,"command":59},"bunx","bunx skills add hashgraph-online\u002Fawesome-codex-plugins --skill skill-tdd",{"tool":61,"command":62},"pnpm","pnpm dlx skills add hashgraph-online\u002Fawesome-codex-plugins --skill skill-tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fnyldn\u002Fclaude-octopus\u002Fskills\u002Fskill-tdd\u002FSKILL.md",[65],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"agents\u002Fopenai.yaml","REFERENCE","参考文档",164,"https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fnyldn\u002Fclaude-octopus\u002Fskills\u002Fskill-tdd\u002Fagents\u002Fopenai.yaml",[72,82,90,98,106,114],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":77,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":81},"01M7DV332YQMGD8WTRJ9DZQXTB","worktable-review-with-annotations","Create, inspect, reply to, update, or resolve situated Worktable annotations. Use when feedback belongs to a Doc section, block, text range, or HTML Doc, or when the user asks to address existing review feedback and coordinate a requested artifact edit.","MIT","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-review-with-annotations\u002FSKILL.md",[],[],"2026-11-15 14:19:17",{"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":76,"licenseFileUrl":86,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":81},"01M7DV2YGHCZVBEB1AHYB6CGHE","worktable-find-and-synthesize-context","Find, assess, and synthesize context from Worktable Docs and Records. Use when the user asks what a workspace contains, wants workspace-backed research, needs current facts reconciled across artifacts, or requests a cited synthesis without changing workspace state.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-find-and-synthesize-context\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":94,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":81},"01M7DV2TQN1H11ME2SAF9MXN7V","worktable-create-or-update-docs","Create, edit, rename, or maintain narrative Worktable Docs. Use for plans, decisions, briefs, notes, research syntheses, and other durable prose when the user requests a new artifact or a safe update to an existing one.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-update-docs\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":102,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":81},"01M7DV2NE452NEA8TXATKSNAJH","worktable-create-or-manage-records","Organize repeated structured information as durable Worktable Records. Use for research datasets, inventories, directories, pipelines, trackers, and other collections whose items need identity, fields, filtering, links, validation, or individual updates.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-records\u002FSKILL.md",[],[],{"skillNo":107,"name":108,"nameZh":6,"description":109,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":110,"sourceHtmlUrl":111,"categories":112,"keywords":113,"publishedAt":81},"01M7DV2HENRBR2KSCVM064WH0Y","worktable-create-or-manage-interactive-html","Create or improve durable visual and interactive artifacts in Worktable. Use for dashboards, trackers, calculators, mini apps, slide presentations, and other requests that benefit from a polished HTML Doc.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-create-or-manage-interactive-html\u002FSKILL.md",[],[],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":76,"licenseFileUrl":118,"sourceHtmlUrl":119,"categories":120,"keywords":121,"publishedAt":81},"01M7DV2CADR5R7RQFFYPNAGR9Y","worktable-collaborate-threads","Read, answer, and hand off messages through durable Worktable threads with users or other authenticated participants. Use when the user asks to check addressed messages, reply to a participant, continue a thread, request another agent's help, wait briefly for a response, or watch for comments and messages sent to the agent.","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FLICENSE","https:\u002F\u002Fgithub.com\u002Fhashgraph-online\u002Fawesome-codex-plugins\u002Fblob\u002Fmain\u002Fplugins\u002Fworktable\u002Fworktable-plugin\u002Fskills\u002Fworktable-collaborate-threads\u002FSKILL.md",[],[]]