external-context
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseExternal Context Skill
外部上下文技能
Fetch external documentation, references, and context for a query. Decomposes into 2-5 facets and spawns parallel document-specialist Claude agents.
获取查询对应的外部文档、参考资料和上下文。将查询拆解为2-5个维度,并行生成多个文档专家Claude Agent。
Usage
使用方法
/oh-my-claudecode:external-context <topic or question>/oh-my-claudecode:external-context <topic or question>Examples
示例
/oh-my-claudecode:external-context What are the best practices for JWT token rotation in Node.js?
/oh-my-claudecode:external-context Compare Prisma vs Drizzle ORM for PostgreSQL
/oh-my-claudecode:external-context Latest React Server Components patterns and conventions/oh-my-claudecode:external-context What are the best practices for JWT token rotation in Node.js?
/oh-my-claudecode:external-context Compare Prisma vs Drizzle ORM for PostgreSQL
/oh-my-claudecode:external-context Latest React Server Components patterns and conventionsProtocol
运行协议
Step 1: Facet Decomposition
步骤1:维度拆分
Given a query, decompose into 2-5 independent search facets:
markdown
undefined收到查询后,将其拆解为2-5个独立的搜索维度:
markdown
undefinedSearch Decomposition
Search Decomposition
Query: <original query>
Query: <original query>
Facet 1: <facet-name>
Facet 1: <facet-name>
- Search focus: What to search for
- Sources: Official docs, GitHub, blogs, etc.
- Search focus: What to search for
- Sources: Official docs, GitHub, blogs, etc.
Facet 2: <facet-name>
Facet 2: <facet-name>
...
undefined...
undefinedStep 2: Parallel Agent Invocation
步骤2:并行Agent调用
Fire independent facets in parallel via Task tool:
Task(subagent_type="oh-my-claudecode:document-specialist", model="sonnet", prompt="Search for: <facet 1 description>. Use WebSearch and WebFetch to find official documentation and examples. Cite all sources with URLs.")
Task(subagent_type="oh-my-claudecode:document-specialist", model="sonnet", prompt="Search for: <facet 2 description>. Use WebSearch and WebFetch to find official documentation and examples. Cite all sources with URLs.")Maximum 5 parallel document-specialist agents.
通过Task工具并行触发各个独立维度的执行:
Task(subagent_type="oh-my-claudecode:document-specialist", model="sonnet", prompt="Search for: <facet 1 description>. Use WebSearch and WebFetch to find official documentation and examples. Cite all sources with URLs.")
Task(subagent_type="oh-my-claudecode:document-specialist", model="sonnet", prompt="Search for: <facet 2 description>. Use WebSearch and WebFetch to find official documentation and examples. Cite all sources with URLs.")最多支持同时运行5个并行文档专家Agent。
Step 3: Synthesis Output Format
步骤3:结果汇总输出格式
Present synthesized results in this format:
markdown
undefined按照如下格式呈现汇总后的结果:
markdown
undefinedExternal Context: <query>
External Context: <query>
Key Findings
Key Findings
- <finding> - Source: title
- <finding> - Source: title
- <finding> - Source: title
- <finding> - Source: title
Detailed Results
Detailed Results
Facet 1: <name>
Facet 1: <name>
<aggregated findings with citations>
<aggregated findings with citations>
Facet 2: <name>
Facet 2: <name>
<aggregated findings with citations>
<aggregated findings with citations>
Sources
Sources
- Source 1
- Source 2
undefined- Source 1
- Source 2
undefinedConfiguration
配置说明
- Maximum 5 parallel document-specialist agents
- No magic keyword trigger - explicit invocation only
- 最多支持5个并行文档专家Agent
- 无魔法关键词触发,仅支持显式调用