Validates that implementation follows the plan. Used after each task to ensure plan adherence and at the end for final verification. Tracks deviations and ensures completeness.
This skill inherits all available tools. When active, it can use any tool Claude has access to.
Validate that implementation follows the plan. This skill is used in two modes: per-task validation after each implementation task, and final verification when all tasks are complete.
Purpose: Ensure the plan is being followed and the implementation is complete.
Input:
.workflow/NNN-feature-slug/plan.mdOutput:
Announce at start: "I'm using the plan-validator skill to verify plan adherence."
After each task:
Task Completion
Scope Adherence
Dependency Respect
Quality Gates Met
1. Read the current task from plan.md
2. Compare completed work to task requirements
3. Check for scope creep or missing items
4. Verify quality gates are met
5. Log any deviations
6. Update task status in tracking
## Plan Validation: Task [N] - ALIGNED
**Task:** [Task name from plan]
**Status:** Complete and aligned with plan
### Deliverables Verified
- [x] `path/to/file.ts` - [created/modified as planned]
- [x] `path/to/test.ts` - [tests written as planned]
### Quality Gates
- [x] Tests pass
- [x] Code review approved
- [x] Test review approved
### Notes
[Any observations, or "None"]
**Verdict:** Proceed to Task [N+1]
## Plan Validation: Task [N] - DEVIATION_DETECTED
**Task:** [Task name from plan]
**Status:** Deviations found
### Deviations
#### Deviation 1: [Type] - [Brief description]
**Expected (from plan):**
[What the plan specified]
**Actual:**
[What was implemented]
**Impact:** [Low/Medium/High]
**Resolution required:**
- [ ] [Specific action to resolve]
#### Deviation 2: [Type]
[Same structure]
### Verdict Options
**A) Fix deviations before proceeding**
Return to Coder to address deviations
**B) Accept deviations and update plan**
Document why deviation is acceptable, update plan.md
**C) Escalate to user**
Deviation requires user decision
After all tasks complete:
Completeness
Integration
Design Alignment
Deviation Summary
Quality Summary
1. Read complete plan.md
2. Verify each task is marked complete
3. Cross-reference deliverables with filesystem
4. Review deviation log for unresolved items
5. Compare final state to design.md
6. Generate completion report
## Final Plan Verification: COMPLETE
**Feature:** [Feature name]
**Plan:** `.workflow/NNN-feature-slug/plan.md`
### Task Summary
| Task | Status | Notes |
|------|--------|-------|
| Task 1: [Name] | Complete | - |
| Task 2: [Name] | Complete | - |
| Task 3: [Name] | Complete | Minor deviation accepted |
| Task 4: [Name] | Complete | - |
**Total:** [N] tasks complete
### Deliverables
All planned deliverables present:
- [x] `path/to/component.ts`
- [x] `path/to/service.ts`
- [x] `path/to/tests/`
- [x] [Additional deliverables]
### Design Alignment
Implementation aligns with design.md:
- [x] Architecture matches
- [x] Interfaces implemented correctly
- [x] Data models match contracts.md
### Deviations Accepted
| Deviation | Reason | Approved |
|-----------|--------|----------|
| [Deviation 1] | [Reason] | Yes |
### Quality Summary
- Tests: All passing
- Code reviews: All approved
- Open issues: None
**Verdict:** Implementation complete and verified.
## Final Plan Verification: INCOMPLETE
**Feature:** [Feature name]
**Plan:** `.workflow/NNN-feature-slug/plan.md`
### Incomplete Items
#### Missing Tasks
| Task | Status | Issue |
|------|--------|-------|
| Task 3: [Name] | Incomplete | [What's missing] |
#### Unresolved Deviations
| Deviation | Impact | Required Action |
|-----------|--------|-----------------|
| [Deviation] | [Impact] | [Action needed] |
#### Outstanding Issues
From `.workflow/NNN-feature-slug/issues.md`:
- [ ] [Issue 1]
- [ ] [Issue 2]
### Verdict Options
**A) Complete remaining work**
[List specific tasks to complete]
**B) Defer incomplete items to backlog**
Move to `.workflow/backlog.md`
**C) Accept as partial completion**
Document what's missing, close feature
| Type | Description | Example |
|---|---|---|
| SCOPE_CREEP | Added work not in plan | Extra feature, premature optimization |
| SCOPE_REDUCTION | Planned work not done | Skipped requirement, deferred functionality |
| APPROACH_CHANGE | Different implementation than planned | Different library, different pattern |
| ORDER_CHANGE | Tasks done in different order | Dependency violation, parallel execution |
| QUALITY_SKIP | Quality gate bypassed | Skipped tests, incomplete review |
Maintain a deviation log in issues.md:
## Deviations Log
### Task 3: Deviation - SCOPE_CREEP
**Date:** YYYY-MM-DD
**Description:** Added caching layer not in original plan
**Reason:** Performance requirement discovered during implementation
**Impact:** Medium - added 2 hours of work
**Resolution:** Accepted - updated plan to include caching
**Approved by:** User confirmation on YYYY-MM-DD
These require immediate attention:
Don't:
Do: