agentleFS
Sapere-IASapere-IA/sdd-onboarding-kit/skills/optional/ui-qa/SKILL.md

ui-qa

Skill19 starsChanged 37 days agoMITView on GitHub

Verify UI changes against spec acceptance criteria. Use when a task changes user-visible interface behavior, layout, or flows.

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

9 rules. About 0 are common, 8 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Check that UI changes match their spec's acceptance criteria — routes, visual states, interaction flows, responsive behavior, and …

    line 10
  2. Distinctive:

    When no UI can be run or observed in the environment — record that QA was not performed instead of claiming it was.

    line 33
  3. Distinctive:

    Test account credentials names if auth is required — provided by the developer at run time, never stored.

    line 46
  4. Very specific:

    If the project has the browser-tester agent installed (browser-tester in the harness's agents directory), invoke it with the spec's UI …

    line 51
  5. Distinctive:

    Start the UI with the project's dev command (or use the running instance the developer points to).

    line 56
  6. Distinctive:

    Check the spec's responsive and accessibility criteria where present.

    line 61
  7. Distinctive:

    Run the project's existing UI test suite if one exists.

    line 62
  8. Distinctive:

    Never store credentials in specs, skills, or evidence.

    line 75
  9. Distinctive:

    No destructive actions against shared or production environments.

    line 78

≈ “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.

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

UI QA

Purpose

Check that UI changes match their spec's acceptance criteria — routes, visual states, interaction flows, responsive behavior, and accessibility — and record the evidence.

Two execution paths:

  • Browser-tester agent (when installed — questions.md §18 option 2): invoke the browser-tester subagent to walk the criteria in a real browser through its scoped Playwright MCP. Browser tools exist only inside that agent (see mcps/playwright-policy.md in the kit).
  • Manual path (always available): use the verification means already in the project — dev server, manual steps, existing UI test commands, developer-provided screenshots.

When to use

  • A task changes user-visible behavior, layout, styling, or flows.
  • A spec contains visual or interaction acceptance criteria.
  • A UI bug fix needs before/after confirmation.

When not to use

  • Backend-only or non-visual changes.
  • When no UI can be run or observed in the environment — record that QA was not performed instead of claiming it was.

Required inputs

  • The spec's UI acceptance criteria: target route/component, expected visual state, interaction flow; screenshots or mockups if provided.
  • The spec's Visual evidence section, when present (filled by the spec-from-screenshot skill if installed): image inventory with IDs, observed/expected behavior, affected routes. For bug fixes, compare the before screenshot with the implemented after state.
  • How to run the UI locally (dev server command from AGENTS.md / the project map).
  • Test account credentials names if auth is required — provided by the developer at run time, never stored.

Procedure

  1. If the project has the browser-tester agent installed (browser-tester in the harness's agents directory), invoke it with the spec's UI acceptance criteria — it executes steps 1–3 in a real browser and returns the per-criterion checklist. Continue manually only for criteria it could not verify.
  2. Start the UI with the project's dev command (or use the running instance the developer points to).
  3. Walk each acceptance criterion: navigate to the target route, perform the interaction, compare the observed state with the expected one (screenshots/mockups when provided).
  4. Check the spec's responsive and accessibility criteria where present.
  5. Run the project's existing UI test suite if one exists.
  6. Record per-criterion results: pass, fail (with what was observed), or not verifiable (with why).

Output artifact

A UI QA checklist in the task's review notes: criterion → result → evidence (screenshot reference or description). When the spec has visual evidence, record the comparisons in the Visual verification section of review.md (criterion/image → evidence → result).

Safety constraints

  • Never store credentials in specs, skills, or evidence; ask the developer to provide them at run time and prefer test accounts.
  • Require explicit approval before using any credentials.
  • No destructive actions against shared or production environments; verify against local/test instances.

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.