tdd
Test-Driven Development enforcement skill - write tests first, always
Skill by realsigridjin
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/realsigridjin-tdd
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: testing, writing
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tdd
What's inside
- Skill name
tdd- Description
- Test-Driven Development enforcement skill - write tests first, always
- License
- MIT
- Instructions
- 103 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# TDD Mode
[TDD MODE ACTIVATED]
## The Iron Law
**NO PRODUCTION CODE WITHOUT A FAILING TEST FIRST**
Write code before test? DELETE IT. Start over. No exceptions.
## Red-Green-Refactor Cycle
### 1. RED: Write Failing Test
- Write test for the NEXT piece of functionality
- Run test - MUST FAIL
- If it passes, your test is wrong
### 2. GREEN: Minimal Implementation
- Write ONLY enough code to pass the test
- No extras. No "while I'm here."
- Run test - MUST PASS
### 3. REFACTOR: Clean Up
- Improve code quality
- Run tests after EVERY change
- Must stay green
### 4. REPEAT
- Next failing test
- Continue cycle
## Enforcement Rules
| If You See | Action |
|------------|--------|
| Code written before test | STOP. Delete code. Write test first. |
| Test passes on first run | Test is wrong. Fix it to fail first. |
| Multiple features in one cycle | STOP. One test, one feature. |
| Skipping refactor | Go back. Clean up before next feature. |
## Commands
Before each implementation:
```bash
# Run the project's test command - should have ONE new failure
```
After implementation:
```bash
# Run the project's test command - new test should pass, all others still pass
```
## Output Format
When guiding TDD:
```
## TDD Cycle: [Feature Name]
### RED Phase
Test: [test code]
Expected failure: [what error you expect]
Actual: [run result showing failure]
### GREEN Phase
Implementation: [minimal code]
Result: [run result showing pass]
### REFACTOR Phase
Changes: [what was cleaned up]
Result: [tests still pass]
```
## External Model Consultation (Preferred)
The tdd-guide agent SHOULD consult Codex for test strategy validation.
### Protocol
1. **Form your OWN test strategy FIRST** - Design tests independently
2. **Consult for validation** - Cross-check test coverage strategy
3. **Critically evaluate** - Never blindly adopt external suggestions
4. **Graceful fallback** - Never block if tools unavailable
### When to Consult
- Complex domain logic requiring comprehensive test coverage
- Edge case identification for critical paths
- Test architecture for large features
- Unfamiliar testing patterns
### When to Skip
- Simple unit tests
- Well-understood testing patterns
- Time-critical TDD cycles
- Small, isolated functionality
### Tool Usage
Before first MCP tool use, call `ToolSearch("mcp")` to discover deferred MCP tools.
Use `mcp__x__ask_codex` with `agent_role: "tdd-guide"`.
If ToolSearch finds no MCP tools, fall back to the `test-engineer` Claude agent.
**Remember:** The discipline IS the value. Shortcuts destroy the benefit.From realsigridjin/oh-my-codex, MIT.
More from realsigridjin/oh-my-codex
- 0.483score
cancel
realsigridjin
Cancel any active OMC mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
SkillDFreshness: D★ 20Claude Code +9 - 0.483score
configure-discord
realsigridjin
Configure Discord webhook/bot notifications via natural language
SkillDFreshness: D★ 20Claude Code +9 - 0.483score
learn-about-omc
realsigridjin
Learn about your OMC usage patterns and get personalized recommendations
SkillDFreshness: D★ 20Claude Code +9 - 0.483score
swarm
realsigridjin
N coordinated agents on shared task list (compatibility facade over team)
SkillDFreshness: D★ 20Claude Code +9 - 0.483score
ultrawork
realsigridjin
Parallel execution engine for high-throughput task completion
SkillDFreshness: D★ 20Claude Code +9 - 0.480score
ecomode
realsigridjin
Token-efficient model routing modifier
SkillDFreshness: D★ 20Claude Code +9 - 0.480score
release
realsigridjin
Automated release workflow for oh-my-codex
SkillDFreshness: D★ 20Claude Code +9 - 0.480score
configure-telegram
realsigridjin
Configure Telegram bot notifications via natural language
SkillDFreshness: D★ 20Claude Code +9 - 0.480score
help
realsigridjin
Guide on using oh-my-codex plugin
SkillDFreshness: D★ 20Claude Code +9 - 0.480score
trace
realsigridjin
Show agent flow trace timeline and summary
SkillDFreshness: D★ 20Claude Code +9 - 0.480score
autopilot
realsigridjin
Full autonomous execution from idea to working code
SkillDFreshness: D★ 20Claude Code +9 - 0.480score
analyze
realsigridjin
Deep analysis and investigation
SkillDFreshness: D★ 20Claude Code +9
Signals
- Stars
- 20
- Forks
- 6
- Open issues
- 0
- Last commit (this folder)
- Feb 13, 2026 (8 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/realsigridjin/oh-my-codex
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from realsigridjin
- 0.483score
cancel
realsigridjin
Cancel any active OMC mode (autopilot, ralph, ultrawork, ecomode, ultraqa, swarm, ultrapilot, pipeline, team)
SkillDFreshness: D★ 20Claude Code +9 - 0.483score
configure-discord
realsigridjin
Configure Discord webhook/bot notifications via natural language
SkillDFreshness: D★ 20Claude Code +9 - 0.483score
learn-about-omc
realsigridjin
Learn about your OMC usage patterns and get personalized recommendations
SkillDFreshness: D★ 20Claude Code +9 - 0.483score
swarm
realsigridjin
N coordinated agents on shared task list (compatibility facade over team)
SkillDFreshness: D★ 20Claude Code +9 - 0.483score
ultrawork
realsigridjin
Parallel execution engine for high-throughput task completion
SkillDFreshness: D★ 20Claude Code +9 - 0.480score
configure-telegram
realsigridjin
Configure Telegram bot notifications via natural language
SkillDFreshness: D★ 20Claude Code +9
Cite this page
tdd skill. Agent Mart. https://agentmart.dev/skills/realsigridjin-tdd (last updated 2026-10-24)