visual-auditor
Skill0 starsChanged 3 months agoMITView on GitHub
Captures screenshots, reviews UI against product.md and design.md, runs WCAG contrast checks, fixes visual issues in code immediately, and documents every fix. Use after craft/handoff or when UI looks wrong: not report-only QA.
In this repository51 other files it gives its agents.
- .cursor/rules/skill-authoring.mdcCursor rule
- backend-type-bridgerSkill
- composable-patternsSkill
- dart-type-bridgerSkill
- design-handoff-flutterSkill
- design-system-generalizerSkill
- engineering-excellenceSkill
- flutter-engineeringSkill
- flutter-patternsSkill
- heyeddi-designSkill
- heyeddi-handoffSkill
- heyeddi-intakeSkill
- heyeddi-orchestratorSkill
- heyeddi-productSkill
- heyeddi-pr-respondSkill
- heyeddi-pr-reviewSkill
- no-duplicate-uiSkill
- pre-merge-gateSkill
- primevue-openprops-architectSkill
- project-engineeringSkill
- ux-flow-auditorSkill
- verify-buildSkill
- backend-type-bridgerSkill
- composable-patternsSkill
- dart-type-bridgerSkill
- design-handoff-flutterSkill
- design-system-generalizerSkill
- engineering-excellenceSkill
- flutter-engineeringSkill
- flutter-patternsSkill
- heyeddi-ci-configSkill
- heyeddi-ci-failsSkill
- heyeddi-ci-guideSkill
- heyeddi-ci-runnersSkill
- heyeddi-designSkill
- heyeddi-handoffSkill
- heyeddi-intakeSkill
- heyeddi-orchestratorSkill
- heyeddi-productSkill
- heyeddi-pr-respondSkill
- heyeddi-pr-reviewSkill
- heyeddi-setupSkill
- heyeddiSkill
- no-duplicate-uiSkill
- pre-merge-gateSkill
- primevue-openprops-architectSkill
- project-engineeringSkill
- taste-penpotSkill
- ux-flow-auditorSkill
- verify-buildSkill
- visual-auditorSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 15
After @heyeddi-design craft or @heyeddi-handoff on a route
- Very specific: line 22
Read reference/visual-review.md and reference/fix-loop.md.
- Distinctive: line 79
When you have finished the user's request for this skill (not after every tool call or subagent phase), suggest what to run next:
- Very specific: line 87
Add --route /path if you worked a specific route.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Visual Auditor
See the UI. Compare to spec. Fix. Document. Re-verify.
You are a visual QA implementer: not a screenshot-only subagent. You read captures against product (persona, route intent, purpose) and design (tokens, mockup-brief, hierarchy), fix issues in Vue/CSS in the same turn, and log every change.
When to use
- After
@heyeddi-design craftor@heyeddi-handoffon a route - Green-on-green, illegible text, layout drift vs brief
- Pre-merge visual gate with fixes, not a issue list alone
@heyeddi-productdelegated legibility research: you fix, they synthesize
Mandatory pipeline
Read reference/visual-review.md and reference/fix-loop.md.
load_visual_context --route /path --write-review
capture_screenshots --route /path
audit_contrast --route /path
→ READ PNGs + product.md + design.md + mockup-brief + contrast report
→ FIX each error/actionable warn in code
→ append_fix_log (per fix)
finalize_visual_review --route /path --checkNever deliver only a bullet list of problems without fixing them (unless user explicitly asked report-only).
Review against specification
| Lens | Source |
| Product | route_intent, page purpose, persona success_feeling |
| Design | design.md tokens, mockup-brief.md regions, wireframe if no PNG |
| Legibility | audit_contrast automated + your eyes on captures |
Tools
| Tool | Role |
load_visual_context | Spec paths, captures, contrast summary; --write-review scaffolds review doc |
capture_screenshots | PNGs → .heyeddi/audits/visual/screenshots/ |
audit_contrast | WCAG + motion-over-text |
append_fix_log | Document each fix with spec reference + files |
finalize_visual_review | Re-capture, contrast --check, close review |
Subagents
Shell scripts for capture/contrast; you (main agent) read images, edit code, call append_fix_log. See reference/subagents.md.
Artifacts (.heyeddi/audits/visual/)
| Path | Purpose |
screenshots/ | Responsive captures |
reviews/<feature>-review-<date>.md | Review vs product + design |
fix-log.md / fix-log.jsonl | Every fix documented |
<feature>-contrast-<date>.md | Automated contrast |
Env
DEV_SERVER_URL: Vue (defaulthttp://localhost:5173)FLUTTER_WEB_URL: Flutter web
Chain
@primevue-openprops-architect: run after token/CSS fixes@heyeddi-design polish: if IA problems remain after visual pass@pre-merge-gate: afterfinalize_visual_review --checkpasses
When the task is complete: suggest next skills
When you have finished the user's request for this skill (not after every tool call or subagent phase), suggest what to run next:
Run:
python .agents/skills/heyeddi-orchestrator/scripts/suggest_next_skill.py --current-skill visual-auditor --project-root .Add
--route /pathif you worked a specific route.- Include the script's
### Next stepblock in your final reply. The user copies the Prompt line into chat (e.g.@heyeddi-design craft /settings).
Pass --mode shape (or craft, audit, etc.) when you know which sub-command just finished.
See @heyeddi-orchestrator → reference/next-skill-handoff.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

