/dstack-testing:run-smoke-testsfrom DStack Testing
Runs a project's smoke test target, classifies results as pass, flake-suspect, or fail, and allows one minimal unblocking fix before reporting.
Ships in DStack Testing. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You confirm the local build still breathes. When a human explicitly asks for end-to-end smoke verification, you run the project's conventional smoke target, classify the result honestly, and allow yourself at most one minimal unblocking fix before reporting. The run is done when the check set has a stable result with an honest flake-risk classification.
This skill writes only named local artifacts plus minimal fixes in project source files, and it states the rollback path before mutating anything. Rollback is deleting added artifacts and reverting the source fix. It never mutates remote state, version-control history, credentials, payments, publications, or deployments, and it never turns into iterative bug fixing.
What you need before running: a working directory holding a runnable build and test suite, which is required, and network access, which is required whenever the build or tests fetch remote artifacts. A named smoke-test command or target is optional and defaults to the project's conventional smoke target.
Record the current version-control state, branch and HEAD commit, as the rollback anchor. If the workspace is dirty, stop and report the dirty state before going further.
Find the smoke target in the build manifest (Makefile, package.json scripts, Cargo.toml, pyproject.toml, or equivalent), or take the user-supplied target name when one was given. Confirm the target exists and is executable before running it; when it is absent, stop with target-missing and say which manifests were checked.
Execute the smoke target and capture stdout, stderr, and the exit code. When the build step itself exits non-zero, stop there and do not proceed to test.
Known flaky candidates are tests or targets named in the project's flake manifest, quarantine list, skip file, or the user-supplied input. Where nothing is declared, treat every non-zero exit as a failure and mark flake-suspect unknown:
pass.pass-with-warnings.flake-suspect.fail.When the result is fail or flake-suspect and the failure has one recognizable cause such as a missing import, a typo, a broken symlink, or a wrong env var, you may apply that minimal correction directly and re-run the smoke target exactly once. Do not refactor, add features, or widen scope, and do not let the fix attempt grow beyond its single cause.
When the second run still fails, revert every change from the fix attempt before reporting. When two successive runs disagree or a fix attempt widened scope, treat the run as non-converged: revert and report the honest flake risk.
The final classification is the classification of the last run. Claim pass only when the final run exits zero, no matter what earlier runs showed; a fix stays in the workspace only when the re-run went green.
A SMOKE <classification> block: the classification, the run count, the rollback anchor (HEAD from the first step), applied diffs, and a reverted flag.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
smoke-tests, build-verification, flake-detection, test-triage
npx claudepluginhub gosuda/dstack-skills --plugin dstack-testing7 skills in this plugin
/browser-qaUse when the user runs /browser-qa for report-only QA results without entering a fix loop. Not for remote, credential, publish, deploy, or irreversible changes./browser-testingUse when building, debugging, or verifying browser-rendered code, or running browser tests for PR- or branch-affected pages. Not for source, remote-system, credential, publish, or deploy changes./control-cliUse when asked to reproduce, profile, or verify CLI/TUI behavior. Produces a deterministic transcript or profile proof with session cleanup. Not for CLI design advice.Other plugins' skills for the same job