Qk Implement
Implement a GitHub issue following the technical plan
---
description: Implement a GitHub issue following the technical plan
argument-hint: <issue-number>
allowed-tools:
- Task
- TodoWrite
- Bash
- Read
- Write
- Edit
- Glob
- Grep
---
# Quick Implement: $ARGUMENT
## Initialize Progress Tracking
Use TodoWrite to create this checklist:
- Execute implementation tasks
- Run tests and verify
## PHASE 1: Implementation
*Mark "Execute implementation tasks" as in_progress*
### Step 1.1: Execute Implementation [ISOLATED AGENT]
AGENT: full-stack-engineer TASK: Implement the issue following the plan and completing all tasks INPUT:
- docs/tickets/$ARGUMENT/ticket.md
- docs/tickets/$ARGUMENT/plan.md
- docs/tickets/$ARGUMENT/tasks.md
PROMPT FOR AGENT: "Implement issue #$ARGUMENT by following the technical plan and completing all tasks:
STEP 1: Review Documentation
- Read docs/tickets/$ARGUMENT/ticket.md to understand the requirements
- Read docs/tickets/$ARGUMENT/plan.md to understand the technical approach
- Read docs/tickets/$ARGUMENT/tasks.md to see the task list
STEP 2: Execute Implementation Tasks Work through each task in the Implementation Tasks section of tasks.md:
- Implement the task following the technical plan
- Write unit tests for new code (co-located .test.ts files)
- After completing each task, use the Edit tool to update docs/tickets/$ARGUMENT/tasks.md
- Change '- [ ]' to '- [x]' for the completed task
- Continue until all Implementation Tasks are marked [x]
STEP 3: Execute Testing Tasks Work through each task in the Testing Tasks section of tasks.md:
- Write E2E tests if applicable (using Playwright in e2e-tests/)
- Include accessibility checks with axe-core in E2E tests
- After completing each task, update docs/tickets/$ARGUMENT/tasks.md
- Change '- [ ]' to '- [x]' for the completed task
- Continue until all Testing Tasks are marked [x]
STEP 4: Run All Tests
- Run unit tests: yarn test
- Run E2E tests: yarn test:e2e (if E2E tests were created)
- Fix any failing tests
- Ensure the app boots: yarn dev (verify it starts without errors, then stop it)
STEP 5: Final Verification
- Verify all tasks in docs/tickets/$ARGUMENT/tasks.md are marked [x]
- Ensure >80% test coverage on new code
- Verify all tests are passing
IMPORTANT NOTES:
- Follow the @CLAUDE.md guidelines (use libs/ for features, not apps/)
- Update tasks.md as you complete each task to track progress
- Write comprehensive tests for all new functionality
- Fix any issues immediately before moving to the next task"
WAIT FOR AGENT TO COMPLETE
*Mark "Execute implementation tasks" as completed*
## PHASE 2: Verification
*Mark "Run tests and verify" as in_progress*
### Step 2.1: Final Test Run
EXECUTE VERIFICATION:
- Run linting: yarn lint
- Run unit tests: yarn test
- Run E2E tests: yarn test:e2e (if they exist)
- Verify app boots: yarn dev (check for 10 seconds, then stop)
IF ANY FAILURES:
- Use full-stack-engineer agent to fix issues
- Re-run failed tests
- Repeat until all tests pass
*Mark "Run tests and verify" as completed*
## Output to User
Display the following message:
Implementation of issue #$ARGUMENT complete!
✅ All implementation tasks completed ✅ All testing tasks completed ✅ Tests passing ✅ Application verified
Task tracking: docs/tickets/$ARGUMENT/tasks.md
Next step: Run /qk-review $ARGUMENT to review the implementation
Maintain Qk Implement?
Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.
[Qk Implement on getagentictools](https://getagentictools.com/loops/hmcts-quick-implement-argument?ref=badge) npx agentictools info loops/hmcts-quick-implement-argument The second line is the CLI lookup for this page — handy in READMEs and docs.