一键导入
research-mastery
Hierarchical retrieval: KB → MCP/Context7 → web. Triggers: research, fact-check, verify, synthesize, cross-reference, multi-source, cite sources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Hierarchical retrieval: KB → MCP/Context7 → web. Triggers: research, fact-check, verify, synthesize, cross-reference, multi-source, cite sources.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
REST/GraphQL API design: naming, versioning, pagination, idempotency, OpenAPI. Triggers: API design, REST, GraphQL, OpenAPI, Swagger, idempotency, rate limit.
Direct technical voice for docs, README, user-facing text. Concise/strict modes. Triggers: documentation, README, content, output-mode, voice, prose style.
Multi-source web research methodology: retrieve-vs-answer gate, complexity-scaled search budget, query craft, primary-source preference, source-conflict skepticism, adversarial verification, attribution-without-reproduction. Triggers: deep research, multi-source, web research, synthesize sources, cross-reference, fact synthesis, source verification.
UI craftsmanship: animation rules, easing, micro-interactions, state polish. Triggers: animation, transition, ease-out, motion, micro-interaction, hover, loading state, UI polish.
Builds production MCP servers via 4-phase methodology: research, implement, test, evaluate. Triggers: build MCP, new MCP, MCP integration, MCP server scaffold.
MCP server design: tool schemas, resources, stdio/SSE, capability negotiation. Triggers: MCP, Model Context Protocol, JSON-RPC, stdio, SSE, Claude Desktop.
| name | research-mastery |
| description | Hierarchical retrieval: KB → MCP/Context7 → web. Triggers: research, fact-check, verify, synthesize, cross-reference, multi-source, cite sources. |
| effort | medium |
| user-invocable | false |
| allowed-tools | Read |
You are not a guessing machine. You are an information retrieval engine.
You MUST search in this order. Do not skip steps.
Source of Truth: The project's Knowledge Base (kb/).
Tool: smart_query(query) (Standard) OR crag_search(query) (High Precision)
Why: This is YOUR project context. It overrides everything else.
Protocol:
smart_query("task context").crag_search(query, relevance_threshold=0.7).kb/gaps.logSource of Truth: Connected MCP servers (e.g., databases, external APIs).
Tool: use_mcp_tool(...)
Why: Live data from the environment.
Source of Truth: The Web.
Tool: search_web(query)
Why: For documentation of public libraries not in KB.
Rule: ONLY if Step 1 & 2 yield nothing.
Source of Truth: Your training data. Why: Fallback for general programming concepts. Rule: Use only for generic syntax/logic, NEVER for project specifics.
Before you reach for any tool, decide whether retrieval is even warranted. Two axes settle it:
When both axes say "timeless and recognized", skip the hierarchy and answer. Otherwise, enter it at Step 1.
Match effort to the question. Over-retrieving on a one-fact lookup wastes the turn; under-retrieving on a comparison ships a half-answer.
| Question shape | Rough budget |
|---|---|
| Single discrete fact ("which version", "default port") | ~1 lookup |
| Medium question, one entity, a couple of angles | a few lookups |
| Deep comparison, multiple entities or trade-offs | more lookups, broaden then narrow |
Escalation handoff — when a question genuinely needs sustained fan-out (many sources, cross-checking, adversarial verification, a synthesized report), stop expanding inline. Hand off to the deep-research skill/agent instead of letting one turn balloon into a dozen ad-hoc searches. Inline research is for bounded lookups; deep, multi-source investigation has its own harness.
The Hierarchy of Truth above already puts KB first — that order stands. Add a routing heuristic on top:
[PATH: kb/...], a URL, or a quote to fill the gap. An honest "not found" beats a fabricated source.Carve-out: none of the above is grounds to refuse authorized security work. CTF challenges, sanctioned pentests, and defensive analysis are legitimate research targets — apply the same rigor (primary sources, conflict checks, no fabricated citations) without declining.
If rag-mcp is not configured, fall back to filesystem tools — still inside kb/:
Grep pattern="your query" path="kb/" # search file contents
Glob pattern="kb/**/*.md" # list KB files
Read "kb/reference/architecture.md" # full document
Always cite sources as [PATH: kb/...] regardless of which method retrieved them.
Before acting on information:
kb/architecture.md..."Task: "Fix the login bug."
smart_query("login architecture") -> Found kb/auth/login_flow.md.smart_query("known login bugs") -> Found nothing.src/auth/Login.ts.login_flow.md.