Created
June 8, 2025 20:44
-
-
Save eastlondoner/f24519a23d0073f3c3b5a82eeca72074 to your computer and use it in GitHub Desktop.
Revisions
-
eastlondoner revised this gist
Jun 8, 2025 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,7 +2,7 @@ Make a new directory e.g. `mkdir vibe-rules-example` Copy the `package.json` belowto the new directory Run `npm install` -
eastlondoner created this gist
Jun 8, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ # vibe-rules example Make a new directory e.g. `mkdir vibe-rules-example` Copy the `package.json` above to 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. This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ { "name": "end-user-package", "scripts": { "prepare": "vibe-rules install cursor", "vibe-rules": "vibe-rules" }, "devDependencies": { "vibe-rules": "0.2.57" }, "dependencies": { "@tanstack/react-router": "latest", "rwsdk": "latest" } }