agentleFS
marcinmaruszewskimarcinmaruszewski/skills/skills/smoke-test/SKILL.md

smoke-test

Skill3 starsChanged 4 days agoMITView on GitHub

Smoke test a deployed website by checking its home page and random sitemap URLs for HTTP 200, with a cache-bypassing pass behind a CDN or Varnish. Use when the user asks to smoke-test a site, or to offer one after a deploy.

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

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

  • 0

    Common

    Most of the 21 edited versions we read keep these.

  • 0

    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:

    All requests come from one script, in this skill's scripts/ directory:

    line 12
  2. Very specific:

    Run the script. By default it checks the home page plus 20 random sitemap URLs.

    line 21
  3. Very specific:

    When a site has no sitemap the script finds, look for one in the page source or a language path (/pl/sitemap.xml), then re-run with …

    line 22

“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

The test sends dozens of requests to a live site, often production, so it runs only on the user's say-so: either the user asked for it, or you offered it and the user said yes. When you reached this skill on your own, offer the test with the site URLs and wait.

All requests come from one script, in this skill's scripts/ directory:

python3 scripts/smoke_test.py <site URL> [<site URL> ...] [--count 20] [--sitemap URL] [--cachebuster auto|always|never]

--help lists every option.

  1. Take the site URLs from the user or from the deploy you just finished. A site served under a path (https://example.com/pl) is tested under that path. Test every site in one run.
  2. Run the script. By default it checks the home page plus 20 random sitemap URLs. When the home page carries cache headers, it runs a second pass on a fresh sample with a random ?cachebuster= value, so those requests reach the origin.
  3. When a site has no sitemap the script finds, look for one in the page source or a language path (/pl/sitemap.xml), then re-run with --sitemap.
  4. Re-run the failing URLs once with curl -sIL to separate a flaky request from a broken page.
  5. Report one line per site and pass (OK count, slowest response), followed by each URL that did not answer 200 with its status, so the user can judge it.

Exit 0 means every URL answered 200, 1 means some did not, and 2 means a site could not be tested. If requests fail with a network error inside a sandbox, re-run the script outside it, asking for approval if needed.

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.