summaryrefslogtreecommitdiff
path: root/skills/requesting-code-review
diff options
context:
space:
mode:
Diffstat (limited to 'skills/requesting-code-review')
-rw-r--r--skills/requesting-code-review/SKILL.md2
-rw-r--r--skills/requesting-code-review/code-reviewer.md17
2 files changed, 18 insertions, 1 deletions
diff --git a/skills/requesting-code-review/SKILL.md b/skills/requesting-code-review/SKILL.md
index fa4f2f9..6d995da 100644
--- a/skills/requesting-code-review/SKILL.md
+++ b/skills/requesting-code-review/SKILL.md
@@ -25,7 +25,7 @@ Dispatch a code reviewer subagent to catch issues before they cascade. The revie
**1. Get git SHAs:**
```bash
-BASE_SHA=$(git rev-parse HEAD~1) # or origin/main
+BASE_SHA=$(git rev-parse HEAD~1) # or: git merge-base origin/main HEAD
HEAD_SHA=$(git rev-parse HEAD)
```
diff --git a/skills/requesting-code-review/code-reviewer.md b/skills/requesting-code-review/code-reviewer.md
index b898cb9..6d358b5 100644
--- a/skills/requesting-code-review/code-reviewer.md
+++ b/skills/requesting-code-review/code-reviewer.md
@@ -30,6 +30,23 @@ Subagent (general-purpose):
git diff [BASE_SHA]..[HEAD_SHA]
```
+ ## The spec is a vision document
+
+ The spec says what the software must do. It does not enumerate every
+ input, environment, or condition the software will meet. For behavior
+ the spec is silent on, judge by what a reasonable person using this
+ software would expect: a reasonable person's expectation is a
+ requirement, and a spec's silence is not permission. Grade such
+ findings by their effect on that person, not by whether the spec
+ mentions the trigger.
+
+ ## Declined to judge
+
+ Before your verdict, list every behavior you considered and set aside
+ as outside the plan or spec, one line each, with the reason. The
+ executor rules on each line; nothing you set aside is dropped
+ silently. An empty list means you set nothing aside.
+
## Read-Only Review
Your review is read-only on this checkout. Do not mutate the working tree, the index, HEAD, or branch state in any way. Use tools like `git show`, `git diff`, and `git log` to inspect history. If you need a working copy of a different revision, check it out into a separate temporary directory (e.g. `git worktree add /tmp/review-[SHA] [SHA]`) — never move HEAD on this checkout.