Skip to main content
在 Manus 中运行任何 Skill
一键导入

smoke

星标3
分支0
更新时间2026年7月12日 10:10

Golden-file / snapshot smoke testing of shell-command output with the SMOKE CLI. Capture a command's observable output once, lock it into a *.lock.yml, and let later runs go UNCHANGED when output matches or CHANGED when it drifts. TRIGGER when: setting up snapshot or golden-file testing for a CLI tool or shell command, capturing command output as a baseline/golden, detecting output drift across runs, writing or editing a tests.yml / *.cue smoke spec, or interpreting SMOKE's UNCHANGED / CHANGED / NEW verdicts and 0 / 1 / 2 / 3 / 64 / 65 exit codes. Critical framing other tools get wrong: SMOKE detects DRIFT, not correctness — CHANGED is the expected "eyeball and re-commit" state, NOT a failing test; UNCHANGED means drift-free, NOT verified-correct. An agent must never chase output back to green or auto-commit a CHANGED result it did not read. DO NOT TRIGGER for assertion-based unit/integration frameworks (go test, pytest, jest), or test work that is not snapshot/golden-file based.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly