init
Bootstrap a repo with navori. Detects the stack, asks a few questions, and leaves everything ready in a minute.
Usage
navori init [--full] [--recommended] [--yes] [--scan-monorepo] [--pre-commit-hook]
Flags
--full Maximal mode: --recommended + all plugins + pre-commit hook + monorepo scan + strict project block (posture/reviewRigor/testsForNewCode). --recommended Opinionated mode: --yes + auto-enable recommended plugins (engram, +gh on GitHub repos). --yes, -y Accept everything detected without prompting (CI-friendly). --lang <es|en> Wizard language. Default: es. --scan-monorepo If a monorepo is detected, scan its workspaces and assign a preset to each. --pre-commit-hook Opt-in: scaffold a pre-commit hook that runs 'navori doctor --strict'. --no-render Write the config but don't render yet. Examples
Interactive
$ npx navori init ? Wizard › English → stack: Next.js · pnpm ? Preset › nextjs ✓ navori.config.json ✓ Done — 5 created
Non-interactive (CI)
npx navori init --recommended --yes
Notes
- If a hand-rolled .claude/ already exists, init coexists: it only adds blocks wrapped with managed markers.
- navori.config.json is the source of truth. Commit it to your repo.