# Run smoke tests

> Run smoke tests is an open-source agent skill for developer tools. Runs Playwright smoke tests, isolates failures, and reports evidence without patching code. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/Kripu77/software-factory/tree/main/skills/run-smoke-tests
- **Repository:** https://github.com/kripu77/software-factory
- **GitHub stars:** 6
- **License:** MIT
- **Skill name:** run-smoke-tests
- **Collection:** https://github.com/Kripu77/software-factory
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill guides an agent through end-to-end smoke verification of a web app using Playwright. It has the agent build the app's prerequisites, run the relevant smoke suite or a single test file, and, when something fails, inspect traces and logs to find the root cause.

The skill is strict about scope: the agent reports failures with evidence and a repro rather than editing product code, leaving classification and fixes to other roles. It also covers flake handling, asking the agent to re-run a green result once when flakiness is suspected and to note remaining flake risk. Suite commands are taken from the repository itself, such as npm run smoketest or npx playwright test, and the agent is told not to invent a suite that is absent from the checkout.

It expects a repository with Playwright tests and a smoke script or equivalent runner. Guardrails forbid skipping git hooks and reading local environment files, and quarantining tests only when explicitly requested and documented.

## When your agent uses it

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

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/Kripu77/software-factory/tree/HEAD/skills/run-smoke-tests)
- [License: MIT](https://github.com/Kripu77/software-factory/tree/HEAD/skills/run-smoke-tests)

## Features

- **Smoke suite execution:** Runs the full smoke suite or a focused Playwright test file using the repository's own scripts.
- **Failure root-cause analysis:** Inspects traces and logs to isolate why a browser test failed.
- **Evidence-based reporting:** Produces a results summary with repro steps for each failure and remaining flake risk.
- **Flake detection:** Re-runs a green result once when flakiness is suspected and documents the evidence.
- **Report-only scope:** Keeps the agent from patching product code or merging, leaving fixes to dispatched tickets.

## Good for

- Run the smoke tests before shipping a release
- Debug a failing Playwright end-to-end test
- Verify a bug fix with a focused browser test file
- Check whether a green test suite is stable or flaky

## Install

### Claude Code

This skill ships in the `software-factory` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add Kripu77/software-factory
/plugin install software-factory@software-factory
```

Or copy only this skill to `~/.claude/skills/run-smoke-tests`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kripu77/software-factory.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/run-smoke-tests &&
cp -R "$tmp/skills/run-smoke-tests" ~/.claude/skills/run-smoke-tests &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/run-smoke-tests` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/run-smoke-tests` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kripu77/software-factory.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/run-smoke-tests &&
cp -R "$tmp/skills/run-smoke-tests" ~/.agents/skills/run-smoke-tests &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/run-smoke-tests` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/run-smoke-tests` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kripu77/software-factory.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/run-smoke-tests &&
cp -R "$tmp/skills/run-smoke-tests" ~/.cursor/skills/run-smoke-tests &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/run-smoke-tests` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/Kripu77/software-factory.git --path skills/run-smoke-tests
```

Or copy the folder to `~/.gemini/skills/run-smoke-tests` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/run-smoke-tests`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/Kripu77/software-factory.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/run-smoke-tests &&
cp -R "$tmp/skills/run-smoke-tests" ~/.copilot/skills/run-smoke-tests &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/run-smoke-tests` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/Kripu77/software-factory.git
```

Then copy `software-factory/skills/run-smoke-tests` into your agent's skills folder as `run-smoke-tests`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

A repository with Playwright tests and a runnable smoke script such as npm run smoketest, npm test, npx playwright test or make smoke. It builds the target app's prerequisites first.

### Does Run smoke tests change my product code?

No. The skill instructs the agent to report failures with evidence and not patch product code, and not to merge.

### When is Run smoke tests triggered?

When end-to-end smoke verification is needed before or after changes, and for requests mentioning smoke, e2e, Playwright or pre-ship browser verification.

### Can Run smoke tests quarantine flaky tests?

Only when explicitly requested and documented.

### How do I install Run smoke tests in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/run-smoke-tests to use it in all your projects, or to .claude/skills/run-smoke-tests in one project. Or install the software-factory plugin, which includes it: /plugin marketplace add Kripu77/software-factory, then /plugin install software-factory@software-factory.

### Does Run smoke tests run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Run smoke tests?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Run smoke tests?

The closest alternatives to Run smoke tests are E2E testing, E2E playwright, Playwright skill, Webapp testing and Agent runtime gateway smoke test.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [E2E testing](https://ai-powered.com/skills/e2e-testing): E2E testing is an open-source agent skill for developer tools.
- [E2E playwright](https://ai-powered.com/skills/e2e-playwright): E2E playwright is an open-source agent skill for developer tools.
- [Playwright skill](https://ai-powered.com/skills/playwright-skill): Playwright skill is an open-source agent skill for browser automation.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing-github): Webapp testing is an open-source agent skill for browser automation.
- [Agent runtime gateway smoke test](https://ai-powered.com/skills/agent-runtime-gateway-smoke-test): Agent runtime gateway smoke test is an open-source agent skill for developer tools.
- [Playwright generate test](https://ai-powered.com/skills/playwright-generate-test): Playwright generate test is an open-source agent skill for browser automation.
- [Webapp testing](https://ai-powered.com/skills/webapp-testing): Webapp testing is an open-source agent skill for browser automation.
- [Playwright interactive](https://ai-powered.com/skills/playwright-interactive): Playwright interactive is a free agent skill for browser automation.

---
Source: https://ai-powered.com/skills/run-smoke-tests
