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

prove-test-failures-pre-existing-via-clean-worktree

星标2
分支0
更新时间2026年7月8日 11:09

After making a change you run the test suite and it shows failures — especially in files/areas your diff never touched, or a count that "feels unrelated." Before you either panic-debug them OR wave them off as "probably pre-existing," PROVE it: run the exact failing tests against a clean checkout of origin/main (a throwaway `git worktree`). Identical failures = pre-existing (ship + note them); different = your change caused it. Use when: (1) a broad/full test run after your edit reports failures and you must decide "mine or pre-existing?"; (2) you're tempted to attribute failures to your change without evidence, or to dismiss them without evidence; (3) you can't `git checkout main` because you're in a worktree where main is checked out elsewhere, or you have uncommitted work.

安装

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

SKILL.md
readonly