redline-review 1.0.0 → 1.0.1

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 +13 -30
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -8,36 +8,19 @@ Adaptive AI code review skill for any frontier agent — context-aware, rule-dri
8
8
 
9
9
  ## Getting started
10
10
 
11
- ### Step 1 — Clone the repo
11
+ ### Step 1 — Install
12
12
 
13
13
  ```bash
14
- git clone https://github.com/nabil1440/redline-review
15
- cd redline-review
14
+ npm install -g redline-review
16
15
  ```
17
16
 
18
- ### Step 2 — Install dependencies and build
19
-
20
- ```bash
21
- npm install
22
- ```
23
-
24
- The build runs automatically as part of install (`prepare` script). You should see `tsc` compile without errors.
25
-
26
- ### Step 3 — Install globally
27
-
28
- ```bash
29
- npm link
30
- ```
31
-
32
- This makes `redline-review` available as a global command from any directory on your machine.
33
-
34
- ### Step 4 — Verify it works
17
+ ### Step 2 — Verify it works
35
18
 
36
19
  ```bash
37
20
  which redline-review
38
21
  # → /path/to/node/bin/redline-review
39
22
 
40
- redline-review --help 2>&1 || redline-review | head -5
23
+ redline-review | head -5
41
24
  ```
42
25
 
43
26
  ---
@@ -50,7 +33,7 @@ There are two ways to install the command — global (recommended) or per-projec
50
33
 
51
34
  ```bash
52
35
  mkdir -p ~/.claude/commands
53
- cp /path/to/redline-review/adapters/claude/redline-review.md ~/.claude/commands/redline-review.md
36
+ cp $(npm root -g)/redline-review/adapters/claude/redline-review.md ~/.claude/commands/redline-review.md
54
37
  ```
55
38
 
56
39
  That's it. Open any project in Claude Code and `/redline-review` will be available immediately — no per-project setup needed.
@@ -60,7 +43,7 @@ That's it. Open any project in Claude Code and `/redline-review` will be availab
60
43
  ```bash
61
44
  cd /your/project
62
45
  mkdir -p .claude/commands
63
- cp /path/to/redline-review/adapters/claude/redline-review.md .claude/commands/redline-review.md
46
+ cp $(npm root -g)/redline-review/adapters/claude/redline-review.md .claude/commands/redline-review.md
64
47
  ```
65
48
 
66
49
  ### Step 6 — Use it in Claude Code
@@ -222,13 +205,13 @@ Domains (auto-detected): auth.yaml, concurrency.yaml, performance-db.yaml
222
205
 
223
206
  Adapter files for other agents are in `adapters/`:
224
207
 
225
- | Agent | File to use |
226
- | -------------- | -------------------------------------------------------------------------- |
227
- | Claude Code | `adapters/claude/redline-review.md` → `.claude/commands/redline-review.md` |
228
- | GitHub Copilot | `adapters/copilot/redline-review.md` → `.github/copilot-instructions.md` |
229
- | Codex CLI | `adapters/codex/redline-review.md` → `AGENTS.md` |
230
- | OpenCode | `adapters/opencode/redline-review.md` → `AGENTS.md` |
231
- | Anti-gravity | `adapters/antigravity/redline-review.md` |
208
+ | Agent | Command |
209
+ | -------------- | -------------------------------------------------------------------------------------------------------------------------------- |
210
+ | Claude Code | `cp $(npm root -g)/redline-review/adapters/claude/redline-review.md ~/.claude/commands/redline-review.md` |
211
+ | GitHub Copilot | `cp $(npm root -g)/redline-review/adapters/copilot/redline-review.md .github/copilot-instructions.md` |
212
+ | Codex CLI | `cp $(npm root -g)/redline-review/adapters/codex/redline-review.md AGENTS.md` |
213
+ | OpenCode | `cp $(npm root -g)/redline-review/adapters/opencode/redline-review.md AGENTS.md` |
214
+ | Anti-gravity | `cp $(npm root -g)/redline-review/adapters/antigravity/redline-review.md <your-config-path>` |
232
215
 
233
216
  Each adapter follows the same pattern: run `redline-review`, take the output as the review task.
234
217
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "redline-review",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Adaptive AI code review skill for any frontier agent — context-aware, rule-driven, diff-native",
5
5
  "keywords": [
6
6
  "code-review",