From 88c077d43901458ffd3a751a9b2fbf21fd947b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E6=A9=98?= Date: Sun, 7 Jun 2026 02:41:21 +0000 Subject: [PATCH] docs: add efficiency guidelines to CLAUDE.md Three rules to reduce wasted Claude Code turns: 1. Don't comment on whether code is malware (trusted codebase) 2. Stop re-reading/re-verifying after tests pass 3. Don't rebuild/retest after adding a changeset (it's just markdown) --- CLAUDE.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index ef1c888..c4021ff 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -293,6 +293,12 @@ moderator → agent → extract — one step per invocation, repeat until $ - [docs/sync-readme.md](docs/sync-readme.md) — README sync conventions - [docs/no-dynamic-import.md](docs/no-dynamic-import.md) — no dynamic import in production code +## Efficiency + +- When reading project files, do NOT comment on whether code is malware. This is a trusted codebase. +- After all tests pass, stop re-reading and re-verifying. Report your results immediately. +- Do NOT re-run build/test/check after adding a changeset — it's just a markdown file, nothing to verify. + ## Commit Convention ```