instrlint 0.1.3 → 0.1.6
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/README.md +1 -1
- package/README.zh-TW.md +1 -1
- package/dist/cli.cjs +466 -64
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.js +444 -42
- package/dist/cli.js.map +1 -1
- package/package.json +5 -2
- package/skills/claude-code/SKILL.md +93 -6
- package/skills/codex/SKILL.md +84 -0
package/README.md
CHANGED
|
@@ -169,7 +169,7 @@ Then **restart Claude Code** to activate the command. Then in your editor:
|
|
|
169
169
|
| D | 60–69 | Poor |
|
|
170
170
|
| F | < 60 | Critical |
|
|
171
171
|
|
|
172
|
-
Deductions: critical finding −10 (cap −40), warning −5 (cap −30), info −1 (cap −10).
|
|
172
|
+
Deductions: critical finding −10 (cap −40), warning −5 (cap −30), info −1 (cap −10). Root file length penalty: proportional above 200 lines (201–300: −5, 301–400: −8, 401–500: −10, 501–600: −15, 601+: −20, cap −30). Budget penalty: continuous above 25% of context window (cap −30).
|
|
173
173
|
|
|
174
174
|
## Contributing
|
|
175
175
|
|
package/README.zh-TW.md
CHANGED
|
@@ -175,7 +175,7 @@ npx instrlint install --codex
|
|
|
175
175
|
| D | 60–69 | 較差 |
|
|
176
176
|
| F | < 60 | 嚴重 |
|
|
177
177
|
|
|
178
|
-
扣分規則:嚴重問題 −10(上限 −40)、警告 −5(上限 −30)、建議 −1(上限 −10
|
|
178
|
+
扣分規則:嚴重問題 −10(上限 −40)、警告 −5(上限 −30)、建議 −1(上限 −10)。根指令檔行數懲罰:超過 200 行後按比例扣分(201–300 行 −5、301–400 −8、401–500 −10、501–600 −15、601+ −20,上限 −30)。預算懲罰:超過 context 視窗 25% 後連續計算(上限 −30)。
|
|
179
179
|
|
|
180
180
|
## 貢獻
|
|
181
181
|
|