agentleFS
QadrillionQadrillion/qadrillion-agent/.cursor/skills/qa-web/SKILL.md

qa-web

Skill3 starsChanged 2 months agoMITView on GitHub

Author, execute, diagnose and maintain browser QA using observed UI semantics and business outcomes. Use for web journeys, browser state, interaction and relevant accessibility checks.

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. Very specific:

    Use through qa; load qa-workflow and .cursor/rules/test-automation.mdc.

    line 8
  2. Distinctive:

    Use isolated records/accounts for state-changing tests.

    line 23
  3. Very specific:

    Write setup → user action → observable result with a fresh context and explicit teardown.

    line 30
  4. Distinctive:

    Use web-first assertions or the runner's equivalent.

    line 39
  5. Distinctive:

    Run one deterministic journey, then the selected suite and justified browser or viewport variations.

    line 49
  6. Distinctive:

    Read the Playwright recipe for a Playwright project or the local reference exercise.

    line 69

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

Web execution

Use through qa; load qa-workflow and .cursor/rules/test-automation.mdc. The locator, fixture and evidence contracts remain there. Use the team's actual browser tooling; Playwright is one conditional recipe.

Prepare the observed interface

Identify browser/engine/version, viewport, locale, timezone and app build. Follow the changed journey in the running app and inspect its DOM/accessibility tree. Record the control's actual role/name or identifier, uniqueness in its context, and resulting state. Source names are useful provenance, not proof that the served build exposes them. If browser execution is unavailable, record the gap; source or HTTP inspection does not become a browser run.

Resolve test-account and backend-data ownership before parallel execution. Separate browser contexts isolate cookies/storage, not shared server records. Use isolated records/accounts for state-changing tests; persisted authentication may be reused only where its shared state remains safe. Exercise real login when login/session behavior is the subject. Treat saved auth and traces as potentially sensitive artifacts and apply the project's ignore/redaction policy.

Author the journey

Write setup → user action → observable result with a fresh context and explicit teardown. Name cases after the criterion. Use role/name, label or observed stable identifier scoped to the relevant dialog/form/row. Check ambiguous matches before adding positional selectors. Keep user-visible text assertions when text is the contract; do not broaden a locator until it silently matches the wrong control.

Assert the business effect: saved content after navigation/reload, the expected record/total, an error with unchanged state, or completion of the promised job. A click succeeding, a request being sent or a toast alone may be insufficient. Use web-first assertions or the runner's equivalent; register event/response waiters before the triggering action when an event can otherwise be missed.

Cover the selected transition's relevant empty/loading/error/recovery states, back/forward/deep-link behavior and storage/session boundaries. Use real backend paths for the chosen end-to-end claim. Label intercepted network responses and their limits; retain distinct integration coverage for the mocked boundary.

Execute and investigate

Run one deterministic journey, then the selected suite and justified browser or viewport variations. Choose variation from supported users and risk, such as a second engine for layout/input differences or mobile viewport for responsive navigation. A resized desktop browser does not verify native mobile behavior.

Capture the first failing attempt's trace, screenshot, console errors and relevant network result where supported. Diagnose in order: target/build and fixture, actual locator match, actionability/overlay/focus, awaited state, network/business result. Inspect the failing artifact before changing timeouts or selectors. For a race, identify the observable readiness condition. For app failure, preserve the test and reproduce the business symptom with minimal steps.

Maintain and hand off

Extract repeated stable operations once they recur; keep business assertions visible in tests. Centralize authentication and fixture lifetime without hiding cross-test state. Review selectors after accessible-name or product changes; replace a test only when its criterion becomes obsolete. Preserve supported variation coverage instead of marking the troublesome engine optional to pass.

Read the Playwright recipe for a Playwright project or the local reference exercise. For a relevant accessibility slice, read keyboard and accessibility checks; full conformance is a separately scoped assessment. An exploration charter can use any journey above, retaining observations, questions and unvisited paths in the shared plan.

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.