agentleFS
RealTaskRealTask/MAX-DESIGN/skills/ui-testing/SKILL.md

ui-testing

Skill4 starsChanged 23 days agoMITView on GitHub

Build practical UI verification plans for interactions, responsive layouts, accessibility, visual regression, and real-world edge cases.

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 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.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use when delivering a new interface, changing shared components or tokens, fixing UI bugs, reviewing a pull request, or deciding whether a …

    line 10
  2. Distinctive:

    Read project scripts and existing test conventions.

    line 20
  3. Distinctive:

    Test the primary user journey and the most valuable alternate paths.

    line 24
  4. Distinctive:

    Only checks actually run are reported as passed.

    line 60

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

When to use

Use when delivering a new interface, changing shared components or tokens, fixing UI bugs, reviewing a pull request, or deciding whether a screen is ready to ship.

Workflow

1. Define risk and acceptance criteria

Translate the user goal into observable outcomes. Prioritize the primary path, destructive or irreversible actions, authentication and permissions, data loss, accessibility barriers, high-traffic components, and common failure modes. Avoid trying to test every pixel equally.

2. Inspect available tools first

Read project scripts and existing test conventions. Prefer the project's current tools for unit, component, browser, accessibility, and screenshot tests. Do not add a dependency before confirming the need and the project's package policy.

3. Cover behavior, not only rendering

Test the primary user journey and the most valuable alternate paths. Check navigation, form validation, success and error feedback, disabled controls, menus and dialogs, keyboard input, loading interruption, empty data, and retry behavior. Use deterministic fixtures for tests; do not rely on unstable production data.

4. Cover responsive and content extremes

Use named target viewports based on actual support rather than arbitrary devices alone. Test narrow, medium, and wide layouts; text zoom where possible; long translations; long names; large numbers; missing images; empty lists; and dense tables. Look for overflow, overlap, hidden actions, clipped focus rings, and unexpected shifts.

5. Combine automated and manual methods

Use unit and integration tests for logic and state transitions, end-to-end tests for critical journeys, automated accessibility checks for detectable violations, and visual regression for meaningful visual changes. Manually inspect keyboard flow, reading order, focus behavior, copy clarity, and the rendered page when tools allow. Automated tests are evidence, not proof of usability or full accessibility conformance.

6. Keep visual tests stable

Control fonts, viewport, color scheme, data, animations, and timing where possible. Mask or stabilize genuinely dynamic content without hiding product defects. Review screenshot differences rather than blindly updating baselines. Prefer assertions about user-visible behavior to brittle selectors tied to incidental markup.

7. Report results with scope

Record command or tool, pass/fail result, relevant environment, and what was not tested. Separate source inspection from browser execution, automated accessibility scans from manual assistive-technology testing, and screenshot review from actual interaction testing.

Verification matrix

LayerUseful evidence
Static/buildlint, type check, build, token validation
Componentstates, validation logic, keyboard and event behavior
End-to-endcritical user journeys and error recovery
Accessibilityautomated scan plus manual keyboard and semantic review
Visualviewport screenshots, realistic content, reviewed diffs
Performancemeasured metrics or profiling when available

Quality gates

  • The highest-risk user journeys have explicit acceptance checks.
  • Critical success and failure paths are covered.
  • Responsive layout and realistic content extremes are checked.
  • Visual diffs are reviewed; baselines are not updated blindly.
  • Accessibility methods and remaining gaps are stated honestly.
  • Only checks actually run are reported as passed.

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.