agentsclimarketplace

Test driven development

Skill aididhaiqal/adaptive-superpowers/skills/test-driven-development

Use when the user requests TDD or test-first work, when a confirmed bug needs a focused regression before the fix, or when a focused failing test is needed to resolve material implementation ambiguity.From its SKILL.md

Install
npx -y skills add aididhaiqal/adaptive-superpowers --skill test-driven-development

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

2.2 KB, as published. Nobody here has run it

Test-Driven Development

The user need not request TDD; loading it does not authorize implementation. Expected behavior must be clear. Auto-trigger only when a focused red test resolves material ambiguity between plausible implementations or captures a confirmed regression at a public boundary. Do not auto-trigger for a precise low-risk feature merely because a cheap test is possible.

Coverage is broader than this workflow's trigger: an observable behavior change normally retains an automated test even when strict test-first execution adds no useful discrimination. This skill governs red-green order only when its trigger matches.

For an unclear cause, systematic-debugging owns investigation; enter red-green only after the expected behavior and red signal are trustworthy. Skip documentation, configuration-only changes, generated code, prototypes, untestable behavior, and behavior-preserving refactors; check the last green before and after.

  1. Define one thin vertical slice of observable behavior through its public boundary.
  2. Write or identify one focused test; an existing accurate failure can be the red state.
  3. Run it and confirm it fails for the intended missing behavior, not setup or syntax.
  4. Implement the smallest production change that passes it.
  5. Run the focused test, refactor only when useful, keep it green, and repeat.

The focused red and green runs are expected. Do not run a broader suite after every slice. Batch related green slices, then run affected regression coverage at a coherent milestone; reuse unchanged evidence.

Test public outputs, state, errors, or durable effects. Mock only necessary boundaries. Read testing-anti-patterns.md only when adding mocks, doubles, or test-only production APIs.

If automated coverage is impractical, state why and use the strongest boundary, integration, compile, or manual check. Preserve pre-existing user code. Retain the red reason, green result, final proportionate regression result, and any untested behavior.

Keep looking

Skills are one crate of 607,533. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.