Implementing Issue
Overview
Implements a single MCP issue with TDD and automated code review. Designed for two use cases:
- Standalone -- user invokes directly for a specific issue
- Dispatched -- called as the unit of work from implementing-specs
Entry point: /wrangler:implementing-issue ISS-XXXXXX
When to Use
- Implementing a specific issue (ISS-XXXXXX)
- Invoked directly for standalone work
- Dispatched as a subagent from implementing-specs
When NOT to Use
- Implementing a full specification (use implementing-specs)
- Exploring code (use locating-code)
- Answering questions (just answer directly)
Input
- Issue ID (required): e.g.,
ISS-000042 - Working directory context (optional): defaults to current directory
Core Workflow
1. Setup
- Read issue via
issues_getMCP tool - Capture working directory and branch (see
references/working-directory-protocol.md) - Understand requirements and acceptance criteria from the issue description
2. Implementation (TDD)
Follow the practicing-tdd skill strictly:
- RED -- Write a failing test that captures the requirement
- GREEN -- Implement the minimum code to make the test pass
- REFACTOR -- Clean up implementation and tests
- Commit work with a descriptive message
Repeat for each distinct requirement in the issue.
3. Code Review
- Request code review using
requesting-code-reviewskill - Parse feedback into severity categories:
- Critical -- Must fix. Auto-fix with up to 2 attempts, escalate if both fail.
- Important -- Must fix. Same 2-attempt process as Critical.
- Minor -- Document only, do not fix.
- Verify all Critical/Important issues resolved before proceeding
See references/code-review-automation.md for the detailed process.
4. Completion
- Verify all tests pass
- Provide TDD Compliance Certification (from practicing-tdd)
- Verify git status (working tree clean, changes committed)
- Report results:
- Implementation summary (what was done)
- Test results (pass count, coverage if available)
- TDD Compliance Certification table
- Commit hash
- Any Minor issues noted for future cleanup
See references/verification-checklist.md for the full checklist.
Blocker Detection
Only stop for genuine blockers. See references/blocker-detection.md for the full decision flowchart.
Immediate escalation:
- Unclear requirements (do not guess)
- Git conflicts (do not auto-resolve)
Escalation after 2 attempts:
- Persistent test failures
- Fix subagent cannot resolve the issue
- Missing dependencies that cannot be auto-installed
Non-blockers (continue autonomously):
- First test failure -- auto-fix
- Code review feedback -- auto-fix (2 attempts)
- Warnings -- document and continue
Anti-Patterns
- Stopping to ask "should I continue?" when not blocked
- Guessing about unclear requirements instead of escalating
- Proceeding with failing tests
- Skipping code review
- Fixing Minor issues instead of documenting them
Integration with Other Skills
practicing-tdd-- TDD workflow (RED-GREEN-REFACTOR)verifying-before-completion-- Final verification checksrequesting-code-review-- Code review dispatch and feedback parsing
References
Detailed documentation in references/ subdirectory:
working-directory-protocol.md-- Location verification and command patternssubagent-prompts.md-- Subagent prompt templates (reviewer, fix agent)code-review-automation.md-- Review handling and fix loop processverification-checklist.md-- Completion verification stepsblocker-detection.md-- Decision flowchart and escalation criteriaexamples.md-- Workflow examples
For workflow checklists, see assets/workflow-checklist.md.