verify-outputlisted
Install: claude install-skill aiskillstore/marketplace
# Verify Output Skill
Pattern for ensuring outputs match required schemas using automated validation.
## When to Use
- Before writing final output file
- After completing a task
- When producing structured JSON output
## Quick Reference
**Validate before writing:**
```bash
./scripts/validate.sh <schema_name> <file_path>
```
## Available Schemas
| Schema | Used By | Output Path |
|--------|---------|-------------|
| `demand` | PM | `memory/reports/demand.json` |
| `design` | Architect | `memory/reports/designs/*.json` |
| `task-output` | Implementer | `memory/tasks/*/output.json` |
| `verification` | Verifier | `memory/tasks/*/verification.json` |
| `reflection` | Reflector | `memory/reflections/*.json` |
| `evolution-proposal` | Evolver | `memory/evolution/*.json` |
| `contract` | Executor | `memory/contracts/*.json` |
## Validation Process
### Step 1: Determine Your Schema
Based on your agent role:
```
PM agent → demand.schema.json
Architect agent → design.schema.json
Implementer agent → task-output.schema.json
Verifier agent → verification.schema.json
Reflector agent → reflection.schema.json
Evolver agent → evolution-proposal.schema.json
```
### Step 2: Write Output to Temp Location
```bash
Write(memory/tasks/{id}/output.json.tmp, content)
```
### Step 3: Validate
```bash
./scripts/validate.sh task-output memory/tasks/{id}/output.json.tmp
```
### Step 4: If Valid, Move to Final Location
```bash
mv memory/tasks/{id}/output.json.tmp memory/