返回 Skill 列表
extension
分类: 开发与工程无需 API Key

semantic-code-search

教导代理使用CocoIndex Code MCP服务器进行语义代码搜索——通过意义、概念或自然语言描述来查找代码。当根据行为或意图而非确切标识符搜索时,探索不熟悉的代码库,或者在不知道确切名称的情况下定位实现时使用。

person作者: jakexiaohubgithub

Use mcp__cocoindex-code__search for semantic code search when:

  • Searching for code by meaning or description rather than exact text
  • Exploring unfamiliar parts of the codebase
  • Looking for implementations without knowing exact names
  • Finding similar code patterns or related functionality

Prefer Grep/Glob when you know exact identifiers, filenames, or string literals. Prefer semantic search when you know what the code does but not what it's called.

The CocoIndex Code MCP server is bundled with this plugin via .mcp.json and launches automatically using uvx cocoindex-code==0.1.11 — no pre-installation required. If mcp__cocoindex-code__search is not listed in available tools, report BLOCKED — this is a configuration error, not a fallback scenario.

SOURCE: CocoIndex Code GitHub Repository (accessed 2026-03-10)