Research Skill
Goal
Find accurate, current answers from authoritative sources only. Prevent API hallucination, deprecated usage, and wrong regulatory interpretation. All findings stored in semantic memory for reuse.
Authoritative Source Tiers
| Tier |
Sources |
Trust Level |
| Tier 1 (Primary) |
Official language docs (MDN, nodejs.org, laravel.com, docs.python.org), Official specs (RFC.editor.org, W3C, ECMA), Security standards (OWASP, NIST, CIS, CVE.mitre.org) |
Highest |
| Tier 2 (Academic/Official) |
arXiv.org, IEEE Xplore, ACM Digital Library, Official GitHub repos (github.com/[org]/[repo]), Official changelogs/release notes |
High |
| Tier 3 (Verified Industry) |
Anthropic docs, AWS docs, GCP docs, Azure docs, Microsoft Docs |
Medium |
| NOT Acceptable |
Blog posts, Medium, Reddit, StackOverflow opinions, Dev.to |
Do not cite |
Steps
Formulate the precise research question
- Include: exact library/framework name + version number
- Include: what you need to know (API signature, behavior, requirements)
- Example: "What are the valid values for the SameSite attribute in Set-Cookie header per RFC 6265?"
Use Context-7 MCP first (for library/SDK questions)
# Context-7 provides up-to-date, version-specific library documentation
# Use it to avoid hallucinating deprecated or non-existent API methods
context7: resolve-library-id "express"
context7: get-library-docs "/expressjs/express" topic="routing"
Search with authoritative source filter
Using Brave Search MCP or Tavily MCP:
# Add site: filter to restrict to official sources
query: "JWT signature verification site:nodejs.org OR site:rfc-editor.org"
query: "GDPR article 17 right to erasure site:gdpr-info.eu OR site:eur-lex.europa.eu"
query: "bcrypt cost factor recommendation site:owasp.org"
Verify the source is current version
- Check: does this documentation apply to the version we're using?
- Check: is there a newer version of this API that deprecates this approach?
- If version mismatch found: flag to human — do NOT assume old behavior applies
Cross-reference with at least 2 Tier 1/2 sources
- A single source is insufficient for security decisions
- If 2 sources conflict: flag as "uncertain, requires human validation"
- If only 1 Tier 1 source found: note as "single source — verify before implementing"
Never guess or extrapolate
If authoritative source not found:
DO NOT assume behavior
DO NOT use knowledge cutoff info for rapidly evolving topics
DO: Report "authoritative source not found" + propose alternatives:
a) Use known alternative with documented behavior
b) Human provides authoritative reference
c) Skip feature until verified
Store finding in semantic memory
Return the answer with citation
- Always include the source URL in your response
- Always state which version the answer applies to
- Always note if there are known future changes planned
Constraints
- NEVER cite blog posts, Medium, or StackOverflow as the authority on a technical question
- If only Tier 3 sources found: flag as "vendor documentation — verify against official spec"
- For security decisions: require Tier 1 source (OWASP, NIST, or official RFC)
- For regulatory requirements: require official government or standards body source
Output Format
Finding with: answer, source URL (Tier 1/2), version applicability, confidence level (High/Medium/Low based on source tier).
1---2name: research-113description: Find authoritative answers from official docs, RFCs, standards, and academic sources — never from blogs or opinions4---5
6# Research Skill
7
8## Goal
9Find accurate, current answers from authoritative sources only. Prevent API hallucination, deprecated usage, and wrong regulatory interpretation. All findings stored in semantic memory for reuse.
10
11## Authoritative Source Tiers
12
13| Tier | Sources | Trust Level |
14|---|---|---|
15| **Tier 1 (Primary)** | Official language docs (MDN, nodejs.org, laravel.com, docs.python.org), Official specs (RFC.editor.org, W3C, ECMA), Security standards (OWASP, NIST, CIS, CVE.mitre.org) | Highest |
16| **Tier 2 (Academic/Official)** | arXiv.org, IEEE Xplore, ACM Digital Library, Official GitHub repos (github.com/[org]/[repo]), Official changelogs/release notes | High |
17| **Tier 3 (Verified Industry)** | Anthropic docs, AWS docs, GCP docs, Azure docs, Microsoft Docs | Medium |
18| **NOT Acceptable** | Blog posts, Medium, Reddit, StackOverflow opinions, Dev.to | Do not cite |
19
20## Steps
21
221. **Formulate the precise research question**
23 - Include: exact library/framework name + version number
24 - Include: what you need to know (API signature, behavior, requirements)
25 - Example: "What are the valid values for the SameSite attribute in Set-Cookie header per RFC 6265?"
26
272. **Use Context-7 MCP first** (for library/SDK questions)
28 ```
29 # Context-7 provides up-to-date, version-specific library documentation
30 # Use it to avoid hallucinating deprecated or non-existent API methods
31 context7: resolve-library-id "express"
32 context7: get-library-docs "/expressjs/express" topic="routing"
33 ```
34
353. **Search with authoritative source filter**
36
37 Using Brave Search MCP or Tavily MCP:
38 ```
39 # Add site: filter to restrict to official sources
40 query: "JWT signature verification site:nodejs.org OR site:rfc-editor.org"
41 query: "GDPR article 17 right to erasure site:gdpr-info.eu OR site:eur-lex.europa.eu"
42 query: "bcrypt cost factor recommendation site:owasp.org"
43 ```
44
454. **Verify the source is current version**
46 - Check: does this documentation apply to the version we're using?
47 - Check: is there a newer version of this API that deprecates this approach?
48 - If version mismatch found: flag to human — do NOT assume old behavior applies
49
505. **Cross-reference with at least 2 Tier 1/2 sources**
51 - A single source is insufficient for security decisions
52 - If 2 sources conflict: flag as "uncertain, requires human validation"
53 - If only 1 Tier 1 source found: note as "single source — verify before implementing"
54
556. **Never guess or extrapolate**
56 ```
57 If authoritative source not found:
58 DO NOT assume behavior
59 DO NOT use knowledge cutoff info for rapidly evolving topics
60 DO: Report "authoritative source not found" + propose alternatives:
61 a) Use known alternative with documented behavior
62 b) Human provides authoritative reference
63 c) Skip feature until verified
64 ```
65
667. **Store finding in semantic memory**
67 - Append to: `agents/memory/semantic/PROJECT_KNOWLEDGE_TEMPLATE.md`
68 - Format:
69 ```markdown
70 ### [Topic] — verified [DATE]
71 **Question:** [what was researched]
72 **Finding:** [what was found]
73 **Source:** [exact URL to official doc]
74 **Applies to version:** [library@version]
75 **Expires:** [date or "review at next major version"]
76 ```
77
788. **Return the answer with citation**
79 - Always include the source URL in your response
80 - Always state which version the answer applies to
81 - Always note if there are known future changes planned
82
83## Constraints
84- NEVER cite blog posts, Medium, or StackOverflow as the authority on a technical question
85- If only Tier 3 sources found: flag as "vendor documentation — verify against official spec"
86- For security decisions: require Tier 1 source (OWASP, NIST, or official RFC)
87- For regulatory requirements: require official government or standards body source
88
89## Output Format
90Finding with: answer, source URL (Tier 1/2), version applicability, confidence level (High/Medium/Low based on source tier).