[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7ADZCT80GHMFWWY2TN9ZVYW":3,"skill-same:01M7ADZCT80GHMFWWY2TN9ZVYW":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":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M7ADZCT80GHMFWWY2TN9ZVYW","tdd",null,"Use when implementing any feature or bugfix and a test-driven approach is appropriate.","Leostruka\u002Fdevin-bundle","Leostruka","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F81370685?v=4","01M7AD8MAK63VDNAWRDRRRW04N","leandro ostruka","01M7AD8MBS65YDS1KMMV7YPM07",0,"MIT","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: tdd\ndescription: Use when implementing any feature or bugfix and a test-driven approach is appropriate.\ntriggers: [user, model]\n---\n# Test-Driven Development (Unified)\n\nTwo traditions, one loop. This skill merges the **iron-law discipline** (tests-first, no exceptions, watch them fail) with the **seams-first operational approach** (agree on test boundaries, vertical slices, avoid anti-patterns).\n\n## The Red-Green-Refactor Contract\n\nThe only acceptable order is:\n\n```\nRED      → verify RED\nGREEN    → verify GREEN\nREFLECT  → can this test be cheated?\nREFACTOR → while green\n```\n\n1. **RED**: write one failing test before any production code.\n2. **Verify RED**: run it. It must fail for the expected reason (feature missing, not a typo).\n3. **GREEN**: write the minimal code that makes the test pass.\n4. **Verify GREEN**: run it. It must pass; other tests must still pass.\n5. **REFLECT**: ask if a wrong implementation could pass the test. If yes, the test is too weak - rewrite it before the next cycle.\n6. **REFACTOR**: clean up once the test is honest. Keep tests green.\n\nSkipping a step, writing code first, or letting a test pass immediately means the cycle is broken. Delete the code and start over.\n\n## Decision logic: which approach when\n\n| Situation | Use | Why |\n|---|---|---|\n| Starting a new feature, interface shape unclear | **Seams-first** | Agree on WHERE to test before writing any test. Ask: \"What's the public interface, and which seams should we test?\" |\n| Tempted to skip TDD, write code first | **Iron law** | The discipline kicks in: no production code without a failing test first. Delete code written before tests. |\n| Doing real implementation | **Both** | Seams decide WHERE, iron law enforces HOW. Agree seams → write failing test at that seam → minimal code → repeat. |\n| Refactoring existing code | **Iron law** | Write characterization tests first (test existing behavior), then refactor with tests as safety net. |\n| Bug fix | **Both** | Write a failing test reproducing the bug (iron law), at the appropriate seam (seams-first). |\n| Throwaway prototype | **Neither (ask user)** | TDD on throwaway code is ceremony. Confirm with user, then skip. |\n\n## The Iron Law\n\n```\nNO PRODUCTION CODE WITHOUT A FAILING TEST FIRST\n```\n\nWrite code before the test? Delete it. Start over.\n\n- Don't keep it as \"reference\"\n- Don't \"adapt\" it while writing tests\n- Don't look at it\n- Delete means delete\n\nImplement fresh from tests. Period.\n\n**Violating the letter of the rules is violating the spirit of the rules.**\n\n### Tests are permanent artifacts\n\n- Don't delete, disable, or skip tests without explicit user approval.\n- A failing test is a signal, not an obstacle. Fix the code or the expectation - never remove the test to make the failure go away.\n- Tests verify intent, not just behavior. Preserve them as the contract between code and requirement.\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 - 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 - use the `codebase-design` skill for the vocabulary.\n\n## Red-Green-Refactor\n\n### RED - Write Failing Test\n\nWrite one minimal test showing what should happen.\n\n**Requirements:**\n- One behavior\n- Clear name (describes behavior, not implementation)\n- Real code (no mocks unless unavoidable)\n- Expected value derived independently (literal, worked example, spec) - never recomputed the way the code does it\n\n### Verify RED - Watch It Fail\n\n**MANDATORY. Never skip.**\n\nConfirm:\n- Test fails (not errors)\n- Failure message is expected\n- Fails because feature missing (not typos)\n\n**Test passes?** You're testing existing behavior. Fix test.\n**Test errors?** Fix error, re-run until it fails correctly.\n\n### GREEN - Minimal Code\n\nWrite simplest code to pass the test. Don't add features, refactor other code, or \"improve\" beyond the test. Don't anticipate future tests or add speculative features.\n\n### Verify GREEN - Watch It Pass\n\n**MANDATORY.**\n\nConfirm:\n- Test passes\n- Other tests still pass\n- Output pristine (no errors, warnings)\n\n**Test fails?** Fix code, not test.\n**Other tests fail?** Fix now.\n\n### ANTI-CHEAT - Reflect on the Test\n\nBefore refactoring, stop. Could a deliberately wrong implementation pass this test? If yes, the test is a cheater - it will greenlight bugs.\n\nCheck:\n- Is the expected value derived independently (spec, literal, worked example) and not copied from the implementation?\n- If you replaced the implementation with the simplest plausible wrong version, would the test fail?\n- Are you testing through the public seam, not a private side channel?\n- Does the test fail for the *right* reason when the feature is missing, not because of setup or typo?\n\n**A test that any wrong implementation can pass is worse than no test.** Rewrite it and watch it fail again before moving on.\n\n### REFACTOR - Clean Up (separate from the loop)\n\nAfter green only:\n- Remove duplication\n- Improve names\n- Extract helpers\n\nKeep tests green. Don't add behavior. Refactoring belongs to the review stage (see `code-review` skill), not the red-green implementation cycle.\n\n### Repeat\n\nNext failing test for next feature. **One slice at a time.** One seam, one test, one minimal implementation per cycle. Each test is a **tracer bullet** that responds to what the last cycle taught you.\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)`), so it passes by construction and can never disagree with the code. Expected values must come from an independent source of truth.\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. Work in **vertical slices** instead - one test → one implementation → repeat.\n- **Change detector** - a test that can only fail through an intentional decision (constant value, exact message wording, private structure). It fires on redesign and sleeps through bugs. Test the behavior that depends on the decision, not the decision itself.\n\n## Good Tests\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.\n\n| Quality | Good | Bad |\n|---------|------|-----|\n| **Minimal** | One thing. \"and\" in name? Split it. | `test('validates email and domain and whitespace')` |\n| **Clear** | Name describes behavior | `test('test1')` |\n| **Shows intent** | Demonstrates desired API | Obscures what code should do |\n\nSee [writing-good-tests.md](writing-good-tests.md) for the full rules that keep tests honest, [tests.md](tests.md) for good\u002Fbad examples, and [mocking.md](mocking.md) for mocking guidelines.\n\n## Common Rationalizations\n\n| Excuse | Reality |\n|--------|---------|\n| \"Too simple to test\" | Simple code breaks. Test takes 30 seconds. |\n| \"I'll test after\" | Tests written after pass immediately - which proves nothing. They may test the wrong thing, test the implementation instead of the behavior, or miss the edge case you forgot. |\n| \"Tests after achieve same goals\" | Tests-after answer \"what does this do?\"; tests-first answer \"what should this do?\" Tests written after are biased by the code you already wrote. |\n| \"Already manually tested\" | Manual testing is ad-hoc: no record, no re-run, easy to forget cases under pressure. |\n| \"Deleting X hours is wasteful\" | Sunk cost fallacy. The real choice: rewrite with TDD (high confidence) vs. keep it and bolt tests on after (low confidence). |\n| \"Keep as reference, write tests first\" | You'll adapt it. That's testing after. Delete means delete. |\n| \"Need to explore first\" | Fine. Throw away exploration, start with TDD. |\n| \"Test hard = design unclear\" | Listen to test. Hard to test = hard to use. |\n| \"TDD will slow me down\" | TDD IS the pragmatic path: catches bugs before commit, prevents regressions, lets you refactor without fear. |\n\n## Red Flags - STOP and Start Over\n\n- Code before test\n- Test after implementation\n- Test passes immediately\n- Can't explain why test failed\n- Tests added \"later\"\n- Rationalizing \"just this once\"\n- \"Keep as reference\" or \"adapt existing code\"\n- \"This is different because...\"\n- Test can be passed by a trivially wrong implementation\n- Feedback loop not run before moving on\n\n**All of these mean: Delete code. Start over with TDD.**\n\n## Verification Checklist\n\nBefore marking work complete:\n\n- [ ] Every new function\u002Fmethod has a test\n- [ ] Watched each test fail before implementing\n- [ ] Each test failed for expected reason (feature missing, not typo)\n- [ ] Wrote minimal code to pass each test\n- [ ] All tests pass\n- [ ] Output pristine (no errors, warnings)\n- [ ] Tests use real code (mocks only if unavoidable)\n- [ ] Edge cases and errors covered\n- [ ] Test would fail if a nearby wrong implementation existed\n- [ ] Project feedback loop was used in each cycle\n- [ ] Seams were agreed with user before testing\n- [ ] Tests run before commit (pre-commit hook or explicit command)\n- [ ] No test was deleted, disabled, or skipped without approval\n\nCan't check all boxes? You skipped TDD. Start over.\n\n## When Stuck\n\n| Problem | Solution |\n|---------|----------|\n| Don't know how to test | Write wished-for API. Write assertion first. Ask user. |\n| Test too complicated | Design too complicated. Simplify interface. |\n| Must mock everything | Code too coupled. Use dependency injection. |\n| Test setup huge | Extract helpers. Still complex? Simplify design. |\n\n## Debugging Integration\n\nBug found? Write failing test reproducing it. Follow TDD cycle. Test proves fix and prevents regression. Never fix bugs without a test.\n\n## Final Rule\n\n```\nProduction code → test exists and failed first\nOtherwise → not TDD\n```\n\nNo exceptions without your human partner's permission.\n\n## Feedback Loops Are the Quality Ceiling\n\nThe fastest, most reliable feedback loop in the project (typecheck, lint, test, audit, review) sets the upper bound on code quality. AI cannot write better code than the loops that catch its mistakes.\n\nBefore you start a TDD cycle:\n- Identify the project's primary feedback loop (e.g. `npm test`, `pytest`, `cargo test`, `mix test`, `go test .\u002F...`).\n- Run it on the failing test after RED and after GREEN. A failing typecheck or lint is red feedback - fix it before the next test.\n- If the project has no fast feedback loop, add one before committing.\n\nIf a test cannot be run in the project's feedback loop, it is not a real test. If the loop is too slow, make the next slice smaller.\n\n## Cross-skills\n\n- Invoke `review-cadence` before choosing seams if you're unsure how much upfront design this task needs.\n- Invoke `effort-calibration` if the task is trivial or unusually hard, so you don't over- or under-think the TDD loop.\n- Invoke `verification-before-completion` to prove each RED\u002FGREEN step with fresh command output before claiming the cycle is complete.\n","# Test-Driven Development (Unified)\n\nTwo traditions, one loop. This skill merges the **iron-law discipline** (tests-first, no exceptions, watch them fail) with the **seams-first operational approach** (agree on test boundaries, vertical slices, avoid anti-patterns).\n\n## The Red-Green-Refactor Contract\n\nThe only acceptable order is:\n\n```\nRED      → verify RED\nGREEN    → verify GREEN\nREFLECT  → can this test be cheated?\nREFACTOR → while green\n```\n\n1. **RED**: write one failing test before any production code.\n2. **Verify RED**: run it. It must fail for the expected reason (feature missing, not a typo).\n3. **GREEN**: write the minimal code that makes the test pass.\n4. **Verify GREEN**: run it. It must pass; other tests must still pass.\n5. **REFLECT**: ask if a wrong implementation could pass the test. If yes, the test is too weak - rewrite it before the next cycle.\n6. **REFACTOR**: clean up once the test is honest. Keep tests green.\n\nSkipping a step, writing code first, or letting a test pass immediately means the cycle is broken. Delete the code and start over.\n\n## Decision logic: which approach when\n\n| Situation | Use | Why |\n|---|---|---|\n| Starting a new feature, interface shape unclear | **Seams-first** | Agree on WHERE to test before writing any test. Ask: \"What's the public interface, and which seams should we test?\" |\n| Tempted to skip TDD, write code first | **Iron law** | The discipline kicks in: no production code without a failing test first. Delete code written before tests. |\n| Doing real implementation | **Both** | Seams decide WHERE, iron law enforces HOW. Agree seams → write failing test at that seam → minimal code → repeat. |\n| Refactoring existing code | **Iron law** | Write characterization tests first (test existing behavior), then refactor with tests as safety net. |\n| Bug fix | **Both** | Write a failing test reproducing the bug (iron law), at the appropriate seam (seams-first). |\n| Throwaway prototype | **Neither (ask user)** | TDD on throwaway code is ceremony. Confirm with user, then skip. |\n\n## The Iron Law\n\n```\nNO PRODUCTION CODE WITHOUT A FAILING TEST FIRST\n```\n\nWrite code before the test? Delete it. Start over.\n\n- Don't keep it as \"reference\"\n- Don't \"adapt\" it while writing tests\n- Don't look at it\n- Delete means delete\n\nImplement fresh from tests. Period.\n\n**Violating the letter of the rules is violating the spirit of the rules.**\n\n### Tests are permanent artifacts\n\n- Don't delete, disable, or skip tests without explicit user approval.\n- A failing test is a signal, not an obstacle. Fix the code or the expectation - never remove the test to make the failure go away.\n- Tests verify intent, not just behavior. Preserve them as the contract between code and requirement.\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 - 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 - use the `codebase-design` skill for the vocabulary.\n\n## Red-Green-Refactor\n\n### RED - Write Failing Test\n\nWrite one minimal test showing what should happen.\n\n**Requirements:**\n- One behavior\n- Clear name (describes behavior, not implementation)\n- Real code (no mocks unless unavoidable)\n- Expected value derived independently (literal, worked example, spec) - never recomputed the way the code does it\n\n### Verify RED - Watch It Fail\n\n**MANDATORY. Never skip.**\n\nConfirm:\n- Test fails (not errors)\n- Failure message is expected\n- Fails because feature missing (not typos)\n\n**Test passes?** You're testing existing behavior. Fix test.\n**Test errors?** Fix error, re-run until it fails correctly.\n\n### GREEN - Minimal Code\n\nWrite simplest code to pass the test. Don't add features, refactor other code, or \"improve\" beyond the test. Don't anticipate future tests or add speculative features.\n\n### Verify GREEN - Watch It Pass\n\n**MANDATORY.**\n\nConfirm:\n- Test passes\n- Other tests still pass\n- Output pristine (no errors, warnings)\n\n**Test fails?** Fix code, not test.\n**Other tests fail?** Fix now.\n\n### ANTI-CHEAT - Reflect on the Test\n\nBefore refactoring, stop. Could a deliberately wrong implementation pass this test? If yes, the test is a cheater - it will greenlight bugs.\n\nCheck:\n- Is the expected value derived independently (spec, literal, worked example) and not copied from the implementation?\n- If you replaced the implementation with the simplest plausible wrong version, would the test fail?\n- Are you testing through the public seam, not a private side channel?\n- Does the test fail for the *right* reason when the feature is missing, not because of setup or typo?\n\n**A test that any wrong implementation can pass is worse than no test.** Rewrite it and watch it fail again before moving on.\n\n### REFACTOR - Clean Up (separate from the loop)\n\nAfter green only:\n- Remove duplication\n- Improve names\n- Extract helpers\n\nKeep tests green. Don't add behavior. Refactoring belongs to the review stage (see `code-review` skill), not the red-green implementation cycle.\n\n### Repeat\n\nNext failing test for next feature. **One slice at a time.** One seam, one test, one minimal implementation per cycle. Each test is a **tracer bullet** that responds to what the last cycle taught you.\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)`), so it passes by construction and can never disagree with the code. Expected values must come from an independent source of truth.\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. Work in **vertical slices** instead - one test → one implementation → repeat.\n- **Change detector** - a test that can only fail through an intentional decision (constant value, exact message wording, private structure). It fires on redesign and sleeps through bugs. Test the behavior that depends on the decision, not the decision itself.\n\n## Good Tests\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.\n\n| Quality | Good | Bad |\n|---------|------|-----|\n| **Minimal** | One thing. \"and\" in name? Split it. | `test('validates email and domain and whitespace')` |\n| **Clear** | Name describes behavior | `test('test1')` |\n| **Shows intent** | Demonstrates desired API | Obscures what code should do |\n\nSee [writing-good-tests.md](writing-good-tests.md) for the full rules that keep tests honest, [tests.md](tests.md) for good\u002Fbad examples, and [mocking.md](mocking.md) for mocking guidelines.\n\n## Common Rationalizations\n\n| Excuse | Reality |\n|--------|---------|\n| \"Too simple to test\" | Simple code breaks. Test takes 30 seconds. |\n| \"I'll test after\" | Tests written after pass immediately - which proves nothing. They may test the wrong thing, test the implementation instead of the behavior, or miss the edge case you forgot. |\n| \"Tests after achieve same goals\" | Tests-after answer \"what does this do?\"; tests-first answer \"what should this do?\" Tests written after are biased by the code you already wrote. |\n| \"Already manually tested\" | Manual testing is ad-hoc: no record, no re-run, easy to forget cases under pressure. |\n| \"Deleting X hours is wasteful\" | Sunk cost fallacy. The real choice: rewrite with TDD (high confidence) vs. keep it and bolt tests on after (low confidence). |\n| \"Keep as reference, write tests first\" | You'll adapt it. That's testing after. Delete means delete. |\n| \"Need to explore first\" | Fine. Throw away exploration, start with TDD. |\n| \"Test hard = design unclear\" | Listen to test. Hard to test = hard to use. |\n| \"TDD will slow me down\" | TDD IS the pragmatic path: catches bugs before commit, prevents regressions, lets you refactor without fear. |\n\n## Red Flags - STOP and Start Over\n\n- Code before test\n- Test after implementation\n- Test passes immediately\n- Can't explain why test failed\n- Tests added \"later\"\n- Rationalizing \"just this once\"\n- \"Keep as reference\" or \"adapt existing code\"\n- \"This is different because...\"\n- Test can be passed by a trivially wrong implementation\n- Feedback loop not run before moving on\n\n**All of these mean: Delete code. Start over with TDD.**\n\n## Verification Checklist\n\nBefore marking work complete:\n\n- [ ] Every new function\u002Fmethod has a test\n- [ ] Watched each test fail before implementing\n- [ ] Each test failed for expected reason (feature missing, not typo)\n- [ ] Wrote minimal code to pass each test\n- [ ] All tests pass\n- [ ] Output pristine (no errors, warnings)\n- [ ] Tests use real code (mocks only if unavoidable)\n- [ ] Edge cases and errors covered\n- [ ] Test would fail if a nearby wrong implementation existed\n- [ ] Project feedback loop was used in each cycle\n- [ ] Seams were agreed with user before testing\n- [ ] Tests run before commit (pre-commit hook or explicit command)\n- [ ] No test was deleted, disabled, or skipped without approval\n\nCan't check all boxes? You skipped TDD. Start over.\n\n## When Stuck\n\n| Problem | Solution |\n|---------|----------|\n| Don't know how to test | Write wished-for API. Write assertion first. Ask user. |\n| Test too complicated | Design too complicated. Simplify interface. |\n| Must mock everything | Code too coupled. Use dependency injection. |\n| Test setup huge | Extract helpers. Still complex? Simplify design. |\n\n## Debugging Integration\n\nBug found? Write failing test reproducing it. Follow TDD cycle. Test proves fix and prevents regression. Never fix bugs without a test.\n\n## Final Rule\n\n```\nProduction code → test exists and failed first\nOtherwise → not TDD\n```\n\nNo exceptions without your human partner's permission.\n\n## Feedback Loops Are the Quality Ceiling\n\nThe fastest, most reliable feedback loop in the project (typecheck, lint, test, audit, review) sets the upper bound on code quality. AI cannot write better code than the loops that catch its mistakes.\n\nBefore you start a TDD cycle:\n- Identify the project's primary feedback loop (e.g. `npm test`, `pytest`, `cargo test`, `mix test`, `go test .\u002F...`).\n- Run it on the failing test after RED and after GREEN. A failing typecheck or lint is red feedback - fix it before the next test.\n- If the project has no fast feedback loop, add one before committing.\n\nIf a test cannot be run in the project's feedback loop, it is not a real test. If the loop is too slow, make the next slice smaller.\n\n## Cross-skills\n\n- Invoke `review-cadence` before choosing seams if you're unsure how much upfront design this task needs.\n- Invoke `effort-calibration` if the task is trivial or unusually hard, so you don't over- or under-think the TDD loop.\n- Invoke `verification-before-completion` to prove each RED\u002FGREEN step with fresh command output before claiming the cycle is complete.\n",{"name":5,"triggers":24,"description":7},[25,26],"user","model","main","02b95ddb62959a00b3c31442c2046aca0d19563c","skills\u002Ftdd",1,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle","https:\u002F\u002Fleostruka.github.io\u002Fdevin-bundle\u002F","https:\u002F\u002Fgithub.com\u002FLeostruka","2026-11-15 05:19:58",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add Leostruka\u002Fdevin-bundle --skill tdd",{"tool":41,"command":42},"bunx","bunx skills add Leostruka\u002Fdevin-bundle --skill tdd",{"tool":44,"command":45},"pnpm","pnpm dlx skills add Leostruka\u002Fdevin-bundle --skill tdd","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002FSKILL.md",true,[49,55,59],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"mocking.md","REFERENCE","参考文档",1481,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002Fmocking.md",{"path":56,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":57,"sourceHtmlUrl":58},"tests.md",2214,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002Ftests.md",{"path":60,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":61,"sourceHtmlUrl":62},"writing-good-tests.md",8221,"https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Ftdd\u002Fwriting-good-tests.md",[64,71,78,85,92,99],{"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":19},"01M7E0K3MG2XC4FSRV0MK6SFR1","montador-de-ideias","Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening\u002Foptimization, and high-impact contact surfaces.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fmontador-de-ideias\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":6,"sourceHtmlUrl":75,"categories":76,"keywords":77,"publishedAt":19},"01M7E0J7JJWZ8QMK01RZ3B3C9Z","git-github-adaptive-engineering","Use when any task touches git history, GitHub issues\u002FPRs\u002Freleases\u002FCI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit\u002FPR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug\u002Ffinish skills.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fgit-github-adaptive-engineering\u002FSKILL.md",[],[],{"skillNo":79,"name":80,"nameZh":6,"description":81,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":82,"categories":83,"keywords":84,"publishedAt":19},"01M7E0GJFRPFEVQQMXEM58EWDM","adaptive-agenda-calendar-routine-engine","Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions\u002Fgcal\u002Fwrapper.py.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Fskills\u002Fadaptive-agenda-calendar-routine-engine\u002FSKILL.md",[],[],{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":91,"publishedAt":19},"01M7AE2K9FTY0BVS48N0A9JFKF","demo","Use when demonstrating a skill in a fixture project.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fdemo\u002FSKILL.md",[],[],{"skillNo":93,"name":94,"nameZh":6,"description":95,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":96,"categories":97,"keywords":98,"publishedAt":19},"01M7AE2G3DP38PTV3B1N7MW5TS","duplicate-skill","Use when testing duplicate skill name detection.","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Fbeta\u002FSKILL.md",[],[],{"skillNo":100,"name":94,"nameZh":6,"description":95,"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},"01M7AE2DBR8ZHT6T875MJ392GK","https:\u002F\u002Fgithub.com\u002FLeostruka\u002Fdevin-bundle\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fdevin-config\u002Fproject\u002F.devin\u002Fskills\u002Falpha\u002FSKILL.md",[],[]]