openup-tdd-workflow
Guide Test-Driven Development cycle adapted for AI agents with a pragmatic approach
Best use case
openup-tdd-workflow is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Guide Test-Driven Development cycle adapted for AI agents with a pragmatic approach
Teams using openup-tdd-workflow should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/openup-tdd-workflow/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How openup-tdd-workflow Compares
| Feature / Agent | openup-tdd-workflow | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Guide Test-Driven Development cycle adapted for AI agents with a pragmatic approach
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# TDD Workflow Guide the red-green-refactor cycle with a pragmatic approach. TDD is a tool, not a mandate -- use it when it helps. ## Process ### 1. Determine Phase Based on `$ARGUMENTS[phase]`: | Phase | Description | |-------|-------------| | red | Write test first (preferably before implementation) | | green | Implement to make test pass (commit point) | | refactor | Clean up code while tests pass (optional for small changes) | | full | Run complete red-green-refactor cycle | ### 2. Run Phase-Specific Process See phase-specific documentation: - [RED Phase](./red-phase.md) - Write failing test - [GREEN Phase](./green-phase.md) - Implement feature - [REFACTOR Phase](./refactor-phase.md) - Improve code quality ### 3. Verify Before Proceeding After each phase: - RED: Write test first when practical (not mandatory for every case) - GREEN: Verify test passes before committing (commit when green) - REFACTOR: Verify tests still pass; refactor is optional for small changes ### 4. Create TDD Log Document the TDD cycle in `docs/tdd-logs/<feature>-tdd.md`: - Feature name, test cases written, implementation notes, refactoring performed, lessons learned ## Success Criteria - [ ] Tests are written (preferably before implementation) - [ ] Implementation makes tests pass - [ ] Code is reasonably clean and functional - [ ] Tests pass before commit ## Output Returns a summary of: - TDD phase completed - Test file created/updated - Implementation file created/updated - Test results - Refactoring notes ## See Also - [openup-create-test-plan](../openup-artifacts/create-test-plan/SKILL.md) - Create comprehensive test plan - [openup-complete-task](../complete-task/SKILL.md) - Complete task after TDD cycle - [openup-detail-use-case](../openup-artifacts/detail-use-case/SKILL.md) - Detail use cases before writing tests
Related Skills
openup-transition
Initialize and manage Transition phase activities - deploy to users
openup-sync-spec
Back-propagate pure refactors to stale artifacts; classify the diff, refuse behaviour-changes, propose targeted edits for approval (read-only by default)
openup-start-iteration
Begin a new OpenUP iteration with proper phase context and task selection
openup-shared-vision
Create shared technical vision for team alignment
openup-retrospective
Generate iteration retrospective with feedback and action items
openup-request-input
Create an input request document for asynchronous stakeholder communication
openup-readiness
Compute the change-folder dependency DAG and print READY/BLOCKED/collision report for PM intake
openup-quick-task
Fast iteration mode for small changes - simplified workflow with minimal overhead
openup-plan-feature
Generate iteration plan and roadmap entry for a feature idea
openup-phase-review
Check phase completion criteria and prepare for phase review
openup-orchestrate
Run a full orchestrated iteration — PM decomposes the goal, delegates to specialist roles, collects outputs, and synthesizes results
openup-next
Run ONE OpenUP delivery cycle — read the derived board, claim the top READY lane, execute it, tick its progress, and exit through a legal exit. The sequential continue-loop.