reviewer-skill 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +36 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -39,7 +39,7 @@ the npm installer copies them. Both start in a feature branch.
39
39
 
40
40
  This path runs no downloaded code. The agent only reads the templates and writes files.
41
41
  Give your Claude Code session this section and the tag to use, for example: *"Install
42
- reviewer-skill v0.3.1 as described in its README section 'Install with a Claude agent'."*
42
+ reviewer-skill v0.3.2 as described in its README section 'Install with a Claude agent'."*
43
43
 
44
44
  Steps for the agent:
45
45
 
@@ -50,8 +50,8 @@ Steps for the agent:
50
50
  2. **Get the templates without running them.** Use a tag that is at least 7 days old
51
51
  (release cooldown):
52
52
  ```sh
53
- git clone --depth 1 --branch v0.3.1 https://github.com/itinance/reviewer-skill.git /tmp/reviewer-skill-v0.3.1
54
- git -C /tmp/reviewer-skill-v0.3.1 log -1 --format='%H %cI' # tag commit and date; compare with the tag on GitHub
53
+ git clone --depth 1 --branch v0.3.2 https://github.com/itinance/reviewer-skill.git /tmp/reviewer-skill-v0.3.2
54
+ git -C /tmp/reviewer-skill-v0.3.2 log -1 --format='%H %cI' # tag commit and date; compare with the tag on GitHub
55
55
  ```
56
56
  Do not run anything from the clone. Read the files only.
57
57
  3. **Copy the 5 files** in the table above with Read and Write. If a destination exists
@@ -92,7 +92,7 @@ Steps for the agent:
92
92
  types load only after a restart of Claude Code or `/agents`. In the same session, start
93
93
  each reviewer with `subagent_type: "general-purpose"` and the full text of its agent file
94
94
  in the prompt.
95
- 9. **Clean up:** `rm -rf /tmp/reviewer-skill-v0.3.1`.
95
+ 9. **Clean up:** `rm -rf /tmp/reviewer-skill-v0.3.2`.
96
96
 
97
97
  **If the files were already written on the default branch** (for example by an older
98
98
  installer): create the branch or worktree, copy the installed files there, apply the
@@ -113,7 +113,7 @@ window in which a hijacked account or a bad publish does the most damage.
113
113
 
114
114
  ```sh
115
115
  npm view reviewer-skill time --json # publish date of every version
116
- npm view reviewer-skill@0.3.1 dist.integrity
116
+ npm view reviewer-skill@0.3.2 dist.integrity
117
117
  ```
118
118
 
119
119
  ### 2. Run the installer in a feature branch of your project
@@ -123,15 +123,17 @@ The installer refuses to write on the default branch (`origin/HEAD`, else `main`
123
123
  Create a branch first: `git switch -c chore/reviewer-skill`.
124
124
 
125
125
  `--before <date>` lets npm enforce the cooldown: if the pinned version was published after
126
- that date, npx stops with `notarget` before it downloads or runs anything.
126
+ that date, npx stops with `notarget` before it downloads or runs anything. This also means
127
+ that a new release cannot be installed with this command during its first 7 days. That is the
128
+ cooldown working, not a broken release.
127
129
 
128
130
  ```sh
129
131
  # macOS
130
- npx --ignore-scripts --before "$(date -v-7d +%Y-%m-%d)" reviewer-skill@0.3.1 install --dry-run
131
- npx --ignore-scripts --before "$(date -v-7d +%Y-%m-%d)" reviewer-skill@0.3.1 install
132
+ npx --ignore-scripts --before "$(date -v-7d +%Y-%m-%d)" reviewer-skill@0.3.2 install --dry-run
133
+ npx --ignore-scripts --before "$(date -v-7d +%Y-%m-%d)" reviewer-skill@0.3.2 install
132
134
 
133
135
  # Linux
134
- npx --ignore-scripts --before "$(date -d '7 days ago' +%Y-%m-%d)" reviewer-skill@0.3.1 install
136
+ npx --ignore-scripts --before "$(date -d '7 days ago' +%Y-%m-%d)" reviewer-skill@0.3.2 install
135
137
  ```
136
138
 
137
139
  `npx` asks "Ok to proceed?" before it downloads the package. Read it and answer it; do not
@@ -142,7 +144,7 @@ optional `CLAUDE.md` and `.gitignore` edits. Without a terminal (an agent runs i
142
144
  creates missing files. An agent names the optional edits explicitly:
143
145
 
144
146
  ```sh
145
- npx --ignore-scripts --before "$(date -v-7d +%Y-%m-%d)" reviewer-skill@0.3.1 install --append-claude-md --gitignore-scratch
147
+ npx --ignore-scripts --before "$(date -v-7d +%Y-%m-%d)" reviewer-skill@0.3.2 install --append-claude-md --gitignore-scratch
146
148
  ```
147
149
 
148
150
  Both edits are idempotent: the `CLAUDE.md` section is added once (marker check), and the
@@ -152,10 +154,10 @@ question with yes.
152
154
  With Bun (Bun does not run lifecycle scripts of packages by default):
153
155
 
154
156
  ```sh
155
- bunx reviewer-skill@0.3.1 install
157
+ bunx reviewer-skill@0.3.2 install
156
158
  ```
157
159
 
158
- Do not install it globally. If you must: `npm install -g --ignore-scripts reviewer-skill@0.3.1`.
160
+ Do not install it globally. If you must: `npm install -g --ignore-scripts reviewer-skill@0.3.2`.
159
161
 
160
162
  ### 3. After the install
161
163
 
@@ -165,6 +167,28 @@ only the installed files, open a draft PR as the first review round, and restart
165
167
 
166
168
  ## Use
167
169
 
170
+ ### Find the skill
171
+
172
+ In Claude Code the skill is called **`review-round`**. `reviewer-skill` is only the name of
173
+ the npm package and this repo. The skill is installed per project, not globally:
174
+
175
+ - `.claude/skills/review-round/SKILL.md` is the skill.
176
+ - `.claude/agents/review-correctness.md`, `review-security.md` and `review-tests.md` are the
177
+ 3 reviewers.
178
+
179
+ Start a new Claude Code session in the project. A session that was already running during the
180
+ install may not know the skill or the agents yet. Then:
181
+
182
+ - Type `/review-round` (it shows up in the autocomplete after `/rev`), or ask for a
183
+ review: the skill's description makes Claude load it for review requests.
184
+ - Open `/agents` to see the 3 reviewers.
185
+
186
+ If the skill does not show up, check that `.claude/skills/review-round/SKILL.md` exists in
187
+ the project root. If it is missing, the install did not run (for example npx stopped with
188
+ `notarget`, see the cooldown above).
189
+
190
+ ### Run a review round
191
+
168
192
  Ask Claude Code: *"Run a review round on PR 123."* The `review-round` skill starts the 3
169
193
  agents in parallel as `review-123-correctness`, `review-123-security`, `review-123-tests`,
170
194
  waits for their verdicts, reads the reports, fixes the findings in the same PR, and sends the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reviewer-skill",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "Installs a 3-reviewer pull-request process (correctness, security, tests) for Claude Code into a project: agents, a review-round skill and a docs template.",
5
5
  "keywords": ["claude-code", "claude", "code-review", "agents", "skill", "pull-request"],
6
6
  "license": "MIT",