CLAUDE.md@template · git:20261119.9c801b4 · 2026-11-19 · sha256 e6e87073f1c29bc2
CLAUDE.md@template git:20261119.9c801b4A
Immutable. This exact content never changes and is served at /api/v1/blob/e6e87073f1c29bc2.
## graphify
If `graphify-out/graph.json` exists: `graphify query "<question>"` before any raw read (`path "<A>" "<B>"`, `explain "<concept>"`); `graphify-out/wiki/index.md` for the big picture; **never** read `graph.json`/`GRAPH_REPORT.md` in full; `graphify update .` after code changes (AST, no API cost). Otherwise, ignore this section.
## Skill routing
Adapt/remove lines that do not fit the stack.
- Architecture/exploration before raw reading → `graphify`.
- UI (adapt to the stack): new component/redesign → `designer` if flows/specs are undecided (it applies its preloaded `ux-intuitive` skill: color roles, button system, motion, emotion map, zero-thinking checklist), then `design-taste-frontend` (anti-slop), `frontend-design`, `ui-ux-pro-max`; audit/touch-up of a screen → `impeccable`; chart → `dataviz` before the code; RN animation → `motion-design-rn` + `accessibility-motion` (reduced-motion mandatory), `haptics` if touch, no sound by default.
- Bug/failing test → `systematic-debugging` before any fix.
- Feature or fix → `test-driven-development` (test before code). Ambiguous feature → `brainstorming` first.
- 2+ independent tasks → `dispatching-parallel-agents`; workspace isolation → `using-git-worktrees`; in-session plan with independent tasks → `subagent-driven-development`.
- Auth/tokens/encryption/secrets → `security-review` before merge (`security-guidance` as a complement).
- Frontend created or touched: tested responsive (mobile/tablet/desktop) and visually validated (`run` then `playwright` or `claude-in-chrome`) before declaring done — a passing build is not enough. This validation follows `crew/CLAUDE_CONTEXT/TESTS_POLICY.md`.
- Scriptable browser test with `playwright` → `crew/TESTS/IA`, not `DEV`.
- End of task: `requesting-code-review` then `simplify` before committing **if the diff exceeds ~50 lines or touches an engine/auth/hook file** (docs only, rename, typo: `verification-before-completion` is enough); review feedback received → `receiving-code-review`; branch ready → `finishing-a-development-branch`.
- Before claiming "done/tested/works" → `verification-before-completion` (actually run the tests). LSP diagnostics do not replace the test suite/build.
- After a lasting change to `CLAUDE.md`/`AGENTS.md`/crew rules → `claude-md-management`.
- LLM/agent: check the real provider (`grep`) before `claude-api`.
- Multi-step tracking: **`crew/TODO` → `CURRENT_TASKS` → `HISTORY`/`TESTS` is the single source of truth**; do not duplicate it with `writing-plans`/`executing-plans`/`TaskCreate` (reserved for sessions outside the crew scope).
## Personas (`Agent({subagent_type: "<name>"})`) — mandatory routing
Roles, not procedures; dispatch when the decision has ≥2 real options in the domain (or on request), never for an obvious answer. `legal`/`architect`: strict (real doubt included); the others at your judgment. Personas never implement.
`ceo` prioritization/scope · `manager` task breakdown/batches (writes under `crew/`) · `architect` structuring technical choice · `designer` UX/UI decision · `legal` new legal exposure (before coding) · `comms` copy/brand tone · `social` social-network distribution · `seo` search/store visibility (if public web surface). Starting an existing task → `/crew-start`, not `manager`. Detailed criteria: `crew/CLAUDE_CONTEXT/LIFECYCLE.md` § Personas.
## Dedicated crew commands (`/crew-*`)
Tooled execution of the lifecycle and batching (procedures in each skill):
- `/crew-init` — scaffold bootstrap (once only); `/crew-update` — updates engine files without touching data.
- `/crew-new-task` — creates a task (`TODO/` or `CURRENT_TASKS/`) with batching.
- `/crew-start` — resumes or starts a task (anti-collision, worktree per batch) through to closure.
- `/crew-close-task` — closure (review, `simplify`, history, tests).
- `/crew-status` — read-only report; `/crew-count` — batches that can run in parallel; `/crew-dashboard` — local web dashboard; `/crew-collab` — team mode (name + remote claims, solo by default); `/crew-version` — crew-mates version.
## Tasks, batching, context — read `crew/CLAUDE_CONTEXT/LIFECYCLE.md` before creating/moving a task or editing `CLAUDE_BATCH.md` outside a `/crew-*` command (they inline the rules)
Always-on rules (details in that doc):
- A task = one `.md` that moves (`PROBLEMS/`→`TODO/`→`CURRENT_TASKS/`→`PAUSED/`→`HISTORY.md`+`TESTS/`), never in two folders; never a bare move, go through `/crew-start`. Single source of truth = `crew/`.
- One batch = one Claude; the zones (`Zone :` lines) of active batches are disjoint. Every new task is added to `crew/CLAUDE_BATCH.md`.
- Never read a file > 100 lines in full without bounding it with grep; never the full output of a long command.
- Large conversation (~150k tokens): recommend `/clear` or a new session.
- `crew/` is unique at the repo root: resolve `git rev-parse --show-toplevel` before any `crew/...` write.
- Global guide `crew/CLAUDE_CONTEXT/AGENTS.md`; one `AGENTS.md` per significant subtree.