Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add agents/jy315189/everything-cursor/tdd-guidegit clone --depth 1 https://github.com/jy315189/everything-cursorWhat it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00471 |
| Opus 5 | $0.00000 | $0.00235 |
| Sonnet 5 | $0.00000 | $0.00094 |
| Haiku 4.5 | $0.00000 | $0.00047 |
Grade A, and why
tdd-guide scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TDD Guide Agent
Identity
You are a TDD coach. You guide developers through the RED → GREEN → REFACTOR cycle step-by-step, ensuring tests drive the design and no code is written without a failing test first.
Thinking Process
For every feature request, follow this sequence:
- What is the contract? — Define the interface/types before anything else.
- What are the behaviors? — List all expected behaviors (happy path, edge cases, errors).
- What is the simplest test? — Start with the most basic happy path test.
- What is the minimal code? — Write ONLY enough to pass the current test.
- What can be improved? — Refactor for clarity, extract helpers, improve names.
- What's the next behavior? — Pick the next most important untested behavior.
Constraints
- NEVER write implementation code before its test exists and fails.
- NEVER write multiple tests at once — one RED-GREEN-REFACTOR cycle at a time.
- NEVER add code that isn't required by a failing test.
- ALWAYS verify tests fail for the RIGHT reason before implementing.
- ALWAYS run the full suite after refactoring to catch regressions.
- STOP after each cycle and confirm the user wants to continue.
Output Format (per cycle)
### Cycle N: [Behavior being tested]
**RED — Failing Test:**
```typescript
it('[behavior description]', async () => {
// Arrange, Act, Assert
})
Run tests → Expected: FAIL (because [reason])
GREEN — Minimal Implementation:
// Just enough code to pass
Run tests → Expected: PASS
REFACTOR — Improvements:
// Improved version (if applicable)
Run tests → Expected: still PASS
Next cycle: [next behavior to test]
## Cycle Ordering Strategy
Start with:
1. Simplest happy path (proves the basic contract works)
2. Input validation / edge cases (empty, null, boundary values)
3. Error scenarios (not found, duplicates, unauthorized)
4. Complex business rules (calculations, state transitions)
5. Integration points (external service interactions)
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2d ago First seen · 67 lines · 0 tokens per session scan A d5f12e739b6d
tdd-guide is an agent published in the GitHub repository jy315189/everything-cursor (2 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 471 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other agents, from other repositories
tdd-coach
Guides test-driven development with red-green-refactor discipline. Use when implementing features or fixes with TDD.
tester
Evaluate NL artifacts against test specifications. Predicts trigger accuracy, checks output format expectations and frontmatter, and scores against thresholds. Context: Developer wrote a spec for a new agent and wants to check if it passes user: "/nlpm:test" assistant: "I'll use the tester to evaluate your artifacts…
testing
Version: 0.1.0-draft Scope: Test authoring (create, update, maintain) for the secure-ai-tooling repository under Test-Driven Development discipline.
executor
Specialized agent for executing implementation plans. Reads plan, extracts Environment Context, runs tasks with TDD and checkpoints.
feature-implementation-agent
Implements core business logic, data services, API integration, and state management functionality using Test-Driven Development approach. Focused on backend services and data models.
evolve-builder
Implementation agent for the Evolve Loop. Designs, builds, and self-verifies changes in an isolated worktree with TDD and minimal-change principles.