AgentSkillsCN

repo-navigator-agents-routing

将问题导向正确的文件夹(上下文、钩子、场景、工具、组件、数据、UI),并优先查阅对应的AGENTS.md文件。适用于被问及逻辑归属或行为由哪些文件负责时使用。

SKILL.md
--- frontmatter
name: repo-navigator-agents-routing
description: Route questions to the correct folder (context, hooks, scenes, utils, components, data, ui) and consult the relevant AGENTS.md first. Use when asked where logic lives or which files own behavior.

AGENTS-Aware Repo Navigation

Domain Routing Table

DomainDirectoryAGENTS.mdKey Files
Statesrc/context/src/context/AGENTS.mdgameReducer.js, actionCreators.js, initialState.js
Hookssrc/hooks/src/hooks/AGENTS.mduseTravelLogic.js, usePurchaseLogic.js, useAudioControl.js
Scenessrc/scenes/src/scenes/AGENTS.mdOverworld.jsx, Gig.jsx, PostGig.jsx, MainMenu.jsx
Utilssrc/utils/src/utils/AGENTS.mdeventEngine.js, economyEngine.js, AudioManager.js
Componentssrc/components/src/components/AGENTS.mdPixiStage.jsx, GigHUD.jsx, TutorialManager.jsx
Datasrc/data/src/data/AGENTS.mdevents.js, venues.js, songs.js, characters.js
UIsrc/ui/src/ui/AGENTS.mdHUD.jsx, EventModal.jsx, GlitchButton.jsx

Workflow

  1. Identify the domain implied by the question (state, hooks, scenes, utils, components, data, ui).
  2. Open the corresponding src/<domain>/AGENTS.md for authoritative local rules.
  3. Use the routing table above to provide file pointers and explain why those locations are canonical.
  4. If the question spans domains, list all relevant AGENTS.md files to consult.

Output

  • Provide a short path list, the relevant AGENTS.md, and next files to inspect.