一键导入
tech-research
Deep-researches a technology topic and caches knowledge. Use when the knowledge cache has no fresh entry for a technology needed for the current task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Deep-researches a technology topic and caches knowledge. Use when the knowledge cache has no fresh entry for a technology needed for the current task.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | tech-research |
| description | Deep-researches a technology topic and caches knowledge. Use when the knowledge cache has no fresh entry for a technology needed for the current task. |
| user_invocable | true |
| argument | The technology/framework/library to research (e.g., "Entity Framework Core", "React 19", "Swift Concurrency") |
You are researching a technology topic and caching the results for future use. Follow these steps precisely.
Check if ~/Developer/github/gordonbeeming/learning-agent/ exists. If not, clone it:
git clone git@github.com:gordonbeeming/learning-agent.git ~/Developer/github/gordonbeeming/learning-agent
Also pull latest changes:
cd ~/Developer/github/gordonbeeming/learning-agent && git pull --rebase
Convert the argument to a kebab-case slug:
.NET → dotnet, C# → csharp, C++ → cppExamples:
entity-framework-corereact-19dotnet-10swift-concurrencycsharp-13Read ~/Developer/github/gordonbeeming/learning-agent/index.json.
Look for the slug in the topics object. If found, compare the expiresAt value to today's date.
Read ~/Developer/github/gordonbeeming/learning-agent/config.json for the stalenessDays value (used when creating new entries).
If the topic exists and expiresAt is in the future:
~/Developer/github/gordonbeeming/learning-agent/<summaryPath> (from the index entry)If the topic is missing or expiresAt is in the past, spawn a research subagent.
Use the Agent tool to spawn an isolated research subagent with subagent_type "general-purpose". Give it this prompt:
You are a technology research agent. Research the following technology thoroughly and produce two outputs.
Technology to research: [THE TOPIC]
## Research Instructions
Use these tools to gather information:
1. **context7 MCP** (primary source): First call `resolve-library-id` with the technology name to find the library ID. Then call `query-docs` with that library ID to get current documentation. If the technology has multiple relevant libraries, resolve and query each one.
2. **WebSearch**: Search for:
- "[technology] official documentation [current year]"
- "[technology] best practices [current year]"
- "[technology] breaking changes latest version"
- "[technology] common pitfalls"
- "[technology] migration guide" (if applicable)
3. **WebFetch**: Fetch specific documentation pages found via search results.
## Required Output Format
Produce EXACTLY two sections, clearly delimited:
### ===SUMMARY_START===
Write a concise summary (800-1500 words) covering:
- What it is and current version
- Key API patterns with brief code snippets
- Best practices (top 5-7)
- Common pitfalls to avoid (top 3-5)
- Breaking changes from recent versions (if any)
- Key types/methods/functions a developer needs to know
This summary will be loaded into an AI assistant's context, so make it practical and actionable. Focus on "what a developer needs to know to use this correctly" rather than history or theory.
### ===SUMMARY_END===
### ===FULL_RESEARCH_START===
Write comprehensive research (2500-4000 words) covering everything in the summary PLUS:
- Detailed API signatures and configuration options
- Advanced patterns and edge cases
- Performance considerations
- Integration with other technologies
- Troubleshooting common errors
- Links to key documentation pages
- Version history highlights
### ===FULL_RESEARCH_END===
After the research subagent returns:
~/Developer/github/gordonbeeming/learning-agent/topics/<slug>/summary.md with the SUMMARY contentfull-research.md with the FULL_RESEARCH contentmetadata.json:{
"displayName": "<Human-readable name with version>",
"slug": "<the-slug>",
"researchedAt": "<current ISO timestamp>",
"expiresAt": "<researchedAt + stalenessDays from config.json>",
"versionInfo": "<version info discovered during research>",
"subtopics": ["<list>", "<of>", "<key>", "<subtopics>", "<covered>"],
"sources": ["<list of sources used, e.g. context7, learn.microsoft.com>"],
"qualityScore": "<high if context7 returned good results, medium if web-only>"
}
~/Developer/github/gordonbeeming/learning-agent/index.json:
lastUpdated to current ISO timestamptopics with:{
"displayName": "<same as metadata>",
"researchedAt": "<same>",
"expiresAt": "<same>",
"versionInfo": "<same>",
"subtopics": ["<same>"],
"sources": ["<same>"],
"summaryPath": "topics/<slug>/summary.md",
"qualityScore": "<same>"
}
cd ~/Developer/github/gordonbeeming/learning-agent
git add topics/<slug>/ index.json
git commit -m "research: <display name>"
git push
Output the summary content so the calling agent has the knowledge in context.