Quality Validation
Compare deliverable against intake. The user asked for X — did you deliver X?
This skill applies after task execution, before reporting completion. Partial completion is not completion.
Validation by Task Type
Code Changes
If tests exist and you can run them:
- Run the test suite (or relevant subset)
- Verify no regressions introduced
- Confirm new behavior is covered by tests
If no tests or cannot run:
- Re-read the changed code
- Trace the logic path for the requested change
- Identify edge cases — are they handled?
- Check error conditions — what happens when things fail?
Always check:
- Does the change do what was asked? (not more, not less)
- Are there obvious bugs visible in the diff?
- Does it follow existing patterns in the codebase?
Documentation / Design Tasks
- Re-read the original request — what did the user actually ask for?
- Compare against deliverable:
- Are all requested sections present?
- Does the structure match what was asked?
- Is the level of detail appropriate?
- Check logical consistency:
- Do the parts fit together?
- Are there contradictions?
- Do conclusions follow from premises?
- Check completeness:
- Are there gaps or "TODO" placeholders?
- Would someone else understand this without follow-up questions?
Research / Analysis Tasks
- Question coverage — did you answer what was asked?
- Evidence basis — are claims supported by what you found?
- Gaps acknowledged — did you note what you couldn't find or verify?
- Actionable output — can the user do something with this information?
Refactoring / Cleanup Tasks
- Behavior preservation — does it still do what it did before?
- Scope adherence — did you change only what was requested?
- No regressions — run tests if available
- Improvement achieved — is the stated goal (readability, performance, etc.) actually better?
Common Validation Failures
Solved a different problem: User asked for X, you delivered Y because Y seemed better. Fix: deliver X first, then suggest Y as improvement.
Incomplete execution: Started the task but didn't finish all parts. Fix: re-read request, check each requirement.
Untested assumptions: "This should work" without verification. Fix: actually test, run, or trace through the change.
Scope creep unacknowledged: Did extra work without noting it. Fix: clearly state what was requested vs. what was added.
When Validation Reveals Problems
- Don't report as complete — partial completion is not completion
- Fix if possible — address the gap before reporting
- Report honestly if blocked — explain what's done, what isn't, and why
Pre-Completion Checklist
Before reporting task complete:
- Re-read the original request
- Identify what "done" means for this specific task
- Compare deliverable against that definition
- For code: run tests or manually trace logic
- For docs: check logical consistency and completeness
- Note any deviations or partial completions honestly
Converted and distributed by TomeVault — claim your Tome and manage your conversions.