agentleFS
jonathascostajonathascosta/claude-code-workflow/.claude/skills/smoke-test/SKILL.md

smoke-test

Skill2 starsChanged 14 days agoMITView on GitHub

Test a change in a deployed environment and report the result as a table - what was tried, what was expected, what happened, pass or fail, and timings. Use after a deploy to a development, pre-production or production environment, when the user asks to test in an environment or to run a set of questions or cases, to prepare steps for a demo, or to show how to reproduce a bug or see a feature working.

24 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use debugging-difficult-bugs, pr-explainer and 2 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.
  • dzevsSkill

    debugging-difficult-bugs

    Use early when debugging a medium or hard bug, especially when tests alone may not reveal the real runtime failure. Trigger this before extended TDD iteration when a bug involves runtime state, PTY/terminal ordering, persistence, streaming, async/concurrency, the TUI/manual reproduction, the IPC socket layer, or when a red or newly passing test may not model the real issue. Skip only when the root cause is already directly proven by a stack trace or deterministic test that exercises the real runtime path.

    Also in 3 projects that use this

  • Mathews-TomSkill

    pr-explainer

    Use when a developer asks to explain a pushed PR, walk through a PR stack, understand one stack member, or explain what an AI agent just pushed so they can connect code changes to end-to-end functionality and update domain knowledge. Not for defect review, merge approval, PR-body authoring, or full-repository onboarding.

    Also in 3 projects that use this

  • dzevsSkill

    pr-splitter

    Use when breaking a large, complex, messy, or hard-to-review pull request into multiple smaller PRs; planning stacked PRs; extracting independent changes from a branch; splitting mixed refactor and behavior changes; managing drift after review feedback (operator gate, Codex/swarm second opinion); rebasing follow-up PRs as earlier PRs change; or preserving original branch intent while shipping incrementally.

    Also in 3 projects that use this

  • genomewalkerSkill

    learn

    Learn from web sources, generate SKILL.md, and store key patterns in soul memory. Trigger keywords: learn, skill-gen, web-learn, documentation, tutorial.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

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

    Check, in a real environment, that what was deployed does what it should and broke nothing nearby.

    line 9
  2. Distinctive:

    Confirm what is deployed first: Check that the environment is running the version under test (the served version, the run's source commit) …

    line 13
  3. Distinctive:

    Stop probes, background runs and local servers when done.

    line 19
  4. Distinctive:

    When the cases come from the user, or are for a demo, give them as a list the user can run themselves, with what to look for in each.

    line 31
  5. Distinctive:

    If everything passed, say so plainly and name the next step (the next environment's approval, or closing the task).

    line 52

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

Smoke test in an environment

Check, in a real environment, that what was deployed does what it should and broke nothing nearby. How each environment is reached and tested (commands, profiles, the application's entry point, what data it holds) comes from .claude/project.md.

Rules

  • Confirm what is deployed first. Check that the environment is running the version under test (the served version, the run's source commit) before testing anything. A pass on the old version means nothing.
  • Test against what the environment can answer. Choose cases whose expected result is known for that environment's data. Validate the expected answer before judging the actual one; a wrong expectation produces a wrong verdict.
  • More than once when results vary. Anything involving a model, a cache or a cold start is run several times; report the spread, not one sample. Do a warm-up call first and report it apart from the timings.
  • Read-only unless the test needs a write. Say before writing anything to a shared environment, and remove test data afterwards. Say what was left behind if any.
  • Ask before anything that costs money or runs in production, and say what it will cost.
  • A failure is evidence, not a diagnosis. Say what failed and show it; name a cause only as far as it was shown, and say which layer it points to (interface, application, model, data, platform) when that is known.
  • Stop probes, background runs and local servers when done.

1. Plan the cases

From the change under test, list:

  1. The change itself: the cases that prove the new behaviour, including the edge the change was made for.
  2. What it could have broken: the nearest existing behaviours that share code or data with it.
  3. The basics: one or two cases that show the environment is alive at all.

For each case: the input, the expected result, and the check that decides pass or fail. Keep it to what can be judged; a case with no clear check is a demonstration, not a test.

When the cases come from the user, or are for a demo, give them as a list the user can run themselves, with what to look for in each.

2. Run

Run the cases as the environment's users would, through the way of testing that the environments table in project.md gives for that environment, not through a local shortcut that skips part of the path. Keep the raw outputs in the scratchpad so a verdict can be checked afterwards.

3. Report

A table, narrow enough to paste into the team's chat:

#CaseExpectedResultPassTime

Then:

  • the totals (passed of total), and the warm-up apart;
  • each failure in one or two lines: what happened, the evidence, what it points to;
  • what was not tested and why;
  • numbers stated without ambiguity: say what is being counted and out of what.

Record the time in the worklog: tests_<env> for a test after a merge (the deployment phase); for a test in a development environment before the pull request or during a review, the task stays in pre_pr_checks or fixes.

If everything passed, say so plainly and name the next step (the next environment's approval, or closing the task). If something failed, do not promote: propose what to do.

For a client-facing report

Facts only, in the language for artifacts, written as the first and only version: no account of how the test was run, no mention of earlier attempts, no internal names.

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.