| name | post-implementation-checklist |
| description | Comprehensive checklist for documenting follow-up work and testing needs after implementation |
| languages | ["all"] |
| subagents | ["code/feature","code/refactor","architect/data-model"] |
| tools_needed | [] |
Post-Implementation Checklist
After completing any code implementation, use this checklist to ensure all follow-up work is documented and nothing is forgotten.
1. Technical Debt Assessment
Code Quality Debt
Design Debt
Documentation Debt
Performance Debt
2. Missing Features & Edge Cases
Feature Completeness
User Experience Gaps
Security Gaps
3. Testing Requirements
Unit Tests Needed
Target Coverage:
- Line coverage: 80%+
- Branch coverage: 70%+
- Function coverage: 90%+
Integration Tests Needed
Mutation Tests Needed
Property-Based Tests (if applicable)
Performance Tests (if needed)
4. Related Changes Needed Elsewhere
Database Schema
Configuration
Dependencies
Infrastructure
5. Cross-Cutting Concerns
Observability
Error Handling
Data Consistency
6. Communication & Documentation
Team Communication
External Documentation
7. Pre-Merge Verification
Code Review Readiness
CI/CD Status
Manual Testing
8. Post-Merge Follow-Up
Monitoring
Follow-Up Tickets
Output Format
After implementation, produce a summary like this:
## Post-Implementation Summary
### Follow-Up Work Created
**Technical Debt:**
- PROJ-456: Refactor user validation logic (duplicated 3x)
- PROJ-457: Extract email sending to background job
- PROJ-458: Add proper error handling to payment flow
**Missing Features:**
- PROJ-459: Add pagination to user list endpoint
- PROJ-460: Implement email verification flow
- PROJ-461: Add rate limiting to authentication
**Documentation:**
- PROJ-462: Update API documentation for new endpoints
- PROJ-463: Add architecture decision record for payment provider choice
### Tests Needed
**Unit Tests:**
- [ ] test_user_validation_with_invalid_email
- [ ] test_user_validation_with_special_characters
- [ ] test_payment_processing_retries_on_failure
**Integration Tests:**
- [ ] test_user_registration_end_to_end
- [ ] test_payment_flow_with_webhook
- [ ] test_email_verification_complete_flow
**Coverage Status:**
- Current: 78% (below 80% target)
- Missing: Error handling paths in payment module
### Related Changes
**Database:**
- Migration #047 created for users.email_verified column
- Index needed on users.email for lookup performance
**Configuration:**
- Added PAYMENT_PROVIDER_API_KEY to .env.example
- Updated staging/prod configs with new keys
**Dependencies:**
- Added `stripe==5.2.0` for payment processing
- Added `celery==5.3.0` for background jobs
Common Mistakes to Avoid
Mistake 1: "I'll remember to fix this later"
Problem: You won't. Create a ticket immediately.
Fix: Document all tech debt as tickets before merging.
Mistake 2: Skipping test documentation
Problem: Tests don't get written, coverage drops over time.
Fix: Explicitly list every test case that should exist.
Mistake 3: Vague follow-up items
Bad: "Improve error handling"
Good: "Add retry logic with exponential backoff to email service (PROJ-789)"
Fix: Make follow-up items specific and actionable.
Mistake 4: Ignoring cross-cutting concerns
Problem: New feature works but breaks monitoring, logs nothing, has no alerts.
Fix: Check observability, error handling, security for every change.
Mistake 5: Forgetting about operations
Problem: Feature deploys, breaks in prod, ops team has no runbook.
Fix: Update deployment docs and runbooks before merging.
When to Use This Checklist
ALWAYS use after:
- Implementing new features
- Making significant changes to existing features
- Refactoring code
- Updating data models or schemas
- Adding new dependencies
Timing:
- Review checklist BEFORE creating pull request
- Include summary in PR description
- Reference created tickets in PR comments