Skill Press

No. 788 · run-smoke-tests

Run smoke tests

A field guide from Cursor

Cursor

When to use it

Run Playwright smoke tests, debug failures, and verify fixes

Rank
No. 788 of 971
Installs
Not listed yet
Built for
Cursor
Runs in
Cursor
Length
137 words · 1 min
Files
2
License
MIT

Get this skill

Download the skill folder (.zip, 1 KB) ↓ · SKILL.md only ↓

Agent prompt

Paste into a coding agent with terminal access. Check the upstream requirements for the skill you’re installing.

Prompt
Install the "run-smoke-tests" Agent Skill by Cursor, from https://github.com/cursor/plugins.

1. Fetch the whole folder cursor-team-kit/skills/run-smoke-tests — SKILL.md plus every script, reference, and asset beside it, not just SKILL.md. For example:
   skill_checkout=$(mktemp -d)
   git init "$skill_checkout"
   git -C "$skill_checkout" fetch --depth 1 https://github.com/cursor/plugins.git 50b3a3234bf2e0293849a48784d72030948e44ee
   git -C "$skill_checkout" checkout --detach FETCH_HEAD
2. Copy it into your skills directory as a folder named "run-smoke-tests":
   - Claude Code: ~/.claude/skills/run-smoke-tests/ (all projects) or .claude/skills/run-smoke-tests/ (this project only)
   - Another agent: the directory you load Agent Skills from (folders containing a SKILL.md)
3. Check that run-smoke-tests/SKILL.md exists and its frontmatter says name: run-smoke-tests.
4. Read SKILL.md, then tell me in two or three sentences what the skill does and when it will trigger, and list any dependencies it mentions (Python packages, npm packages, CLIs) that aren't installed yet. Don't install them without asking.

skills CLI

One command; the skills.sh installer detects your agents (Claude Code, Cursor, Codex, and more).

Terminal
npx skills add https://github.com/cursor/plugins/tree/50b3a3234bf2e0293849a48784d72030948e44ee/cursor-team-kit/skills/run-smoke-tests --skill run-smoke-tests

Contents

  1. Trigger
  2. Workflow
  3. Example Commands
  4. Guardrails
  5. Output

The skill, in full

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. Apply a minimal fix and rerun until stable.

Example Commands

# Run full smoke suite
npm run smoketest

# Run a specific smoke test file
npm run smoketest -- path/to/test.spec.ts

# Faster iteration when build artifacts are ready
npm run smoketest-no-compile -- path/to/test.spec.ts

Guardrails

  • Prefer deterministic waits and assertions over brittle timeouts.
  • Re-run passing fixes to reduce flaky false positives.
  • Quarantine tests only when explicitly requested and documented.

Output

  • Test results summary
  • Root cause and fix
  • Remaining flake risk (if any)

More in Testing & Code Review

All Testing & Code Review skills →

More from Cursor

From cursor/plugins at 50b3a32, MIT. Install counts from skills.sh.