forked from bchanot/claude
feat(doctrine): architecture defaults move to lib/architecture-defaults.md, Web APIs to rules/rest-api.md
This commit is contained in:
1 parent
de6e51ce7a
commit
2fe5291a13
13 files changed
+92
-66
No files matched your search
@@ -273,8 +273,9 @@ Then offer to capitalize (per CLAUDE.md): recurring finding patterns →
|
||||
errors, resource leaks (missing trap/close/finally). Improvements only
|
||||
when concrete and local: simplification, dedup against an existing
|
||||
helper, obvious perf.
|
||||
- **conformity** — read project `CLAUDE.md` (+ `~/.claude/CLAUDE.md`)
|
||||
FIRST, then check changed code against those norms. This repo's:
|
||||
- **conformity** — read project `CLAUDE.md` (+ `~/.claude/CLAUDE.md` and
|
||||
`~/.claude/lib/architecture-defaults.md`) FIRST, then check changed code
|
||||
against those norms. This repo's:
|
||||
≤25 logic lines/function, ≤80 chars/line, ≤5 params, ≤5 locals, no
|
||||
global state, intent-not-mechanics comments, explicit naming, versioned
|
||||
APIs (`/api/v1/`), no-SPA-for-public-sites, security defaults. Foreign
|
||||
|
||||
Reference in new issue
Block a user