本文へスキップ
Kitbay
スキル

test-driven-development

MIT2026年11月3日 更新315,883GitHubスター

A skill from the Superpowers collection that makes a coding agent follow strict test-driven development for features, bug fixes and refactors.

スキルの内容

A skill from the Superpowers collection that makes a coding agent follow strict test-driven development for features, bug fixes and refactors. For each behaviour the agent writes one small test, runs it and checks that it fails for the expected reason, writes the least code to make it pass, confirms the whole suite is green, and only then tidies up. Code written before its test is to be deleted, not kept as a reference, and bugs get a failing test that reproduces them first. It warns against mocks where real code can be used, lists common excuses for skipping steps, and asks for the full test suite to run before work is called done.

できること

  • Write a failing test before any implementation code
  • Implement the smallest change that passes the test
  • Reproduce bugs with a failing test before fixing
  • Run the full test suite before finishing