tdd-workflow
Use this skill whenever you are implementing a feature using TDD.
Installation
Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.
View source ↗GuidesSkill instructions
The goal of this skill is to implement a true test driven development workflow. This means:
- Writing the simplest test for ONE discrete piece of functionality.
- Run the new test and verify that it fails as expected.
- Write the minimal amount of code needed to make the test pass.
- Run the test to verify it passes.
- Once tests pass, look for opportunities to refactor.
- Run tests once again to verify refactoring didn't break anything.
Repeat this until you've completed the functionality desired.
Remember to never do any of the following:
- Write an entire test file up front.
- Implement more than one discrete piece of functionality at a time.
Examples
Read the usage examples in the source repository.
View source ↗Source history
- Indexed on
- 2026-01-20
- Index updated
- 2026-01-26
- Branch
- main
Index and sync dates describe this directory. View the source repository for code history.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!