agentleFS
fmindfmind/dot/skills/smoke/SKILL.md

smoke

Skill10 starsChanged 58 days agoMITView on GitHub

Smoke-test every repo task and CLI command; warnings count as failures.

  • Reads credentials

4 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    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. Very specific:

    Add CLI entry points from [project.scripts], bin fields, and scripts/, plus the commands quoted in README.md and CI workflows.

    line 29
  2. Very specific:

    Run tasks: start with the repository's aggregate gate (mise run all, check, test), then each remaining task individually so failures stay …

    line 31

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

Prove that everything a repository exposes still runs: each task, each CLI command, and each documented example, with a matrix the user can trust. Warnings count as failures. quality-assurance owns risk-based campaigns over user journeys; repository-review owns code findings. Fix defects only when the request includes fixing them.

Workflow

  1. Baseline and isolation: record git status --short. Tasks that format, lock, or generate files mutate the tree; with unrelated work present, run them in a snapshot per git-worktree and report their diff instead of leaving it behind.
  2. Discover: list every entry point and read each command before running it; never classify by name alone.

    mise tasks --json --hidden | jq -r '.[] | select(.global | not) | [.name, ((.run // []) | join(" && "))] | @tsv'
    MISE_TASK_QUIET=false mise run -n <task>  # print the resolved command; quiet settings hide it
    jq -r '.scripts // {} | keys[]' package.json
    just --summary; make -pRrq : 2>/dev/null | grep -E '^[a-zA-Z0-9_.-]+:' | cut -d: -f1 | sort -u

    Add CLI entry points from [project.scripts], bin fields, and scripts/, plus the commands quoted in README.md and CI workflows.

  3. Classify: safe (check, lint, test, local build, docs build), mutating (format, fix, lock, generate: snapshot only), service (serve, dev, watch: start under a timeout, probe health, stop it), and external (deploy, release, publish, push, upgrade, login, prune, paid or networked writes). Run an external task only with explicit authority and its --dry-run when it has one; otherwise list it as skipped with the reason.
  4. Run tasks: start with the repository's aggregate gate (mise run all, check, test), then each remaining task individually so failures stay attributable. Close stdin, bound time, keep logs, and force tasks whose cached outputs would skip them.

    mise run --force --timeout 10m <task> </dev/null >"$log" 2>&1; echo "exit=$?"
  5. Walk CLIs: run --help on every command and subcommand recursively (Typer and Click list them under Commands:), then each read-only command (status, list, show, doctor, validate, any --dry-run) with representative arguments. Parse --json output with jq; a malformed document is a failure. Error paths count too: a bad argument must exit nonzero with a clear message, not a traceback.
  6. Treat warnings as failures: scan each log for warning, deprecat, WARN, pytest's warnings summary, Traceback, and skipped tests; a warning passes only with a tracked, explained exception. Look at intentionally quiet tasks as well; quiet output must not hide a nonzero exit.
  7. Report the matrix: entry point, class, exit code, duration, warnings, and note (fixed, skipped with reason, or failed with the first useful error line). Confirm that the tested snapshot equals the working tree after the last fix, and rerun only what a fix invalidated.

Gotchas

  • Interactive prompts hang without a terminal: closed stdin plus --timeout turns them into a recorded failure; prefer the tool's --yes only when its effect is safe.
  • Dependencies run twice: depends re-runs prerequisites; reuse a passing result when inputs did not change instead of serial re-execution.
  • Run with the repository's default environment: mise [env], .env, and CI=true change behavior; run with the repository's defaults and note any variable you set.
  • Skipped is not passed: a task skipped for a missing optional tool is "not run", not "passed".

Documentation

  • mise run · mise tasks
  • Companion skills: mise (task vocabulary), cli-development (CLI contracts), systematic-debugging (root causes).

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.