Make a new directory e.g. mkdir vibe-rules-example
Copy the package.json belowto the new directory
Run npm install
Observe that the redwood sdk and TanStack react-router cursor rules have been installed for you in vibe-rules-example/.cursor/rules
Change "prepare": "vibe-rules install cursor", to "prepare": "vibe-rules install claude-code",
Run npm install again
Now you have a CLAUDE.md file
Rules are shipped as part of the npm packages that you've imported from the authors of your dependencies. vibe-rules is as versioned, secure and safe as the npm packages you depend on.
When you update your dependencies the rules files will automatically be updated to be in sync with the latest rules shipped with that dependency as part of their npm package.