| name | visual-evidence |
| description | Use for UI changes in an agent-md repository; captures a screenshot and writes the structured markdown evidence required by the visual hook. |
Visual Evidence
Use this skill for any UI-facing change.
- Build or start the app in the normal project-specific way.
- Capture the changed route with:
./.agent-md/bin/playwright-capture.sh <url> .agent/visual/<name>.png
- Write a markdown note next to the image under
.agent/visual/.
- The note must reference the image filename and include these fields:
# Visual Check
Changed files:
- <path>
Route: <url or route>
Viewport: <width>x<height>
Artifact: <image filename>
Observed result: <what was verified>
- Use an independent verifier when possible: another agent, a browser screenshot inspection, or the human.
- Do not self-grade visual correctness from code alone.