agentleFS
textura-agencytextura-agency/next16-claude-starter/.claude/skills/qa-verify/SKILL.md

qa-verify

Skill130 starsChanged 4 months agoUnlicenseView on GitHub

Verify built UI against this project's hard rules and against the design — runs the mechanical check script, then the judgement checks a script cannot make (visual fidelity vs Figma, token naming, motion choice, semantics, responsive behaviour), and fixes what it finds in a loop until clean. Use after building or changing any page, view, section or component, before committing, and whenever the user says "QA this", "check my work", or "is this ready to ship".

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 4 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every FAIL must be fixed. WARNs are judgement calls: fix or justify in your summary, do not silently ignore them.

    line 21
  2. Distinctive:

    If an image looks invisible or wrong, check the container first — an invented wrapper background is the usual cause, not the asset itself.

    line 40
  3. Very specific:

    Every colour/spacing/radius/type value resolves to a token.

    line 44
  4. Very specific:

    No literal reached @theme inline or a Tier 2 token.

    line 46
  5. Distinctive:

    No horizontal overflow at any width down to 320px.

    line 70
  6. Distinctive:

    Run layer 1, fix every FAIL.

    line 84

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

QA & verification

Two layers. The script decides what is decidable; you decide the rest. Never report "done" on the script alone — it cannot see a design.

Layer 1 — mechanical (always run first)

.claude/scripts/verify.sh          # whole src/
.claude/scripts/verify.sh src/views/about.tsx   # scoped
yarn lint
yarn build                          # must pass before anything ships

Every FAIL must be fixed. WARNs are judgement calls: fix or justify in your summary, do not silently ignore them.

Layer 2 — judgement checks

Work section by section. For each one:

Design fidelity (only when a design exists)

Re-fetch the Figma node — do not QA from memory or from your own earlier summary. get_design_context for values, get_screenshot for layout. Then compare:

  • Copy — character for character. Flag anything paraphrased, shortened or invented.
  • Layout — column count, flex direction, alignment, order, positioning.
  • Spacing — margins, padding, gaps against the design values.
  • Typography — size, weight, line-height, letter-spacing. Never assume a heading is bold; designs often use 400.
  • Colour — exact values, resolved through tokens rather than matched by eye.
  • Images — aspect ratio, crop, radius, overlap. No effects the design lacks.

If an image looks invisible or wrong, check the container first — an invented wrapper background is the usual cause, not the asset itself.

Tokens

  • Every colour/spacing/radius/type value resolves to a token.
  • New tokens follow the three-tier grammar and carry a comment naming their origin.
  • No literal reached @theme inline or a Tier 2 token.
  • A value that had to be invented because the design has no token for it is flagged to the user for design review, not quietly added.

Motion

  • Everything scroll-driven, revealing, staggered or layout-affecting is a spring.
  • CSS transition-* appears only for hover/focus/discrete state, with duration-[var(--duration-*)] and a token ease.
  • Each primitive is the right one — Inview for reveals, SpringTrigger scrub for parallax, Hover for hover, text through the text engine.
  • tag is semantic on every animation component.
  • With prefers-reduced-motion, content is present and readable.

Semantics & a11y

  • One <h1>; heading levels never skip; the outline reads as a document.
  • Landmarks named; icon-only controls labelled; real button / a.
  • Keyboard reachable, visible focus, logical tab order.
  • Meaningful alt; decorative images alt="".
  • Contrast meets WCAG AA (4.5:1 body, 3:1 large text).

Responsive

This project scales the root font-size with the viewport (the adaptive grid in globals.css), so most sizing follows automatically. What still needs checking:

  • No horizontal overflow at any width down to 320px.
  • Grid/flex reflow at each breakpoint; nothing cramped or orphaned.
  • Touch targets ≥ 44px on mobile.
  • Navigation collapses at the intended breakpoint.
  • Text stays readable; nothing clipped by an overflow + tight leading combo.

Architecture

  • Route delegates to a view; view is a Server Component; "use client" at leaves.
  • Content arrives via props/hooks — nothing hardcoded in a component.
  • Async data has loading/error/empty states with skeletons.
  • Components under ~150 lines, in the right folder, named export, typed props.

The loop

  1. Run layer 1, fix every FAIL.
  2. Walk layer 2 section by section, fixing as you go.
  3. Re-run layer 1 (fixes can introduce violations).
  4. Repeat until clean.

Report

State plainly: what failed and was fixed, what is a WARN you consciously kept and why, any design values that could not map to tokens, and anything you could not verify (no design available, no device to test on). Do not report a clean pass you did not achieve.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.