Skip to content

v0.7.0 — Init Wizard, Strict Mode, 22 Library Rules

Choose a tag to compare

@Rahulseh1998 Rahulseh1998 released this 24 Apr 06:56

What's New

Interactive Setup

  • onerules init — beautiful interactive wizard with tool selection, stack preview, and confirmation

Rule Modes

  • --strict — extra aggressive rules (max function length, no default exports, mandatory regression tests)
  • --minimal — base anti-slop rules only, skip framework/library details
  • Default: 1190 rules | Strict: 1394 | Minimal: 530

Stack-Aware Library Rules

22 libraries with specific anti-slop rules:
Prisma, Drizzle, Zod, tRPC, Tailwind CSS, React Query, Zustand, Redux Toolkit, Radix UI, Framer Motion, Stripe, NextAuth, Lucia, Mongoose, SQLAlchemy, Pydantic, Celery, Redis, Socket.io, GraphQL, Jotai

New Commands

  • onerules inspect — shows what was detected and which rules will apply
  • onerules init — interactive setup wizard

More Coverage

  • 12 AI tools — added Kiro (AWS) and Continue
  • 23 frameworks — added Svelte, Actix, Tauri, Electron, React Native
  • .onerulesrc — custom rules that survive updates
  • .gitignore awareness — warns about ignored files

Quality

  • 30 tests across 4 test files
  • GitHub Actions CI on Node 18/20/22
  • Before/after comparison GIFs in README

Install

npm i -g @blackforge/onerules
onerules