validate-output
Skill3 starsChanged 6 months agoMITView on GitHub
1 other project uses a version of this.
Adopted by
Most recently taken up by
- indranilbanerjee/digital-marketing-protheir own version, first seen Feb 12, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- indranilbanerjee/digital-marketing-pro★ 850same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository18 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- assumption-checkSkill
- cache-hintSkill
- caveman-summarySkill
- clarify-intentSkill
- code-mapSkill
- compress-contextSkill
- detect-contradictionSkill
- error-to-actionSkill
- explain-depthSkill
- format-responseSkill
- humanize-outputSkill
- prevent-redundancySkill
- route-or-answerSkill
- setupSkill
- simplify-scopeSkill
- tone-matchSkill
- tool-call-guardSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 57
Do not rewrite the output — diagnose and instruct only
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
skill: validate-output
purpose
Confirm that output actually answers the question asked, in the format requested, covering all required parts. Catches the two most common output failures: answering a different question, and ignoring format instructions.
when_to_use
- Output has an explicit format requirement (JSON, numbered list, under N words)
- Task had multiple required parts and you want to verify all were covered
- Output will be parsed programmatically
when_not_to_use
- Simple single-fact answers with no format requirement
- Creative tasks with no correct output
- You've already run this once on the same output — do not loop
input
output: string # The response to validate
original_task: string # What was actually asked
format_required: string # Format instructions ("JSON", "bullet list", "under 100 words")
required_parts: list # Specific items that must be present (can be empty)output
{
"valid": true | false,
"issues": [
{ "type": "wrong_answer|missing_part|wrong_format|too_long|too_short", "detail": "string" }
],
"score": "int (0-100)",
"fix_needed": true | false,
"suggested_fix": "string | null"
}instructions
Check against four criteria:
1. ANSWERS THE QUESTION: Does it address what was asked? Not a related topic.
2. COVERS REQUIRED PARTS: Are all required_parts present?
3. CORRECT FORMAT: Is format_required followed exactly?
4. RIGHT LENGTH: Is length appropriate? Flag if obviously off.
Score: 100 = all met, 75-99 = minor issues, 50-74 = fix recommended, <50 = significant problems.
valid is true only if score >= 75 AND no wrong_answer issues.
suggested_fix is a single directive, not a rewrite. null if valid.
Return JSON only.constraints
- Max output tokens: 250
- suggested_fix: one directive only, not a full rewrite
- Do not rewrite the output — diagnose and instruct only
example
Input:
output: "Tips for Python: use list comprehensions, avoid globals, write docstrings."
original_task: "List the 3 most common causes of memory leaks in Python web applications."
format_required: "numbered list"
required_parts: ["memory leaks", "web application context"]Output:
{
"valid": false,
"issues": [
{ "type": "wrong_answer", "detail": "Output gives general Python tips, not memory leak causes" },
{ "type": "missing_part", "detail": "No mention of memory leaks or web app context" },
{ "type": "wrong_format", "detail": "Requested numbered list, got comma-separated prose" }
],
"score": 10,
"fix_needed": true,
"suggested_fix": "Rewrite: list exactly 3 causes of memory leaks in Python web apps (e.g. unclosed DB connections, circular references, unbounded caches) in a numbered list."
}feedback_log
<!-- date | situation | what went wrong | better behavior -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

