Al tdd discipline
Applies RED, GREEN, REFACTOR discipline for implementation tasks that explicitly use TDD.From its SKILL.md
npx -y skills add hyzaDan/copilot-al-configs --skill al-tdd-disciplineAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 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
1.3 KB, as published. Nobody here has run it
TDD Discipline
Use this skill when a task explicitly requires test-driven development.
What this skill does
- keeps test creation and production implementation separated
- enforces RED, GREEN, REFACTOR thinking
- prevents vacuous tests that never failed first
- improves traceability of why code was added
How to use it
- Write or refine the failing test first.
- Confirm what behavior is supposed to fail and why.
- Implement only what is needed to make the intended behavior pass.
- Refactor only after the behavior is passing.
- Summarize what changed at each phase.
Rules
- Do not present tests and implementation as one inseparable batch when strict TDD is required.
- Keep each test focused on one behavior.
- Do not implement production logic before the failing test has been validated.
- Keep tests deterministic and isolated.
- Call out when full RED or GREEN verification could not be executed in the environment.
- Prefer deterministic tests with explicit setup and assertions.
- Prefer scenario names that describe behavior, not implementation details.
- Call out missing edge cases and missing negative tests during review.