| name | output-quality-verification |
| description | Systematic quality verification checklist applied before delivering any output to the user. Ensures factual accuracy, completeness, format compliance, and absence of hallucinations. Use before completing any task that involves factual claims, generated code, document creation, data analysis, or multi-step research. Also use when the model is uncertain about output quality.
|
Output Quality Verification
Overview
Before presenting any result to the user, perform a systematic quality check. This prevents the #1 failure mode of AI agents: producing outputs that look correct but contain factual errors, omissions, or formatting issues.
Verification Checklist
Accuracy Check
Completeness Check
Format Check
Hallucination Prevention
Language & Tone
Domain-Specific Checks
For Code Outputs
For Document/Report Outputs
For Data Analysis Outputs
Self-Correction Protocol
If ANY check fails:
Found issue: [describe what's wrong]
Action:
├─ Minor (typo/formatting) → Fix immediately, re-check
├─ Moderate (missing info/incomplete) → Gather missing data, complete, re-check
└─ Major (factual error/fabrication) → Delete affected section, re-research, regenerate
Completion Signals
GOOD completion → all checks pass:
- Present results to user with a brief summary of what was accomplished
- If tools were used, briefly mention what was done (1 sentence)
PARTIAL completion → some checks fail:
- Present what IS complete and accurate
- Clearly state what's incomplete/missing
- Offer to continue if user wants to proceed
FAILED → major issues found:
- Explain what went wrong
- State what you tried
- Ask user if they want to try a different approach
When NOT to Apply Full Verification
- Simple conversational replies ("你好", "谢谢") — basic politeness check is enough
- User explicitly requests raw/unverified output ("先给我看看原始结果")
- Intermediate steps in a multi-step workflow (verify only the final output)
- Time-critical responses where the user values speed over thoroughness (acknowledge the trade-off)