Engineering

Test Driven Development

Feature/bugfix uses red-green-refactor and writes the test that will fail first.

Use it when

Code change with measurable behavior; pure content/prototype can be judged separately.

Install command

This is the command stored in the directory. Read the source, then run it on work you can undo.

npx skills add obra/superpowers --skill test-driven-development

Source

Inspect it before you install it

Treat the skill like a dependency. The directory entry is a shortlist, and the source is the thing you are about to run.

  • Read the instructions and any scripts before you grant tools, files, or credentials.
  • Test it on reversible work. Keep deploy, send, publish, and payment steps for a person.
  • Keep it when the output is easier to review. Remove it when it only adds steps.

Keep going