artifact_testing
Installation
SKILL.md
Artifact verification
One home for verification across the artifact namespace. The rule every kind shares: a deliverable is verified by looking at what the user will see, freshly rendered, not by trusting the code that produced it. Never return a link while a gate below fails; after three failed fix attempts, report the specific failure and ask for direction instead of iterating.
File kinds: gates, then eyes
| Kind | Gate |
|---|---|
render_audit.mjs with the flags the pdf skill's workflow.md names, then /opt/hatch/skills/artifacts/scripts/validate_pdf.sh |
|
| presentation | assemble_deck.mjs, then render_audit.mjs with the flags workflow.md names |
| docx | render to PDF with headless LibreOffice (soffice --headless --convert-to pdf), then rasterize (pdftoppm -jpeg -r 100) |
| xlsx | /opt/hatch/skills/artifacts/scripts/validate_xlsx.py |
| csv / md | parse it back (csv: a Python csv read; md: read the file) |