docs(claude-md): trim decorative separators + blank lines
Whitespace-only rognage, zero content/instruction changed: 286 -> 275. - Drop 4 '---' section rules (the '#' headers already delimit sections). - Drop 2 intro->list blanks (consistency with the compressed sections). - Drop 1 orphan header-to-header blank (Tooling & skills -> Skill routing). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01W9sqAwZxBMZSynZoVrEJhd
This commit is contained in:
parent
ba743cf356
commit
990318ce9d
11
CLAUDE.md
11
CLAUDE.md
@ -126,8 +126,6 @@ Completion skills (`/ship-feature`, `/feat`, `/bugfix`, `/hotfix`,
|
|||||||
2. What learned? → `learnings.md` (if reusable).
|
2. What learned? → `learnings.md` (if reusable).
|
||||||
3. What blocked? → `blockers.md`.
|
3. What blocked? → `blockers.md`.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
# Architecture decisions
|
# Architecture decisions
|
||||||
|
|
||||||
Override default framework/tooling choices. Apply at project creation,
|
Override default framework/tooling choices. Apply at project creation,
|
||||||
@ -137,7 +135,6 @@ scaffolding, brainstorming.
|
|||||||
|
|
||||||
When project is public-facing website meant to be indexed (landing page,
|
When project is public-facing website meant to be indexed (landing page,
|
||||||
portfolio, blog, e-commerce, docs):
|
portfolio, blog, e-commerce, docs):
|
||||||
|
|
||||||
- **FORBIDDEN**: pure SPA (CRA, Vite React SPA, Vue SPA) for public pages.
|
- **FORBIDDEN**: pure SPA (CRA, Vite React SPA, Vue SPA) for public pages.
|
||||||
SPA sends empty HTML shell — search engines and AI engines (GEO) can't
|
SPA sends empty HTML shell — search engines and AI engines (GEO) can't
|
||||||
see content without executing JS. SEO and AI visibility destroyed.
|
see content without executing JS. SEO and AI visibility destroyed.
|
||||||
@ -157,7 +154,6 @@ portfolio, blog, e-commerce, docs):
|
|||||||
## Web APIs — always versioned
|
## Web APIs — always versioned
|
||||||
|
|
||||||
All web API endpoints must be versioned from day one: `/api/v1/...`.
|
All web API endpoints must be versioned from day one: `/api/v1/...`.
|
||||||
|
|
||||||
- New project → start at `/api/v1/`, no bare `/api/` routes.
|
- New project → start at `/api/v1/`, no bare `/api/` routes.
|
||||||
- Breaking changes → new version (`v2`). Old version stays functional —
|
- Breaking changes → new version (`v2`). Old version stays functional —
|
||||||
clients migrate at own pace.
|
clients migrate at own pace.
|
||||||
@ -207,8 +203,6 @@ Apply at every dev step: design, scaffolding, implementation, review.
|
|||||||
- Functions, processes, services request only permissions actually needed.
|
- Functions, processes, services request only permissions actually needed.
|
||||||
- Temporary elevated permissions must be scoped and reverted explicitly.
|
- Temporary elevated permissions must be scoped and reverted explicitly.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
# Communication mode: radical honesty
|
# Communication mode: radical honesty
|
||||||
|
|
||||||
- TRUTH OVER COMFORT — Point out flaws immediately. No sugarcoating,
|
- TRUTH OVER COMFORT — Point out flaws immediately. No sugarcoating,
|
||||||
@ -223,10 +217,7 @@ Apply at every dev step: design, scaffolding, implementation, review.
|
|||||||
- UNCERTAINTY TRANSPARENCY — If you don't know, say so. No invention,
|
- UNCERTAINTY TRANSPARENCY — If you don't know, say so. No invention,
|
||||||
no vague answers to save face.
|
no vague answers to save face.
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
# Tooling & skills
|
# Tooling & skills
|
||||||
|
|
||||||
## Skill routing
|
## Skill routing
|
||||||
|
|
||||||
Request matches a skill → invoke via Skill tool first, before any direct
|
Request matches a skill → invoke via Skill tool first, before any direct
|
||||||
@ -276,8 +267,6 @@ directly.
|
|||||||
- `wiki/index.md` → broad-nav entry; `GRAPH_REPORT.md` → whole-architecture.
|
- `wiki/index.md` → broad-nav entry; `GRAPH_REPORT.md` → whole-architecture.
|
||||||
- After editing code → `graphify update .` (AST-only, free).
|
- After editing code → `graphify update .` (AST-only, free).
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
# This repo only (claude-config)
|
# This repo only (claude-config)
|
||||||
|
|
||||||
Apply when working directory = the claude-config repo itself.
|
Apply when working directory = the claude-config repo itself.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user