/codexai-agentic-workflow:codex-visual-quality-gatefrom codexai-agentic-workflow
Performs mechanical source checks and rendered visual review after UI implementation. Validates route×viewport×state coverage, screenshots, and accessibility.
Ships in codexai-agentic-workflow. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Mechanical checks are source evidence, not aesthetic scores. A valid approval requires complete route × viewport × state capture evidence and a recorded review of every stitched page and source slice. Missing browser, screenshots, coverage, provenance, or review is DEGRADED; high-confidence defects or gaps fail.
Substantial UI delivery or $visual-gate. Skip backend-only work.
Exercise every UX-contract flow and declared route/state, including important interaction/error/empty/success paths. Where they apply and can be reproduced, include slow loading, failed network requests, long content, and repeated actions; record a scenario as not applicable or unavailable rather than inventing state requirements. Check keyboard/focus, labels, contrast, semantic structure, and reduced motion as applicable.
Run scripts/capture_responsive_matrix.mjs with the project route/state manifest. It warms lazy content and makes overlapping viewport-sized screenshots, full-page composites, exact viewport dimensions, and a 320–2560 px width scan. Horizontal overflow, browser errors, and off-viewport interactive controls cause width-specific capture; off-viewport controls are review signals, not automatic defects.
Open and inspect every stitched image and every original slice. Evaluate the screenshot at its stated route, state, and viewport; record reviewer, summary, checked capture keys, and evidence-linked findings in visualReview. Compare before and after at the same route, state, and viewport when baseline evidence exists. On each major route, verify the first visual anchor, primary information/action, current location, and next step are clear; consider first-time-user understanding and returning-user efficiency where those audiences exist. Record exercised flows, route/state checks, and functional/accessibility results in functionalReview. Review through relevant product, visual/interaction, maintainability, accessibility, and regression lenses; use a lens only when it can reveal a distinct risk.
sourceScrollY values with the UX contract's scene entry, intermediate progress, peak, and scene release; the stitched page alone cannot prove a scrubbed transition. Capture an additional viewport screenshot at the mapped scroll position when a material progress checkpoint falls between slices, and record its project-relative path, route, state, viewport, and scroll position in the review evidence. Confirm each beat adds context or meaning, transitions preserve orientation, pinned scenes release cleanly, and the reduced-motion static state communicates the same story. Check any distinct mobile/tablet scene treatment at its target viewport.Run scripts/visual_quality_gate.py --project-root <app> --capture-manifest <manifest> --format json. It checks all routes/flows/states, seven anchor profiles, breakpoint edges, PNG dimensions, continuous overlapping slice coverage, responsive sweep samples, overflow, provenance, and visual/functional/accessibility review completeness.
Optional craft scores use references/anchored-craft-rubric.md. A 1–10 score never overrides blocking clipping, overflow, contrast, or missing-capture defects. Narrative, scroll, and WebGL surfaces also run references/narrative-runtime-qa.md (chapter progress, inert chapters, capture jumps, 404 assets, context loss, the mobile URL bar, and 200% zoom). Deterministic helpers in scripts/visual_quality_gate.py — evaluate_motion_contract, evaluate_scroll_chapter_state, evaluate_pricing_contract, and evaluate_originality_check — check those contracts. They do not replace capture evidence.
Fix or justify high-confidence findings; perform at most two inspect/fix rounds. For each material manual finding, record its capture key or source location, observed symptom, user impact, severity, confirmed root cause or hypothesis, expected outcome, and actual resolution/verification. After a structural change, review the full width sweep and breakpoint edges; after shared-style, token, navigation, or state changes, recheck affected routes and shared-component consumers and record the regression matrix in the existing audit note for broad work. Unresolved blocking/P0/P1 findings fail. Missing coverage or image inspection is DEGRADED.
Viewport anchors (CSS px at device scale 1): 1280×800, 1440×900, 1920×1080; 768×1024, 1024×768; 390×844, 844×390. These are browser emulations, not physical-device certification.
references/anchored-craft-rubric.mdreferences/narrative-runtime-qa.md../codex-frontend-design/references/anti-slop.md../codex-frontend-design/references/composition.md../codex-frontend-design/references/motion.md../codex-frontend-design/references/responsive-evidence.mdagents/openai.yaml (opens in a new tab)references/anchored-craft-rubric.md (opens in a new tab)references/narrative-runtime-qa.md (opens in a new tab)scripts/capture_responsive_matrix.mjs (opens in a new tab)scripts/responsive_capture_core.mjs (opens in a new tab)scripts/stitch_full_page_capture.mjs (opens in a new tab)scripts/visual_quality_gate.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub bang-isme/codexai---skills --plugin codexai-agentic-workflow31 skills in this plugin
/codex-branch-finisherUse when implementation is complete, all tests pass, and you need to decide how to integrate the work — guides completion of development work by presenting structured options for merge, PR, or cleanup/codex-context-engineUse when a project has 50+ files, missing context, or explicit $codex-genome request; generates multi-layer project context to reduce hallucination./codex-design-mdUse for DESIGN.md visual identity contracts; author, scaffold, lint, diff, and export design contracts with the native CodexAI engine.Other plugins' skills for the same job