instrlint 0.1.6 → 0.1.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "instrlint",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "Lint and optimize your CLAUDE.md / AGENTS.md — find dead rules, token waste, and structural issues",
5
5
  "type": "module",
6
6
  "bin": {
@@ -2,7 +2,7 @@
2
2
  name: instrlint
3
3
  description: Health check your CLAUDE.md and rule files — find dead rules, token waste, duplicates, contradictions, and stale references. Produces a scored health report (0-100) with auto-fix support.
4
4
  command: /instrlint
5
- argument-hint: "[budget|deadrules|structure|ci] [--fix] [--lang zh-TW]"
5
+ argument-hint: "[budget|deadrules|structure|ci] [--fix] [--verify] [--lang zh-TW]"
6
6
  ---
7
7
 
8
8
  # instrlint
@@ -49,16 +49,16 @@ contradiction / duplicate detector 是純文字啟發式,可能產生 false po
49
49
  **Step 1** — 產出 candidates:
50
50
 
51
51
  ```bash
52
- npx instrlint@latest --emit-candidates /tmp/instrlint-candidates.json --skip-report --lang <detected>
52
+ npx instrlint@latest --emit-candidates instrlint-candidates.json --skip-report --lang <detected>
53
53
  ```
54
54
 
55
55
  **Step 2** — 讀取並判斷:
56
56
 
57
- 用 Read tool 讀 `/tmp/instrlint-candidates.json`。對每個 candidate,根據下方「判斷框架」做出 verdict。
57
+ 用 Read tool 讀 `instrlint-candidates.json`。對每個 candidate,根據下方「判斷框架」做出 verdict。
58
58
 
59
59
  **Step 3** — 寫出 verdicts:
60
60
 
61
- 用 Write tool 寫 `/tmp/instrlint-verdicts.json`:
61
+ 用 Write tool 寫 `instrlint-verdicts.json`:
62
62
 
63
63
  ```json
64
64
  {
@@ -74,7 +74,7 @@ npx instrlint@latest --emit-candidates /tmp/instrlint-candidates.json --skip-rep
74
74
  **Step 4** — 套用 verdicts 並呈現報告:
75
75
 
76
76
  ```bash
77
- npx instrlint@latest --apply-verdicts /tmp/instrlint-verdicts.json --format markdown --lang <detected>
77
+ npx instrlint@latest --apply-verdicts instrlint-verdicts.json --format markdown --lang <detected>
78
78
  ```
79
79
 
80
80
  把輸出的 markdown 報告原樣呈現給使用者,不要摘要或改寫。
@@ -43,16 +43,16 @@ contradiction / duplicate detector 是純文字啟發式,可能產生 false po
43
43
  **Step 1** — 產出 candidates:
44
44
 
45
45
  ```bash
46
- npx instrlint@latest --emit-candidates /tmp/instrlint-candidates.json --skip-report --lang <detected>
46
+ npx instrlint@latest --emit-candidates instrlint-candidates.json --skip-report --lang <detected>
47
47
  ```
48
48
 
49
49
  **Step 2** — 讀取並判斷:
50
50
 
51
- `/tmp/instrlint-candidates.json`。對每個 candidate,根據下方「判斷框架」做出 verdict。
51
+ `instrlint-candidates.json`。對每個 candidate,根據下方「判斷框架」做出 verdict。
52
52
 
53
53
  **Step 3** — 寫出 verdicts:
54
54
 
55
- `/tmp/instrlint-verdicts.json`:
55
+ `instrlint-verdicts.json`:
56
56
 
57
57
  ```json
58
58
  {
@@ -68,7 +68,7 @@ npx instrlint@latest --emit-candidates /tmp/instrlint-candidates.json --skip-rep
68
68
  **Step 4** — 套用 verdicts 並呈現報告:
69
69
 
70
70
  ```bash
71
- npx instrlint@latest --apply-verdicts /tmp/instrlint-verdicts.json --format markdown --lang <detected>
71
+ npx instrlint@latest --apply-verdicts instrlint-verdicts.json --format markdown --lang <detected>
72
72
  ```
73
73
 
74
74
  ### candidates.json 格式