with one click
tdd-workflow
Test-driven development enforcement with RED-GREEN-IMPROVE cycle
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Menu
Test-driven development enforcement with RED-GREEN-IMPROVE cycle
Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.
Based on SOC occupation classification
Pre-meeting context gathering across all connected systems. Pulls recent interactions, open items, and suggested talking points for any person or topic. Triggers on: "meeting prep", "prep for my meeting", "meeting with X", "prep for 1:1".
Pulls a Granola meeting transcript and updates people files with per-person intelligence: what they said, what they pushed back on, what they committed to. Compounds over time — each meeting adds a layer. Triggers on: "sync people", "update people from meeting", "update stakeholders", "/people-sync".
Competitive analysis and market research with source attribution. Parallel fan-out across web, review sites, and news. Triggers on: "market research", "competitive analysis", "competitor comparison".
Voice profile configuration and application for consistent writing. Configure once with 2-3 samples, apply everywhere. Triggers on: "writing style", "voice profile", "apply my voice", writing long-form content.
Platform-optimized Substack Notes creation. 500-char limit, hook-driven, engagement-focused. Triggers on: "write a Substack Note", "Substack content", "Note ideas".
Pressure-test any document for logic gaps, unsupported assumptions, missing perspectives, and completeness. Works on PRDs, briefs, strategy docs, proposals, and any PM artifact. Triggers on: "critique this", "pressure test", "poke holes", "review this doc", "what am I missing", "devil's advocate".
| name | tdd-workflow |
| description | Test-driven development enforcement with RED-GREEN-IMPROVE cycle |
| origin | pm-pilot |
| version | 1.0.0 |
| triggers | ["writing new features","fixing bugs","refactoring code","tdd"] |
Detailed test-driven development procedure with framework-specific commands.
Relationship to tdd-guide agent: The /tdd command dispatches the tdd-guide agent, which enforces the loop. This skill provides the detailed procedure and framework-specific commands that the agent references.
# Framework detection
jest --testPathPattern={test_file} 2>/dev/null || \
pytest {test_file} 2>/dev/null || \
go test -run {test_name} ./... 2>/dev/null || \
mvn test -Dtest={test_class} 2>/dev/null
jest --coverage 2>/dev/null || \
pytest --cov={module} 2>/dev/null || \
go test -coverprofile=cover.out ./... 2>/dev/null
TDD Cycle: {feature name}
RED: Test written - {test file}:{test name} - FAILS as expected
GREEN: Implementation - {impl file} - Test PASSES
IMPROVE: Refactored {what changed}
Coverage: {percent}% ({above/below} 80% target)