You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+10-3Lines changed: 10 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,12 @@ Mapbox GL JS is a JavaScript library for interactive, customizable vector maps o
8
8
9
9
## Workflow
10
10
- Make changes as concise as possible, ensure they are minimal and fully justified
11
+
- Read and understand relevant files before proposing code edits. If the user references a specific file/path, inspect it before explaining or proposing fixes.
12
+
- Understand WHY code exists before changing it. GL JS handles browser quirks, performance hacks, and WebGL state subtleties. Non-obvious patterns often exist for a reason—check git blame when in doubt.
13
+
- Avoid over-engineering. Only make changes that are directly requested or clearly necessary.
14
+
- Don't add features, refactor code, or make "improvements" beyond what was asked
15
+
- Don't create helpers or abstractions until you see repetition
0 commit comments