with one click
halo-dev
// important!!! Must read before writing/editing any code, and follow it. Covers architecture, conventions, quality standards, and responsive design requirements.
// important!!! Must read before writing/editing any code, and follow it. Covers architecture, conventions, quality standards, and responsive design requirements.
Called only when actively triggered by the user..
Must be invoked when the user asks to commit review.
Must be invoked when the user asks to commit code, submit code, or any similar request.
| name | halo-dev |
| description | important!!! Must read before writing/editing any code, and follow it. Covers architecture, conventions, quality standards, and responsive design requirements. |
| allowed-tools | Read, Write, Edit, Bash |
| user-invocable | true |
CONTEXT.md — Product vision, development principles (styling, responsive, security, i18n), and current state.ARCHITECTURE.md — Directory structure, data types, IPC channels, theme system, CSS rules, responsive design, layout modes, multi-platform, local storage, tech stack.quick.md — Hard development rules (with code examples), task-to-file routing, and checklists.Do not start implementation before reading these three files.
All code changes must comply with the patterns, conventions, and structures described in these documents. This includes:
sm: breakpoint at 640px)t('English text') for all user-facing strings)If a change conflicts with the documented architecture, update the architecture document first with justification, then proceed.
After the mandatory entry docs:
DESIGN.md:
src/main/apps/*/DESIGN.mdsrc/main/platform/*/DESIGN.mdsrc/main/ipc/src/main/http/routes/index.tssrc/preload/index.tssrc/renderer/api/index.tssrc/renderer/components/src/renderer/stores/src/renderer/hooks/When docs and code differ:
src/**src/main/apps/*/DESIGN.md, src/main/platform/*/DESIGN.md)quick.md, ARCHITECTURE.md, CONTEXT.mdAfter completing a development task, evaluate whether these documents need updating. Apply the following rules:
Update when the change significantly affects how a developer understands the codebase:
Do not update for changes that don't affect architectural understanding:
The threshold is: would a new AI developer make wrong assumptions without this information? If yes, update. If no, skip.