context-router
Purpose
Choose between gdgraph, gdctx, gdwiki, memory, health, and project-skills before raw file reads.
When To Use
- find files
- understand code
- collect context
- what should I inspect
- agent routing
Workflow
- Start from the user's goal, not from command names.
- Use gdgraph for file relationships and affected context.
- Use gdctx for compact command, search, diff, log, and large-read output.
- Use gdwiki for architecture, domain, business rules, decisions, and scenarios.
- Use memory for historical decisions, known constraints, lessons, and repeated mistakes.
- Use health for normalized quality and gate status; use testing for test selection and test context.
- Prefer MCP tools/resources for these capabilities when connected; otherwise use the matching skill and CLI command.
- Use project-skills for known modules, components, stores, services, and domain entities.
Local-First Rules
- Start from
.metaproject/index.mdand.metaproject/skills/catalog.md. - Prefer project-local skills under
.metaproject/project-skillsand.metaproject/skills/gdskills. - Use
gdgraph,gdctx,gdwiki, Code Health, and Documentation Memory when they provide narrower context. - Treat external/global skills only as explicit fallback when local Metaproject does not provide the capability.
- Verify conclusions against source files before reporting or editing.