AgentSkillsCN

cdocs-query

查询项目知识库,获取文档、模式及技术信息。当用户询问项目架构、约定规范、已记录的决策,或需要从知识库中获取事实性信息时,可使用此功能。

SKILL.md
--- frontmatter
name: cdocs-query
description: Query the project knowledge base for documentation, patterns, and technical information. Use when the user asks about project architecture, conventions, documented decisions, or needs factual information from the knowledge base.
argument-hint: "[question]"
allowed-tools: mcp__compound-docs__rag_query

Knowledge Base Query

Query the knowledge base using the mcp__compound-docs__rag_query tool.

When to use

  • User asks about project architecture, patterns, or conventions
  • User needs documented technical information
  • User references knowledge base content
  • User asks "how do we..." or "what is our approach to..." questions

Query patterns

  • For specific topics: use precise, focused queries
  • For broad questions: break into multiple focused queries
  • Always cite the sources returned by the tool
  • If no results found, state that clearly rather than fabricating answers