skills/clouder0/verify-output/SKILL.md
Pattern for verifying your output matches required schema before completing. Use before writing final output to ensure validity.
npx skillsauth add aiskillstore/marketplace verify-outputInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Pattern for ensuring outputs match required schemas using automated validation.
Validate before writing:
./scripts/validate.sh <schema_name> <file_path>
| 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 |
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
Write(memory/tasks/{id}/output.json.tmp, content)
./scripts/validate.sh task-output memory/tasks/{id}/output.json.tmp
mv memory/tasks/{id}/output.json.tmp memory/tasks/{id}/output.json
Common validation errors and fixes:
| Error | Fix |
|-------|-----|
| 'X' is a required property | Add the missing field |
| 'Y' is not one of ['a', 'b'] | Use valid enum value |
| 'Z' is not of type 'array' | Wrap value in array: [value] |
| Additional properties not allowed | Remove extra fields |
All agent outputs MUST be compact JSON (single line, no extra whitespace):
{"task_id":"001","status":"pre_complete","knowledge_updates":[],"reflection":{"what_worked":[],"what_failed":[],"patterns_noticed":[]}}
Every output MUST include:
{"knowledge_updates":[{"category":"codebase","content":"string","confidence":"certain"}],"reflection":{"what_worked":["string"],"what_failed":["string"],"patterns_noticed":["string"]}}
Or empty arrays if no updates:
{"knowledge_updates":[],"reflection":{"what_worked":[],"what_failed":[],"patterns_noticed":[]}}
Valid values:
category: "codebase" | "convention" | "decision" | "gotcha"confidence: "certain" | "likely" | "uncertain"Recommended pattern for agents:
1. Construct output object in memory
2. Write to {output_path}.tmp
3. Run: ./scripts/validate.sh {schema} {output_path}.tmp
4. IF validation passes:
→ mv {output_path}.tmp {output_path}
→ Log: "Output validated and written"
5. ELSE:
→ Read validation errors
→ Fix output object
→ Retry from step 2
→ Max 3 retries, then report validation failure
knowledge_updates (even if empty array)reflection fields"knowledge_updates":[] is okaydevelopment
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.