techdoc-search-and-orchestrate
【强制】所有技术文档查询必须使用本技能,禁止在主对话中直接使用 mcp__context7-mcp 工具。触发关键词:查询/学习/了解某个库或框架的文档、API用法、配置参数、错误解释、版本差异、代码示例、最佳实践。本技能通过 context7-researcher agent 执行查询,避免大量文档内容污染主对话上下文,保持 token 效率。
Best use case
techdoc-search-and-orchestrate is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. 【强制】所有技术文档查询必须使用本技能,禁止在主对话中直接使用 mcp__context7-mcp 工具。触发关键词:查询/学习/了解某个库或框架的文档、API用法、配置参数、错误解释、版本差异、代码示例、最佳实践。本技能通过 context7-researcher agent 执行查询,避免大量文档内容污染主对话上下文,保持 token 效率。
【强制】所有技术文档查询必须使用本技能,禁止在主对话中直接使用 mcp__context7-mcp 工具。触发关键词:查询/学习/了解某个库或框架的文档、API用法、配置参数、错误解释、版本差异、代码示例、最佳实践。本技能通过 context7-researcher agent 执行查询,避免大量文档内容污染主对话上下文,保持 token 效率。
Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.
Practical example
Example input
Use the "techdoc-search-and-orchestrate" skill to help with this workflow task. Context: 【强制】所有技术文档查询必须使用本技能,禁止在主对话中直接使用 mcp__context7-mcp 工具。触发关键词:查询/学习/了解某个库或框架的文档、API用法、配置参数、错误解释、版本差异、代码示例、最佳实践。本技能通过 context7-researcher agent 执行查询,避免大量文档内容污染主对话上下文,保持 token 效率。
Example output
A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.
When to use this skill
- Use this skill when you want a reusable workflow rather than writing the same prompt again and again.
When not to use this skill
- Do not use this when you only need a one-off answer and do not need a reusable workflow.
- Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/techdoc-search-and-orchestrate/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How techdoc-search-and-orchestrate Compares
| Feature / Agent | techdoc-search-and-orchestrate | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
【强制】所有技术文档查询必须使用本技能,禁止在主对话中直接使用 mcp__context7-mcp 工具。触发关键词:查询/学习/了解某个库或框架的文档、API用法、配置参数、错误解释、版本差异、代码示例、最佳实践。本技能通过 context7-researcher agent 执行查询,避免大量文档内容污染主对话上下文,保持 token 效率。
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# 技术文档查询调度技能 本技能负责将技术文档查询任务委派给专业的 `context7-researcher` agent 执行,通过 agent 隔离来保持主对话上下文的清晰,避免 token 消耗污染。 ## 核心功能 识别需要技术文档查询的场景,并将任务委派给 `context7-researcher` agent,该 agent 专门使用 Context7 MCP 工具检索最新的技术文档。 ## 适用场景 当需要查询技术文档时,本技能负责将任务委派给 `context7-researcher` agent 执行,避免技术文档检索过程污染主对话上下文。 ## 调用规则 ### 1. 委派方式 使用 Task tool 调用 `context7-researcher` agent: ``` Task tool 参数: - subagent_type: "context7-researcher" - description: 简短描述任务(3-5个字) - prompt: 详细的查询需求 ``` ### 2. 任务编排策略 当有多个技术文档查询需求时,可以选择以下两种方式: **方式一:顺序执行(单 Agent 多任务)** - 调用 1 个 `context7-researcher` agent - 在 prompt 中列出多个查询任务 - Agent 按顺序依次完成所有任务 - **优点**:简单直接,适合任务间有关联的场景 - **缺点**:速度较慢,需要等待所有任务顺序完成 **方式二:并行执行(多 Agent 并行)** - 同时调用多个 `context7-researcher` agents - 每个 agent 分配 1 个或多个任务 - 所有 agents 并行工作 - **优点**:速度快,多个查询同时进行 - **缺点**:编排稍复杂 **选择建议**: - **默认策略**:尽可能拆分查询主题,使用并行执行,速度更快 - **顺序执行**:仅当查询任务有强依赖关系(必须先查出答案 A 才能查询问题 B)时使用 - 主 agent 应理解用户需求,判断任务是否可拆分为独立主题 **示例对比**: 用户问:"帮我查询 Supabase 的 realtime 如何对接和 Supabase 的 JS SDK 如何使用" 顺序执行方式: ``` 调用 1 个 agent: - subagent_type: "context7-researcher" - description: "查询 Supabase 文档" - prompt: "请完成以下查询: 1. 查询 Supabase realtime 的对接方法和示例 2. 查询 Supabase JS SDK 的使用方法和示例" ``` 并行执行方式(**推荐**): ``` 同时调用 2 个 agents: Agent 1: - subagent_type: "context7-researcher" - description: "查询 Supabase realtime" - prompt: "查询 Supabase realtime 的对接方法和示例" Agent 2: - subagent_type: "context7-researcher" - description: "查询 Supabase SDK" - prompt: "查询 Supabase JS SDK 的使用方法和示例" ``` 这两个查询虽然都关于 Supabase,但是独立的主题(一个是 realtime 功能,一个是 SDK 使用),没有强依赖关系,**应该优先选择并行执行**以提高效率。 ## 场景示例 ### 示例 1:单一 API 查询 **用户需求**: "Supabase 怎么实现用户注册?" **执行方式**: ``` 调用 Task tool: - subagent_type: "context7-researcher" - description: "查询 Supabase 用户注册" - prompt: "查询 Supabase 的用户注册 API 用法,包括代码示例" ``` ### 示例 2:多个独立查询 **用户需求**: "Next.js 的 App Router 怎么配置和 Server Actions 如何使用?" **执行方式**: ``` 并行调用 2 个 agents(推荐): Agent 1: - subagent_type: "context7-researcher" - description: "查询 App Router 配置" - prompt: "查询 Next.js App Router 的配置方法和示例" Agent 2: - subagent_type: "context7-researcher" - description: "查询 Server Actions" - prompt: "查询 Next.js Server Actions 的使用方法和示例" ``` **说明**: 虽然都是 Next.js 的功能,但 App Router 配置和 Server Actions 是两个独立主题,没有强依赖,应优先并行查询。 ### 示例 3:强依赖查询(顺序执行) **用户需求**: "我的 Next.js 项目报错 'Error: ENOENT: no such file or directory',这是什么原因?怎么解决?" **执行方式**: ``` 调用 1 个 agent 顺序执行: - subagent_type: "context7-researcher" - description: "排查 Next.js 错误" - prompt: "请按顺序完成: 1. 先查询 Next.js 中 'ENOENT: no such file or directory' 错误的常见原因 2. 根据查到的原因,再查询对应的解决方案和最佳实践" ``` **说明**: 这是典型的强依赖场景,必须先了解错误原因,才能针对性地查询解决方案,因此使用顺序执行。 ### 示例 4:单一复杂查询 **用户需求**: "Next.js 13 和 14 的路由有什么区别?" **执行方式**: ``` 调用 Task tool: - subagent_type: "context7-researcher" - description: "对比 Next.js 路由差异" - prompt: "对比 Next.js 13 和 14 版本的路由系统差异,说明主要变更" ``` **说明**: 这是单一查询任务,无需拆分,直接委派给一个 agent 执行。 ## 执行原则 1. **自动识别**: 当判断需要技术文档信息时,自动激活本技能 2. **快速委派**: 不在主对话中尝试查询,直接委派给专业 agent 3. **保持清洁**: 避免技术文档检索过程污染主对话上下文 4. **灵活编排**: 根据任务特点选择顺序或并行执行方式 通过本技能,主 agent 可以高效地将技术文档查询委派给专业 agent,保持对话流程清晰,优化 token 使用。
Related Skills
zaker-news-search
基于ZAKER权威资讯库进行关键词新闻检索,支持指定时间范围(30天内)。Use when the user asks about 搜索新闻, 某事件新闻, 某人物新闻, 某关键词相关新闻, 查新闻, 新闻检索, 相关新闻, 某时间段新闻.
github-repo-search
帮助用户搜索和筛选 GitHub 开源项目,输出结构化推荐报告。当用户说"帮我找开源项目"、"搜一下GitHub上有什么"、"找找XX方向的仓库"、"开源项目推荐"、"github搜索"、"/github-search"时触发。
xiaohongshu-search
小红书运营全链路数据工具|关键词监控+爆款挖掘+竞品分析+KOL筛选+趋势洞察,用数据驱动小红书流量增长,告别盲目创作
douyin-search-keyword
抖音公开内容智能搜索,精准检索视频/图文/用户数据,支持多维度排序与时间筛选,输出结构化JSON/Markdown,助力短视频营销、竞品分析与热点追踪。
codebase-search
Search and navigate large codebases efficiently. Use when finding specific code patterns, tracing function calls, understanding code structure, or locating bugs. Handles semantic search, grep patterns, AST analysis.
skywork-search
Search the web for real-time information using the Skywork web search API. Use this skill whenever the user needs up-to-date information from the internet — for example, researching a topic, looking up recent events, finding facts or statistics, gathering material for a document or presentation, or answering questions that require current data. Also trigger when the user says things like "search for", "look up", "find information about", "what's the latest on", or any request that implies needing information beyond your training data.
wiki-researcher
Conducts multi-turn iterative deep research on specific topics within a codebase with zero tolerance for shallow analysis. Use when the user wants an in-depth investigation, needs to understand how something works across multiple files, or asks for comprehensive analysis of a specific system or pattern.
search-specialist
Expert web researcher using advanced search techniques and synthesis. Masters search operators, result filtering, and multi-source verification. Handles competitive analysis and fact-checking. Use PROACTIVELY for deep research, information gathering, or trend analysis.
research-engineer
An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.
hybrid-search-implementation
Combine vector and keyword search for improved retrieval. Use when implementing RAG systems, building search engines, or when neither approach alone provides sufficient recall.
hig-components-search
Apple HIG guidance for navigation-related components including search fields, page controls, and path controls. Use this skill when the user says "how should search work in my app," "I need a breadcrumb," "how do I paginate content," or asks about search field, search bar, page control, path control, breadcrumb, navigation component, search UX, search suggestions, search scopes, paginated content navigation, or file path hierarchy display. Cross-references: hig-components-menus, hig-components-controls, hig-components-dialogs, hig-patterns.
exa-search
Semantic search, similar content discovery, and structured research using Exa API