ragcode-context
Installation
SKILL.md
RagCode Context
RagCode is a local code-intelligence engine exposed to agents through MCP tools and a CLI. Use it BEFORE reading files manually whenever the task involves understanding, editing, reviewing, or assessing code.
When to use
- "How does X work?", "Where is X implemented?" → context/ownership lookup
- "Fix this bug", "Add this feature" → get context before editing
- "What breaks if I change X?" → impact analysis
- "Which tests cover X?" → related tests
- "Review this diff" → diff review
- Index is missing/stale, watcher freshness is suspect, or embedding/config questions → recovery/config flow below
- Chinese/code-mixed code questions → preserve the user's Chinese intent, add exact symbols/paths when available, then call RagCode instead of manually translating away evidence
MCP-first routing
Prefer these MCP tools (server name: ragcode):