@@ -9,7 +9,7 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
991 .  ** ALWAYS run ` bundle exec rubocop `  and fix ALL violations** 
10102 .  ** ALWAYS ensure files end with a newline character** 
11113 .  ** NEVER push without running full lint check first** 
12- 4 .  ** ALWAYS let Prettier handle ALL formatting - never manually format** 
12+ 4 .  ** ALWAYS let Prettier and RuboCop  handle ALL formatting - never manually format** 
1313
1414These requirements are non-negotiable. CI will fail if not followed.
1515
@@ -39,10 +39,11 @@ Git hooks will automatically run linting on **all changed files (staged + unstag
3939-  ** Build** : ` yarn run build `  (compiles TypeScript to JavaScript in node_package/lib)
4040-  ** Type checking** : ` yarn run type-check ` 
4141-  ** ⚠️ MANDATORY BEFORE GIT PUSH** : ` bundle exec rubocop `  and fix ALL violations + ensure trailing newlines
42+ -  Never run ` npm `  commands, only equivalent Yarn Classic ones
4243
4344## ⚠️ FORMATTING RULES  
4445
45- ** Prettier is the SOLE authority for formatting. NEVER manually format code.** 
46+ ** Prettier is the SOLE authority for formatting non-Ruby files, and RuboCop for formatting Ruby files . NEVER manually format code.** 
4647
4748### Standard Workflow  
48491 .  Make code changes
@@ -120,10 +121,10 @@ This project maintains both a Ruby gem and an NPM package:
120121## Important Notes  
121122
122123-  Use ` yalc `  for local development when testing with external apps
123- -  The project supports both Webpacker and Shakapacker
124124-  Server-side rendering uses isolated Node.js processes
125125-  React Server Components support available in Pro version
126126-  Generated examples are in ` gen-examples/ `  (ignored by git)
127+ -  Only use ` yarn `  as the JS package manager, never ` npm ` 
127128
128129## IDE Configuration  
129130
0 commit comments