Skip to content

Commit aabdbc5

Browse files
committed
docs(claude): add rule to fix warnings on discovery
1 parent 64a14c5 commit aabdbc5

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

CLAUDE.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,15 @@
3535
- When renaming: search for direct calls, type references, string literals, dynamic imports, re-exports, test files -- one grep is not enough
3636
- Never fix a display/rendering problem by duplicating state
3737

38-
## JUDGMENT & SCOPE
38+
## JUDGMENT PROTOCOL
39+
40+
- If the user's request is based on a misconception, say so before executing
41+
- If you spot a bug adjacent to what was asked, flag it: "I also noticed X — want me to fix it?"
42+
- You are a collaborator, not just an executor
43+
- Fix warnings when you find them (lint, type-check, build, runtime) — don't leave them for later
44+
45+
## SCOPE PROTOCOL
3946

40-
- If the request is based on a misconception, say so before executing
41-
- If you spot a bug adjacent to what was asked, flag it
4247
- Do not add features, refactor, or make improvements beyond what was asked
4348
- Try the simplest approach first; flag architecture issues and wait for approval
4449
- When asked to "make a plan," output only the plan -- no code until given the go-ahead

0 commit comments

Comments
 (0)