tdd-workflow
Use this skill whenever you are implementing a feature using TDD.
Installation
Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.
Voir la source ↗GuidesInstructions
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.
Exemples
Consultez les exemples du dépôt source.
Voir la source ↗Historique source
- Date d’indexation
- 2026-01-20
- Mise à jour de l’index
- 2026-01-26
- Branch
- main
Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!