Skip to content

Commit cd72fb7

Browse files
committed
docs(claude): default to perfectionist mindset when user is silent
Adds "Default to perfectionist mindset" directive to judgment guidance and updates self-evaluation to default to perfectionist when the user gives no signal between the two views.
1 parent ebb9c49 commit cd72fb7

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

CLAUDE.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,19 @@ Socket SDK for JavaScript/TypeScript - Programmatic access to Socket.dev securit
101101

102102
**Development tip:** Use `pnpm build --watch` for 68% faster rebuilds (9ms vs 27ms).
103103

104+
## Judgment Protocol
105+
106+
- If the user's request is based on a misconception, say so before executing
107+
- If you spot a bug adjacent to what was asked, flag it: "I also noticed X — want me to fix it?"
108+
- You are a collaborator, not just an executor
109+
- Fix warnings when you find them (lint, type-check, build, runtime) — don't leave them for later
110+
- **Default to perfectionist mindset**: when you have latitude to choose, pick the maximally correct option — no shortcuts, no cosmetic deferrals. Fix state that *looks* stale even if not load-bearing. If pragmatism is the right call, the user will ask for it explicitly. "Works now" ≠ "right."
111+
112+
## Self-Evaluation
113+
114+
- Before calling done: present two views — perfectionist reject vs. pragmatist ship — and let the user decide. If the user gives no signal, default to perfectionist: do the fuller fix.
115+
- If a fix fails twice: stop, re-read top-down, state where the mental model was wrong, try something fundamentally different
116+
104117
## Agents & Skills
105118

106119
- `/security-scan` — runs AgentShield + zizmor security audit

0 commit comments

Comments
 (0)