| name | output-enforcement |
| description | Run a final quality gate on UI output before delivering it to the user. Checks code quality, visual correctness, accessibility baseline, and that no placeholder content remains. Use when about to deliver any frontend implementation — before saying "done", "here is the component", or marking a UI task complete. Do NOT use as a standalone task — this is a pre-delivery gate, not a redesign skill.
|
| origin | adapted:taste-skill |
| license | MIT © 2026 Leonxlnx |
| version | 1.0.0 |
| compatibility | Any frontend stack. Language-agnostic checks with stack-specific notes. |
When to Use
- Use when: about to deliver a UI component, page, or design update
- Use when: user asks for a "final review" or "check this before I use it"
- Use when: any task involving frontend code is about to be marked complete
- Do NOT use when: the work is not frontend (no visual output)
- Do NOT use when: the task is still in early draft — run this gate only before delivery
How It Works
- Run the Code Quality checks — scan for the items in the checklist below
- Run the Visual Correctness checks
- Run the Accessibility Baseline checks
- Run the Placeholder Sweep
- Report results — list PASS / FAIL / SKIP (with reason) per item
- Fix all FAILs before delivering
- Deliver only after all items are PASS or SKIP (with justification)
Enforcement Checklist
Code Quality
Visual Correctness
Accessibility Baseline
Placeholder Sweep
Output Format
## Output Enforcement Report
### Code Quality
- [ ] No inline styles — PASS
- [ ] No hardcoded colors — FAIL: Button.tsx line 12: color: "#3b82f6"
...
### Visual Correctness
...
### Accessibility Baseline
...
### Placeholder Sweep
...
Summary: X PASS / Y FAIL / Z SKIP
Action required before delivery: [list of FAILs to fix]
Gotchas
- SKIP is only valid with a written reason — never skip silently
- Contrast check: if you cannot run a tool, estimate from color names and flag as ESTIMATED
- Layout overflow: if you cannot render the UI, flag viewport checks as ESTIMATED and note the risk
- TypeScript typing: if the project is plain JS, skip typing checks and note it
Anti-Fake-Pass Rules
Before claiming output enforcement is complete, you MUST show:
Reference: gates/anti-fake-pass-gate.md