Writes failing tests first, establishing a strict implementation contract for test-driven development.
Works with
Completes the RED phase of TDD by authoring behavior-focused tests that fail for the right reason, then hands off to implementation agents with objective pass criteria
Delegates test authoring to a tdd_test_writer subagent when available, ensuring tests remain unmodified during implementation
Detects existing test frameworks and conventions (pytest, jest, vitest, go test, cargo test
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versiontdd-test-writerExecute the skills CLI command in your project's root directory to begin installation:
Fetches tdd-test-writer from am-will/codex-skills and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate tdd-test-writer. Access via /tdd-test-writer in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
854
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
854
stars
Use this skill to complete the RED phase of TDD: define behavior with tests first, verify they fail for the right reason, then hand off implementation with objective pass criteria.
Use this skill when the user asks for:
tdd_test_writer for RED-phase test authoring whenever available.ASSUMPTION: lines in output.tdd_test_writertdd_test_writer subagent with task scope, target files, and acceptance criteria.tdd_test_writer is unavailable, continue directly and note FALLBACK: tdd_test_writer unavailable.vitest, jest, pytest, go test, cargo test).Return a block that implementation agents must follow. The handoff must include:
tdd_test_writer) or explicit fallback reasonTDD RED PHASE COMPLETE
## Authoring Mode
- Subagent: tdd_test_writer
- Fallback: [only if subagent unavailable]
## Test Files
- [path]
## Verification
- Command: [exact command]
- Result: FAIL (expected)
- Failure reason: [1-2 lines tied to missing behavior]
## Implementation Contract (for next agent)
1. Do not modify these tests: [paths]
2. Implement production changes only in: [paths or modules]
3. Completion gate: [exact command] passes with no test weakening.
4. Run broader safety check: [secondary command]
5. Return evidence: changed files + command output summary.
## Assumptions
- ASSUMPTION: [only if needed]
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
am-will/codex-skills
am-will/codex-skills
cexll/myclaude
github/awesome-copilot
yangsonhung/awesome-agent-skills
ailabs-393/ai-labs-claude-skills
Solid pick for teams standardizing on skills: tdd-test-writer is focused, and the summary matches what you get after install.
Registry listing for tdd-test-writer matched our evaluation — installs cleanly and behaves as described in the markdown.
Useful defaults in tdd-test-writer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
Registry listing for tdd-test-writer matched our evaluation — installs cleanly and behaves as described in the markdown.
We added tdd-test-writer from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
Useful defaults in tdd-test-writer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
tdd-test-writer fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
I recommend tdd-test-writer for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
tdd-test-writer reduced setup friction for our internal harness; good balance of opinion and flexibility.
Useful defaults in tdd-test-writer — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
showing 1-10 of 50