CLAUDE.md
CLAUDE.mdCLAUDE.mdroot
Quality
50/100
Scores the file, not the repository.Length
358 words
5 headings · 1 code blocksRepository
0
— · pushed 12 days agoLast changed
3 days ago
First indexed 3 days ago.1# CLAUDE.md23Behavioral guidelines to reduce common LLM coding mistakes. Merge with project-specific instructions as needed.45**Tradeoff:** These guidelines bias toward caution over speed. For trivial tasks, use judgment.67## 1. Think Before Coding89**Don't assume. Don't hide confusion. Surface tradeoffs.**1011Before implementing:12- State your assumptions explicitly. If uncertain, ask.13- If multiple interpretations exist, present them - don't pick silently.14- If a simpler approach exists, say so. Push back when warranted.15- If something is unclear, stop. Name what's confusing. Ask.1617## 2. Simplicity First1819**Minimum code that solves the problem. Nothing speculative.**2021- No features beyond what was asked.22- No abstractions for single-use code.23- No "flexibility" or "configurability" that wasn't requested.24- No error handling for impossible scenarios.25- If you write 200 lines and it could be 50, rewrite it.2627Ask yourself: "Would a senior engineer say this is overcomplicated?" If yes, simplify.2829## 3. Surgical Changes3031**Touch only what you must. Clean up only your own mess.**3233When editing existing code:34- Don't "improve" adjacent code, comments, or formatting.35- Don't refactor things that aren't broken.36- Match existing style, even if you'd do it differently.37- If you notice unrelated dead code, mention it - don't delete it.3839When your changes create orphans:40- Remove imports/variables/functions that YOUR changes made unused.41- Don't remove pre-existing dead code unless asked.4243The test: Every changed line should trace directly to the user's request.4445## 4. Goal-Driven Execution4647**Define success criteria. Loop until verified.**4849Transform tasks into verifiable goals:50- "Add validation" → "Write tests for invalid inputs, then make them pass"51- "Fix the bug" → "Write a test that reproduces it, then make it pass"52- "Refactor X" → "Ensure tests pass before and after"5354For multi-step tasks, state a brief plan:55```561. [Step] → verify: [check]572. [Step] → verify: [check]583. [Step] → verify: [check]59```6061Strong success criteria let you loop independently. Weak criteria ("make it work") require constant clarification.6263---6465**These guidelines are working if:** fewer unnecessary changes in diffs, fewer rewrites due to overcomplication, and clarifying questions come before implementation rather than after mistakes.66
Also in harritaito/harritaito.github.io
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| harritaito/harritaito.github.io.clinerules/10-ui.md · 0 | Cline rules | teststyleuido-not | 40/100 | 3 days ago | |
| harritaito/harritaito.github.io.clinerules/00-project.md · 0 | Cline rules | buildteststylegit+2 | 78/100 | 3 days ago | |
| harritaito/harritaito.github.io.clinerules/20-docs.md · 0 | Cline rules | buildteststyledo-not+1 | 52/100 | 3 days ago | |
| harritaito/harritaito.github.io.clinerules/30-tests.md · 0 | Cline rules | teststyletesting-strategydo-not | 40/100 | 3 days ago | |
| harritaito/harritaito.github.io.codex/AGENTS.md · 0 | AGENTS.md | buildteststylegit+1 | 45/100 | 3 days ago | |
| harritaito/harritaito.github.ioAGENTS.md · 0 | AGENTS.md | buildteststylegit+1 | 88/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| bagisto/bagistoCLAUDE.md · 28k | CLAUDE.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| livewire/livewireCLAUDE.md · 24k | CLAUDE.md | setupbuildteststyle+4 | 100/100 | 3 days ago | |
| dotCMS/corecore-web/CLAUDE.md · 949 | CLAUDE.md | teststylearchtesting-strategy+3 | 100/100 | 3 days ago | |
| nimbalyst/nimbalystpackages/android/CLAUDE.md · 1.4k | CLAUDE.md | setupbuildstylearch+2 | 100/100 | 3 days ago | |
| microsoft/playwrightCLAUDE.md · 94k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| filamentphp/filamentCLAUDE.md · 32k | CLAUDE.md | buildtestlint-formatstyle+7 | 100/100 | 3 days ago | |
| Adit-Jain-srm/NightmareNetCLAUDE.md · 45 | CLAUDE.md | buildtestlint-formatstyle+6 | 100/100 | 3 days ago | |
| dotCMS/coreCLAUDE.md · 949 | CLAUDE.md | setupbuildteststyle+7 | 99/100 | today |
