Repo Navigator
Direct questions to the correct domain and authoritative documentation.
Domain Map
| Domain |
Path |
Owner Of |
| State |
src/context/ |
Reducers, Actions, Global State. |
| Logic |
src/hooks/ |
Game Loop, Business Logic. |
| Flow |
src/scenes/ |
Screens, Page Routing. |
| Engine |
src/utils/ |
Audio, Math, Pure Functions. |
| View |
src/components/ |
PixiJS, Canvas Rendering. |
| UI |
src/ui/ |
React DOM, HUD, Menus. |
| Content |
src/data/ |
Static JSON, config, text. |
Workflow
Analyze the Intent
- "Where is the player health stored?" -> State.
- "How does the damage calculation work?" -> Engine or Logic.
- "Change the button color." -> UI.
Consult Authority
Always read the root AGENTS.md first for project overview, then the domain-specific AGENTS.md.
src/context/AGENTS.md defines state rules.
src/ui/AGENTS.md defines styling rules.
Direct the User
Point to the file and the documentation.
Example
Input: "I want to change the starting money."
Routing:
- Money is global state ->
src/context/.
- Starting values ->
src/context/initialState.ts.
- Rules ->
src/context/AGENTS.md.
Output:
"Modify src/context/initialState.ts. Consult src/context/AGENTS.md for state constraints."
Skill sync: compatible with React 19.2.8 / Vite 8.2.2 / Tailwind 4.3.3 baseline as of 2026-05-20.