agentleFS
cskworkcskwork/browser-qa/.cursor/skills/browser-qa/SKILL.md

browser-qa

Skill1 starsChanged 3 months agoMITView on GitHub

Run browser QA with reviewable YAML scenarios and real browser/API evidence. Use for URL checks, regression runs, recorded tests, scheduling, or the SuperQA dashboard.

28 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use nuxt4-patterns, pytorch-patterns and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • loulanyueSkill

    nuxt4-patterns

    Nuxt 4 app patterns for hydration safety, performance, route rules, lazy loading, and SSR-safe data fetching with useFetch and useAsyncData.

    Also in 4 projects that use this

  • Yog-SothoSkill

    pytorch-patterns

    PyTorch deep learning patterns and best practices for building robust, efficient, and reproducible training pipelines, model architectures, and data loading. Always activate when the user is writing PyTorch models or training scripts, reviewing deep learning code, debugging training loops or data pipelines, optimizing GPU memory or training speed, setting up reproducible experiments, implementing transfer learning or fine-tuning, or asks anything about nn.Module, DataLoader, autograd, AMP, or torch.compile.

    Also in 5 projects that use this

  • loulanyueSkill

    santa-method

    Multi-agent adversarial verification with convergence loop. Two independent review agents must both pass before output ships.

    Also in 4 projects that use this

  • royaluniondesign-sysSkill

    content-hash-cache-pattern

    Cache expensive file processing results using SHA-256 content hashes — path-independent, auto-invalidating, with service layer separation.

    Also in 5 projects that use this

  • TironFoxSkill

    opensource-pipeline

    Open-source pipeline: fork, sanitize, and package private projects for safe public release. Chains 3 agents (forker, sanitizer, packager). Triggers: '/opensource', 'open source this', 'make this public', 'prepare for open source'.

    Also in 3 projects that use this

  • junimnjwSkill

    ai-regression-testing

    Regression testing strategies for AI-assisted development. Sandbox-mode API testing without database dependencies, automated bug-check workflows, and patterns to catch AI blind spots where the same model writes and reviews code.

    Also in 6 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 1 is distinctive, and 3 are very specific to this project.

  • 0

    Common

    Most of the 26 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Evidence or it did not happen: Every run writes ~/.superqa/reports/<stamp>-<name>/report.html + per-step screenshots.

    line 31
  2. Very specific:

    Ground: Read ~/.superqa/sites/<site>/rules.md if present.

    line 56
  3. Very specific:

    Generate cases: Write user-story dag.nodes YAMLs to ~/.superqa/scenarios/<site>/ covering happy path, validation, error paths, edge cases, …

    line 61
  4. Distinctive:

    Report: Read the report, triage side effects, summarize for the user in their language with the report path.

    line 68

“Common” is measured: kept by at least 6 in 10 of the 26 edited versions of this file we could read. “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

browser-qa - browser QA on anything, for anyone

Skill browser-qa, runtime command superqa. Contract: prompt -> scenarios -> real browser evidence -> report in the user's language.

Mode (classify the request, state it in one line)

Signal in requestModeRoute
known domain / "QA <domain> <feature>" / repeat QA on something QA'd beforeDOMAIN-QAload the domain pack, QA per feature area, reuse archived scripts (reference/domain-packs.md)
"QA this <url>", vague target, no scenarios yetEXPLORE-QAexplore live site, generate scenario cases, run them (reference/agent-qa.md)
scenarios exist / "run the cases" / feature finished, verifyREGRESSIONsuperqa run --all --site <site>; diff vs last run (reference/agent-qa.md step 5)
"quick check / smoke / is it up"AUTOsuperqa auto <url> --site <site>
non-dev wants to create a test by clickingRECORDsuperqa record <url> or TUI n key (reference/tui.md)
"every N minutes / daily / automate"SCHEDULEsuperqa schedule add <scenario> --every <min> + daemon (reference/tui.md)
"open the QA app / dashboard"TUIweb dashboard superqa serve; terminal bash scripts/superqa.sh (reference/tui.md)
"test locally / without the dev server / offline", shared env down, destructive casesLOCAL-OFFLINEbring the stack up locally, run the same scenarios with --var base_url=... (reference/local-offline.md)

Hard rules

  1. Site knowledge stays local. Entry URLs, accounts, login quirks, popup behavior live in ~/.superqa/sites/<site>/rules.md + the var store. Never committed, never in a pushed scenario (reference/site-rules.md).
  2. Credentials via the var store only. superqa vars set <site> username|password <v>; scenarios use {{username}} / {{password}}. Password-like keys auto-mask in reports.
  3. Evidence or it did not happen. Every run writes ~/.superqa/reports/<stamp>-<name>/report.html + per-step screenshots. Quote the path and the pass/fail counts.
  4. Report in the user's language. Scenario language: drives report labels; your summary follows the conversation (reference/report.md).
  5. Side effects are findings. Console errors, failed requests, 4xx/5xx, unexpected dialogs/tabs are collected, deduped, and diffed; new types = regression signal. Declare known noise in ignore.yaml, never by hand (reference/side-effects.md).
  6. Popups never block a run. Policy auto-accepts dialogs and follows new tabs; scenario policy: overrides (reference/scenario-format.md).
  7. Local copies of shared data are read-only at source, subsetted, redacted, uncommitted. Local config gets dummy secrets only (reference/local-offline.md).
  8. Archive reusable scripts. Useful helpers go to <packs_home>/<domain>/<feature>/scripts/ with a provenance header; check the pack before writing a new one (reference/domain-packs.md).
  9. Capability picks the engine, then the cascade. Response bodies, popups, or Windows parity - go straight to the proven engine. One engine per page. Never lightpanda. Replay is always the browser-qa engine (reference/engines.md).
  10. The DAG is the review contract. dag.nodes with stable id, story, acceptance, depends_on - no selectors or values, those live in the local runtime binding. Run superqa dag check --all --site <site> before executing. Legacy steps: files stay readable (reference/scenario-format.md).

EXPLORE-QA loop (default when only a URL/prompt is given)

  1. Ground. Read ~/.superqa/sites/<site>/rules.md if present; ask for credentials only if login is required and vars are missing.
  2. Explore. Drive the live site with the selected engine (snapshot -> click -> snapshot; reference/engines.md), mapping entry flow, login, menus, popups/new tabs (reference/agent-qa.md).
  3. Generate cases. Write user-story dag.nodes YAMLs to ~/.superqa/scenarios/<site>/ covering happy path, validation, error paths, edge cases, and meaningful popup/tab transitions. Review story/acceptance/dependencies with superqa dag check --all --site <site> and the Admin graph, then create the separate local runtime binding (reference/scenario-gen.md).
  4. Run. superqa run --all --site <site> --headless; without the installed command, python3 -m superqa_tui run ... from the checkout root, where superqa_tui/ lives.
  5. Report. Read the report, triage side effects, summarize for the user in their language with the report path. Update the local site rules file with what you learned.

Non-dev lane (what you tell users)

  • superqa serve - browser dashboard: every scenario with its story DAG, Run button, live progress, history, inline reports. Exposes node IDs, stories, acceptance and dependencies only; selectors and values stay local.
  • bash scripts/superqa.sh - terminal TUI: n record by clicking, r run, a run all, u auto QA, s schedule, v accounts/vars, o open report.
  • Recording floats a panel in the page (pause / add-assertion / save); typed passwords are stored as {{password}} (reference/tui.md).

Reference map

FileWhen
reference/domain-packs.mdDOMAIN-QA: per-domain/feature packs, script archiving, pack location config
reference/engines.mdcapability gate + engine cascade; one-engine-per-page rule
reference/agent-browser.mdagent-browser + chrome-devtools-mcp commands, shared-Chrome login, measured gotchas
reference/agent-qa.mdEXPLORE-QA / REGRESSION procedure for the agent
reference/scenario-gen.mdprompt -> reviewable DAG scenario case design method
reference/scenario-format.mduser-story YAML DAG schema, local runtime binding, {{vars}}, policy
reference/side-effects.mdwhat is captured; triage rules
reference/site-rules.mdlocal per-site knowledge protocol (never commit)
reference/report.mdreport structure + language rules
reference/tui.mdTUI / record / schedule usage for humans
reference/local-offline.mdLOCAL-OFFLINE: local stack + data subset, DB-derived fixtures, differential proof

Done = mode stated. QA runs: scenarios exist as checked YAML DAGs under ~/.superqa/scenarios/<site>/; graph reviewed; run executed with the report path quoted; side effects triaged; site rules updated, plus the domain pack in DOMAIN-QA; site data still only in ~/.superqa/. RECORD / SCHEDULE / TUI: the surface is up and the user knows which keys drive it.

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.