agentleFS
Kripu77Kripu77/software-factory/skills/run-smoke-tests/SKILL.md

run-smoke-tests

Skill7 starsChanged 3 months agoMITView on GitHub

Run Playwright smoke tests, debug failures, and verify fixes. Use for smoke, e2e, Playwright, or pre-ship browser verification.

  • Reads credentials

5 other projects use a version of this, 4 of them edited.

Adopted by

Most recently taken up by

Used with

Projects with it also use check-compiler-errors, new-branch-and-pr and 3 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.
  • cogine-aiSkill

    check-compiler-errors

    Run compile and type-check commands and report failures

    Also in 3 projects that use this

  • cogine-aiSkill

    new-branch-and-pr

    Create a fresh branch, complete work, and open a pull request

    Also in 3 projects that use this

  • jaydubya818Skill

    make-pr-easy-to-review

    Use when a correct pull request needs clearer history, description, or reviewer guidance.

    Also in 3 projects that use this

  • jaydubya818Skill

    get-pr-comments

    Use when pull-request feedback needs to be fetched and summarized for action.

    Also in 3 projects that use this

  • +1 more from jaydubya818

The file

We split this skill into the rules it gives an agent

6 rules. 3 are common, 1 is distinctive, and 2 are very specific to this project.

  • 3

    Common

    Most of the 5 edited versions we read keep these.

  • 1

    Distinctive

    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. Common:

    Run the relevant smoke suite or a focused test file.

    line 15
  2. Common:

    If failing, inspect traces/logs and isolate the root cause.

    line 16
  3. Distinctive:

    If the suite is green, say so and stop.

    line 18
  4. Very specific:

    If the repo uses a different script (npm test, npx playwright test, make smoke), use that.

    line 28
  5. Common:

    Prefer deterministic waits and assertions over brittle timeouts.

    line 32
  6. Very specific:

    Never --no-verify. Never read .env or .env.local.

    line 35

“Common” is measured: kept by at least 6 in 10 of the 5 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

Run smoke tests

Trigger

Need end-to-end smoke verification before or after changes.

Workflow

  1. Build prerequisites for the target app.
  2. Run the relevant smoke suite or a focused test file.
  3. If failing, inspect traces/logs and isolate the root cause.
  4. Report the failure with evidence. Do not patch product code. Tech lead classifies. Bug implements.
  5. If the suite is green, say so and stop.

Example Commands

npm run smoketest
npm run smoketest -- path/to/test.spec.ts
npm run smoketest-no-compile -- path/to/test.spec.ts

If the repo uses a different script (npm test, npx playwright test, make smoke), use that. Do not invent a suite that is not in the checkout.

Guardrails

  • Prefer deterministic waits and assertions over brittle timeouts.
  • Re-run a green result once when flake is suspected. Report flake evidence.
  • Quarantine tests only when explicitly requested and documented.
  • Never --no-verify. Never read .env or .env.local.

Output

  • Test results summary
  • Root cause for each failure, with a repro
  • Remaining flake risk (if any)

Factory override

Report only. Do not implement the fix. Do not merge. Only the dispatched ticket or PR.

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.