david-li0406/meta-skill-evloving/workflow-validator
Claude Code and agent skill by david-li0406/meta-skill-evloving
- community
Checking that the SKILL.md file is still in the repository.
This skill should be used when the user wants to validate a looplia workflow output, check if an artifact meets validation criteria, or debug validation failures. Use when someone says "validate this looplia output", "check if the workflow output is valid", "verify the artifact JSON", or "debug why validation failed". Runs deterministic validation scripts against JSON artifacts. Primarily used for manual retry/debugging since automatic validation is handled by PostToolUse hooks. Part of looplia's one step → one skill-executor → multiple skills architecture.
Install
npx vskill@latest install david-li0406/meta-skill-evloving/workflow-validatorSKILL.md
Workflow Validator Skill
Validates JSON artifacts against validation criteria using deterministic script execution.
Automatic Validation via Hook (v0.6.0)
As of v0.6.0, the PostToolUse:Write hook automatically calls this validation script whenever an artifact is written to sandbox/*/outputs/*.json.
You typically don't need to manually invoke this skill - the hook handles it.
When to Manually Use This Skill
Use this skill only in these scenarios:
- Retrying after validation failure - when the hook blocked a write and you need to debug
- Debugging validation issues - to see detailed check results
- Checking artifacts outside the normal workflow - for ad-hoc validation
- Pre-checking before write - to validate data before writing to sandbox
What This Skill Does
- Reads validation criteria from
sandbox/{id}/validation.json - Runs deterministic validation script (no LLM tokens consumed)
- Returns pass/fail status with detailed check results
- Enables workflow completion verification
Validation Process
Step 1: Read Validation Criteria
Read the validation manifest at sandbox/{id}/validation.json:
Step 2: Run Validation Script
Execute the validation script with artifact path and criteria:
Example:
Step 3: Parse Results
The script returns JSON with pass/fail and individual checks:
Step 4: Handle Results
If validation passes:
- Update
validation.jsonto setvalidated: truefor this output - Continue to next workflow step
If validation fails:
- Review failed checks
- Either retry the subagent with feedback
- Or report the issue to the user
Validation Criteria Reference
required_fields
Array of field names that must exist in the artifact:
min_quotes
Minimum number of items in importantQuotes array:
min_key_points
Minimum number of items in bullets or key points array:
min_outline_sections
Minimum number of outline sections:
has_hooks
Requires hooks array with at least one item:
Output Format
The validation script returns:
Important Rules
- Automatic validation via hook - Hook handles validation on write; manual use only for retry/debugging
- Script is deterministic - No LLM context consumed
- Update validation.json - Mark steps validated when passed (v0.6.0 uses
.stepsnot.outputs) - Retry on failure - Give subagent feedback on what failed
- Check dependencies - Ensure required steps are validated before dependent steps
- Use exact paths - Artifact paths are relative to workspace root
Script Location
The validation script is at:
Run with Bun for TypeScript execution:
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskill-flow/data/skills-refined-skillclaw-36k/skillsmp/workflow-validator/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/david-li0406/meta-skill-evloving/workflow-validator)