[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7C76QA4RMD49VHCJD3HSR1M":3,"skill-same:01M7C76QA4RMD49VHCJD3HSR1M":61},{"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":29,"ownerHtmlUrl":30,"ownerBlogUrl":31,"ownerDescription":6,"updatedAt":32,"install":33,"resources":46},"01M7C76QA4RMD49VHCJD3HSR1M","aic-tdd",null,"Execute explicit test-driven development within an approved implementation scope.","Jankyz\u002Fai-config","Jankyz","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F33632837?v=4","01M7C750C3AWKW6V0T3VT3CP9B","Radek Jankowski","01M7C750D2WKTVNPEHM6EJ05NX",1,"MIT","https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Faic-tdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: aic-tdd\ndescription: Execute explicit test-driven development within an approved implementation scope.\n---\n\n# Test-Driven Development\n\n## Preconditions\n\n- This skill is explicitly invoked.\n- The implementation has an approved plan with the test seams and intended behavior sufficiently defined.\n- Read repository instructions, `CONTEXT.md` when present, applicable ADRs, and the relevant existing tests.\n- Do not begin material implementation, expand scope, or commit merely because a test loop is requested.\n\nTDD is the red → green loop. This skill is the reference that makes that loop produce tests worth keeping: what a good test is, where tests go, the anti-patterns, and the rules of the loop. Every section applies on every cycle: consult them before and during the loop, not after.\n\nWhen exploring the codebase, read `CONTEXT.md` (if it exists) so test names and interface vocabulary match the project's domain language, and respect ADRs in the area you're touching.\n\n## What a good test is\n\nTests verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't. A good test reads like a specification: \"user can checkout with valid cart\" tells you exactly what capability exists, and it survives refactors because it doesn't care about internal structure.\n\nSee [tests.md](tests.md) for examples and [mocking.md](mocking.md) for mocking guidelines.\n\n## Seams: where tests go\n\nA **seam** is the public boundary you test at: the interface where you observe behavior without reaching inside. Tests live at seams, never against internals.\n\n**Test only at pre-agreed seams.** Before writing any test, write down the seams under test and confirm them with the user. No test is written at an unconfirmed seam. You can't test everything, so agreeing the seams up front is how testing effort lands on the critical paths and complex logic instead of every edge case.\n\nAsk: \"What's the public interface, and which seams should we test?\"\n\nWhen the shape of that interface is itself in question (how deep the module is, where the seam belongs, what the interface should expose), consult the installed `codebase-design` skill. It is the shared source of the module, interface, depth, seam, adapter, leverage and locality terms, and is a reference to consult, not a separate execution workflow.\n\n## Anti-patterns\n\n- **Implementation-coupled**: mocks internal collaborators, tests private methods, or verifies through a side channel (querying the database instead of using the interface). The tell: the test breaks when you refactor but behavior hasn't changed.\n- **Tautological**: the assertion recomputes the expected value the way the code does (`expect(add(a, b)).toBe(a + b)`, a snapshot derived by hand the same way, a constant asserted equal to itself), so it passes by construction and can never disagree with the code. Expected values must come from an independent source of truth: a known-good literal, a worked example, the spec.\n- **Horizontal slicing**: writing all tests first, then all implementation. Bulk tests verify _imagined_ behavior: you test the _shape_ of things rather than user-facing behavior, the tests go insensitive to real changes, and you commit to test structure before understanding the implementation. Work in **vertical slices** instead: one test → one implementation → repeat, each test a **tracer bullet** that responds to what the last cycle taught you.\n\n## Rules of the loop\n\n- **Red before green.** Write the failing test first, then only enough code to pass it. Don't anticipate future tests or add speculative features.\n- **One slice at a time.** One seam, one test, one minimal implementation per cycle.\n- **Refactoring is not part of the loop.** Return it to the approved implementation\u002Freview scope after the red → green slice is proven.\n\n## Boundaries\n\n- Preserve the approved plan, ownership rules, verification requirements, and explicit commit authority.\n- Do not install test frameworks, add dependencies, or mutate external systems outside approved scope.\n","# Test-Driven Development\n\n## Preconditions\n\n- This skill is explicitly invoked.\n- The implementation has an approved plan with the test seams and intended behavior sufficiently defined.\n- Read repository instructions, `CONTEXT.md` when present, applicable ADRs, and the relevant existing tests.\n- Do not begin material implementation, expand scope, or commit merely because a test loop is requested.\n\nTDD is the red → green loop. This skill is the reference that makes that loop produce tests worth keeping: what a good test is, where tests go, the anti-patterns, and the rules of the loop. Every section applies on every cycle: consult them before and during the loop, not after.\n\nWhen exploring the codebase, read `CONTEXT.md` (if it exists) so test names and interface vocabulary match the project's domain language, and respect ADRs in the area you're touching.\n\n## What a good test is\n\nTests verify behavior through public interfaces, not implementation details. Code can change entirely; tests shouldn't. A good test reads like a specification: \"user can checkout with valid cart\" tells you exactly what capability exists, and it survives refactors because it doesn't care about internal structure.\n\nSee [tests.md](tests.md) for examples and [mocking.md](mocking.md) for mocking guidelines.\n\n## Seams: where tests go\n\nA **seam** is the public boundary you test at: the interface where you observe behavior without reaching inside. Tests live at seams, never against internals.\n\n**Test only at pre-agreed seams.** Before writing any test, write down the seams under test and confirm them with the user. No test is written at an unconfirmed seam. You can't test everything, so agreeing the seams up front is how testing effort lands on the critical paths and complex logic instead of every edge case.\n\nAsk: \"What's the public interface, and which seams should we test?\"\n\nWhen the shape of that interface is itself in question (how deep the module is, where the seam belongs, what the interface should expose), consult the installed `codebase-design` skill. It is the shared source of the module, interface, depth, seam, adapter, leverage and locality terms, and is a reference to consult, not a separate execution workflow.\n\n## Anti-patterns\n\n- **Implementation-coupled**: mocks internal collaborators, tests private methods, or verifies through a side channel (querying the database instead of using the interface). The tell: the test breaks when you refactor but behavior hasn't changed.\n- **Tautological**: the assertion recomputes the expected value the way the code does (`expect(add(a, b)).toBe(a + b)`, a snapshot derived by hand the same way, a constant asserted equal to itself), so it passes by construction and can never disagree with the code. Expected values must come from an independent source of truth: a known-good literal, a worked example, the spec.\n- **Horizontal slicing**: writing all tests first, then all implementation. Bulk tests verify _imagined_ behavior: you test the _shape_ of things rather than user-facing behavior, the tests go insensitive to real changes, and you commit to test structure before understanding the implementation. Work in **vertical slices** instead: one test → one implementation → repeat, each test a **tracer bullet** that responds to what the last cycle taught you.\n\n## Rules of the loop\n\n- **Red before green.** Write the failing test first, then only enough code to pass it. Don't anticipate future tests or add speculative features.\n- **One slice at a time.** One seam, one test, one minimal implementation per cycle.\n- **Refactoring is not part of the loop.** Return it to the approved implementation\u002Freview scope after the red → green slice is proven.\n\n## Boundaries\n\n- Preserve the approved plan, ownership rules, verification requirements, and explicit commit authority.\n- Do not install test frameworks, add dependencies, or mutate external systems outside approved scope.\n",{"name":5,"description":7},"main","1e97ef6ecbc412d6539b1e77ceb7b01de1ff8b37","skills\u002Faic-tdd",0,"https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config","https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@jankyz\u002Fai-config","https:\u002F\u002Fgithub.com\u002FJankyz","geo4you.pl","2026-09-16 05:07:23",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add Jankyz\u002Fai-config --skill aic-tdd",{"tool":39,"command":40},"bunx","bunx skills add Jankyz\u002Fai-config --skill aic-tdd",{"tool":42,"command":43},"pnpm","pnpm dlx skills add Jankyz\u002Fai-config --skill aic-tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Faic-tdd\u002FSKILL.md",true,[47,53,57],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"agents\u002Fopenai.yaml","REFERENCE","参考文档",255,"https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Faic-tdd\u002Fagents\u002Fopenai.yaml",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"mocking.md",1482,"https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Faic-tdd\u002Fmocking.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"tests.md",2214,"https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Fskills\u002Faic-tdd\u002Ftests.md",[62,69,76,83,90,97],{"skillNo":63,"name":64,"nameZh":6,"description":65,"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},"01M7C77SN4BQPXW6YA8MSCJGVG","writing-for-agents","Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.","https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fphase91-external\u002Fmatt\u002Fskills\u002Fproductivity\u002Fwriting-for-agents\u002FSKILL.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7C77Q9VMBSAK25Y3GHECPRW","grilling","Grill the user relentlessly about a plan, decision, or idea. Use when the user wants to stress-test their thinking, or uses any 'grill' trigger phrases.","https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fphase91-external\u002Fmatt\u002Fskills\u002Fproductivity\u002Fgrilling\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7C77NR3DR88BQ56ZG4G2WN4","grill-me","A relentless interview to sharpen a plan or design.","https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fphase91-external\u002Fmatt\u002Fskills\u002Fproductivity\u002Fgrill-me\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7C77JPETKRWCFATDJHKTSDD","wayfinder","Plan a huge chunk of work (more than one agent session can hold) as a shared map of decision tickets on your issue tracker, and resolve them one at a time until the way to the destination is clear.","https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fphase91-external\u002Fmatt\u002Fskills\u002Fengineering\u002Fwayfinder\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":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7C77GKT62CVH51137VH6R1R","grill-with-docs","A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.","https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fphase91-external\u002Fmatt\u002Fskills\u002Fengineering\u002Fgrill-with-docs\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7C77BJ910F0RS0EWHSF8TPE","codebase-design","Shared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary.","https:\u002F\u002Fgithub.com\u002FJankyz\u002Fai-config\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fphase91-external\u002Fmatt\u002Fskills\u002Fengineering\u002Fcodebase-design\u002FSKILL.md",[],[]]