diff options
| author | Addy Osmani <addyosmani@gmail.com> | 2026-11-18 12:05:05 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-11-18 12:05:05 -0800 |
| commit | 45a9831738039b4cf7da3584aa71be150e089dda (patch) | |
| tree | 5ed8811937ede77f15337d59b9fcbe833644fd49 | |
| parent | d7fd10362675f8829b78e5e031fd57e6e9e9cae7 (diff) | |
| parent | 924995886b5de2c452f3c7c59a7ea4642db103e8 (diff) | |
Merge #795: check the checkout is clean and on the reviewed ref
fix(code-review-and-quality): check the checkout is clean and on the reviewed ref before running tests
| -rw-r--r-- | skills/code-review-and-quality/SKILL.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/skills/code-review-and-quality/SKILL.md b/skills/code-review-and-quality/SKILL.md index 673d8ff..7e8ec8e 100644 --- a/skills/code-review-and-quality/SKILL.md +++ b/skills/code-review-and-quality/SKILL.md @@ -206,6 +206,8 @@ Check the author's verification story: - Is there a before/after comparison? ``` +Before you run tests or probes yourself, confirm the checkout is clean and on the reviewed ref (`git status --short` is empty and `git rev-parse HEAD` matches the PR head), and name that ref in the review. A working copy can hold uncommitted edits from another session, so evidence from it may describe code that is not in the change. + ## Multi-Model Review Pattern Use different models for different review perspectives: |
