Read
@AGENTS.mdfirst. It is the shared cross-tool brief — stack, setup, build/test commands, validation gates, architecture, conventions, safety, and git flow. This file adds only Claude-specific operating context on top; it does not repeat AGENTS.md content.
@AGENTS.md
Claude pulls these in on demand — load only what the task touches.
- Developer guide & tech stack: @docs/_base/DEV_GUIDE.md
- Architecture & boundaries: @docs/_base/ARCHITECTURE.md
- API contracts & interfaces: @docs/_base/API_CONTRACTS.md
- Operational runbooks: @docs/_base/RUNBOOKS.md
- Security & compliance: @docs/_base/SECURITY.md
- Rules & constraints: @docs/_base/RULES.md
- Domain model & glossary: @docs/_base/DOMAIN_MODEL.md
- Service & dependency map: @docs/_base/REPO_MAP_INDEX.md
- Pipeline contract (CI/CD): @docs/_base/PIPELINE_CONTRACT.md
Project rules are enforced via
.claude/rules/(commit-format, branch-naming, security-patterns, product-vision, test-requirements, ui-design, shadcn-ui, versioning, output-formatting). Read those first — they are authoritative on detail.
Full constraint matrix: docs/_base/RULES.md. Hard rules and stop-and-ask gates: @AGENTS.md
§ Safety. When a change is ambiguous or hard to reverse, surface the concern before acting.
uv run ruff check . && uv run mypy app/ && uv run pyright app/ && uv run pytest -v -m "not integration"
gh issue view <N> --json state # confirm the referenced issue exists
wc -l CLAUDE.md # must stay ≤ 150- Open or pick a GitHub issue (
gh issue list); branch offdevperbranch-naming.md. - Implement inside the matching
app/features/<slice>/(or a new slice with a PRP). - Run the validation gates (
@AGENTS.md§ Validation Gates) locally before pushing. - (DB/UI touched) Run integration tests + frontend type-check + dogfood via the webapp-testing skill.
- Commit
type(scope): description (#issue); push; open a PR intodev; merge once CI is green. - Release: PR
dev→main; merge the release-please Release PR to tagvX.Y.Z.
- HEURISTIC_MODE generated
docs/_base/(nodocs/_kB/repo-map/KB). Runmapping-repo-contextto upgrade fidelity;[ASSUMPTION]-marked sections indocs/_base/need verification. .claude/is gitignored — skills, rules, and hooks are local-only and never appear in commits or PRs.- AGENTS.md is the universal agent brief; CLAUDE.md is the Claude-specific layer that imports it. Keep shared content in AGENTS.md only — never duplicate it here.