Tdd
Use when implementing with test-driven development. Triggers on "TDD", "테스트 먼저", "test first", or when the plan specifies TDD.From its SKILL.md
npx -y skills add AGMO-Inc/agmo-everywhere --skill tddAssembled 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.
- 4 stars4 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.8 KB, as published. Nobody here has run it
TDD — Test-Driven Development
Iron Law
No production code without a failing test. No exceptions.
Cycle
RED — Write a Failing Test
- Write a test that describes the desired behavior
- Run the test — it MUST fail
- If it passes, the test is wrong or the feature already exists
GREEN — Make It Pass
- Write the minimum code to make the test pass
- Do not add anything beyond what the test requires
- Run the test — it MUST pass now
REFACTOR — Clean Up
- Improve code quality without changing behavior
- Run tests — they MUST still pass
- Only refactor if there is a clear improvement
Rules
- One test at a time. Write one failing test, make it pass, then write the next.
- Test behavior, not implementation. Tests should describe what, not how.
- No test? No code. If you cannot write a test for it, reconsider if it is needed.
- Delete wrong tests. If a test is testing the wrong thing, delete it and start over. Do not patch a bad test.
- Keep tests fast. Each test should run in under 1 second.
Anti-Patterns to Avoid
- Testing implementation details — testing private methods, internal state
- Brittle tests — tests that break when implementation changes but behavior does not
- Test duplication — multiple tests verifying the same behavior
- Missing edge cases — only testing the happy path
- Mock overuse — mocking everything instead of testing real behavior
Delegation
- Dispatch
executoragent (standard) to write tests and implementation - After GREEN phase, run
agmo:verificationto confirm