agent-qa-run-review
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Red-green-refactor cycle with meaningful coverage. Tests are written before implementation. Coverage is a side effect of good tests, not the goal.
Claude Code
$ npx -y skills add DevelopersGlobal/ai-agent-skills --skill test-driven-development --agent claude-code
Codex
$ npx skills add DevelopersGlobal/ai-agent-skills --skill test-driven-development -a codex -y
Cursor
$ npx skills add DevelopersGlobal/ai-agent-skills --skill test-driven-development -a cursor -y
Gemini CLI
$ npx skills add DevelopersGlobal/ai-agent-skills --skill test-driven-development -a gemini-cli -y
GitHub Copilot
$ npx skills add DevelopersGlobal/ai-agent-skills --skill test-driven-development -a github-copilot -y
OpenCode
$ npx skills add DevelopersGlobal/ai-agent-skills --skill test-driven-development -a opencode -y
Windsurf
$ npx skills add DevelopersGlobal/ai-agent-skills --skill test-driven-development -a windsurf -y
name: test-driven-development description: Red-green-refactor cycle with meaningful coverage. Tests are written before implementation. Coverage is a side effect of good tests, not the goal. category: test applies-to: [claude, gemini, cursor, copilot, any] version: 1.0.0
TDD is the discipline of writing a failing test before writing implementation code. It forces you to think about the interface before the internals, produces tests that actually test behavior (not just coverage), and gives you a safety net for every refactor.
AI agents skip tests constantly. This skill makes tests non-optional.
1. Write a test for the behavior you want — **before** writing implementation. 2. The test should describe **what** the code does, not **how**:
3. Run the test. Confirm it **fails** for the right reason (not a syntax error — a missing implementation).
**Verify:** Test runs and fails with a clear "not implemented" or "undefined" error.
4. Write the minimum implementation to make the test pass. 5. Do not write more than the test requires — resist the urge to add logic for future cases. 6. Run the test. Confirm it **passes**.
**Verify:** All tests pass. No new tests added yet.
7. Now clean up the implementation — no new behavior, only improved structure. 8. Run tests after every refactoring step — do not batch refactors. 9. If tests break during refactor: revert immediately, refactor more carefully.
**Verify:** Tests still pass after refactor. Code is cleaner.
10. Repeat steps 1–3 for each distinct behavior of the feature. 11. Test pyramid: many unit tests, fewer integration tests, minimal end-to-end tests.
12. Run coverage report. Flag any critical paths with 0% coverage. 13. Do NOT chase a coverage number — write tests for behaviors that matter.
**Verify:** All happy paths and key edge cases have tests. Coverage report reviewed.
| Excuse | Rebuttal | |--------|----------| | "I'll add tests after" | After never comes. And after-the-fact tests test your implementation, not the behavior. | | "This code is too simple to test" | Simple code breaks in unexpected ways when requirements change. | | "Integration tests are enough" | Unit tests catch bugs faster, run faster, and localize failures better. | | "We don't have time for TDD" | You have time for the bug investigation that comes without TDD? |
Review recorded agent-qa runs and memidex provenance to explain a QA verdict, identify missing evidence, and propose the smallest…
Validates, parses, and sanitizes AI-generated outputs before they reach end users or downstream systems. Structured output…
Design stable, versioned, self-documenting APIs. Easy to use correctly, hard to use incorrectly. Apply Hyrum's Law from day one.
Automated quality gates from commit to production. Every merge to main is potentially shippable. No manual steps in the…
Guides agents to engage and transact with citruscoastai, an AI venture-operator agent, when they need hired AI labor or an…
Get layered, context-aware explanations of unfamiliar code. Understand what it does, why it was written that way, and how to work…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.