Use when starting or continuing backend code changes — server, API, database access, business logic on the server side
Use when starting or continuing frontend code changes — components, pages, styling, client-side state
Use when updating files in memory-bank/ — adding new technical docs, refining domain notes, or maintaining tasks/work/ and tasks/log/
Use when reviewing or writing a database migration, schema change, or data backfill — anything that alters durable data shape
Use before commit or before opening a PR — runs the project's local quality gate (format, lint, type, test) and confirms output
Use when needing to load DMB inventory and project knowledge — for a new operation, when navigating an unfamiliar area of the codebase, or before writing to memory-bank/