Never edit tracked files by running a script. No sed, no perl, no one-liners that write files, because each lands a change with no reviewable diff.
/no-scripted-editing rename userId to accountId across the app- The rule
- What counts as scripted editing
- Three specific failures this prevents
- What is still fine
- When a script genuinely is the right tool
- What to do instead
Quoted from the skill