v0.8.0 — Doctor, Monorepo, 25 Library Rules
New Commands
onerules doctor
Scores your existing rule files 0-100. Detects 12 weak patterns and suggests anti-slop replacements:
CLAUDE.md (Claude Code) — Score: 14/100
⚠ "Follow best practices" is too vague — AI ignores it
→ Replace with specific anti-patterns
⚠ "Write clean code" is meaningless to an AI
→ Replace with concrete rules
✗ Missing: DO NOT rules
✗ Missing: Security rules
onerules monorepo
Detects workspaces (pnpm, yarn, npm, turbo, nx) and generates per-workspace rules with workspace-specific stack detection.
3 New Library Rules
- Three.js — dispose GPU resources, InstancedMesh, no render-loop allocation
- Playwright — use locators not selectors, no waitForTimeout
- Cypress — use data-cy, no cy.wait(5000), no async/await mixing
25 total libraries with specific anti-slop rules.
Install
npm i -g @blackforge/onerules
onerules doctor # Score your existing rules
onerules # Generate anti-slop rules