用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/justcyl/my-skills --skill research命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | research |
| description | 深度研究技术问题和代码库。使用 GitHub 代码搜索查找真实代码示例,使用 Exa 获取官方文档和最新网络内容。当需要查找代码模式、API 文档、最佳实践或解决技术问题时使用此技能。 |
深度研究技术问题的专业技能工具集。
Search GitHub repositories for actual code patterns.
CRITICAL: Search for literal code, not keywords.
✅ Good queries:
// Finding React useState patterns
query: "useState("
language: ["TypeScript", "TSX"]
// Finding error handling in async functions
query: "(?s)try {.*await"
useRegexp: true
language: ["TypeScript"]
// Finding specific API usage
query: "betterAuth({"
language: ["TypeScript"]
❌ Bad queries:
// These are KEYWORDS, not code patterns
query: "react hooks tutorial" // Won't find code!
query: "best practices" // Won't find code!
query: "how to use useState" // Won't find code!
{
query: "(?s)useState\\(.*loading", // useState with loading variable
useRegexp: true,
language: ["TSX"]
}
Note: Prefix with (?s) to match across multiple lines.
{
query: "getServerSession",
repo: "vercel/", // All Vercel repos
language: ["TypeScript"]
}
{
query: "export default {",
path: "next.config.js", // Only in Next.js config files
}
{
query: "CORS(",
matchCase: true, // Exact case match
language: ["Python"]
}
Trick 1: Find specific library usage in popular projects
{
query: "figma: {",
repo: "better-auth/",
language: ["TypeScript"]
}
Trick 2: Search for error handling patterns
{
query: "(?s)try {.*catch.*error",
useRegexp: true,
language: ["TypeScript"]
}
Trick 3: Find configuration patterns
{
query: "export default {",
path: "*.config.ts",
}
Trick 4: Find how others handle edge cases
{
query: "if (!data)",
language: ["TypeScript"],
repo: "vercel/" // Learn from production code
}
⚠️ Pitfall 1: Using keywords instead of code
"useState(" instead⚠️ Pitfall 2: Forgetting regex anchors
(?s) for multiline matching\\{ not {⚠️ Pitfall 3: Too broad search
"export" will return millions of results"export const auth ="⚠️ Pitfall 4: Ignoring language filter
["TypeScript", "TSX"] for React projectsGet official documentation and high-quality examples for libraries/APIs.
✅ Good queries:
{
query: "Next.js 15 server actions best practices",
tokensNum: 5000
}
{
query: "Better Auth Figma OAuth integration guide",
tokensNum: 3000
}
{
query: "Drizzle ORM PostgreSQL schema migration",
tokensNum: 8000
}
// Quick reference - 1000-3000 tokens
{ query: "React useEffect cleanup", tokensNum: 2000 }
// Comprehensive guide - 5000-10000 tokens
{ query: "Next.js 15 full authentication flow", tokensNum: 8000 }
// Deep dive - 15000-50000 tokens
{ query: "Stripe webhook handling complete guide", tokensNum: 20000 }
{
query: "Next.js 15 2025 app router", // Specify year!
tokensNum: 5000
}
// Not: "React hooks"
// Better: "React hooks performance optimization patterns"
{
query: "React hooks performance optimization patterns",
tokensNum: 5000
}
Trick 1: Compare official docs across versions
// Search 1
{ query: "Next.js 14 server components", tokensNum: 3000 }
// Search 2
{ query: "Next.js 15 server components", tokensNum: 3000 }
// Compare the differences
Trick 2: Get migration guides
{
query: "migrate from Next.js 14 to 15 breaking changes",
tokensNum: 8000
}
Trick 3: Find official examples
{
query: "Vercel Next.js 15 official examples repository",
tokensNum: 5000
}
⚠️ Pitfall 1: Too generic queries
⚠️ Pitfall 2: Wrong token count
⚠️ Pitfall 3: Outdated docs
Real-time web search for articles, blog posts, discussions.
✅ Good use cases:
// Find recent articles
{
query: "Next.js 15 performance improvements 2025",
numResults: 8
}
// Find comparisons
{
query: "Drizzle vs Prisma 2025 comparison",
numResults: 5
}
// Find official announcements
{
query: "Better Auth 2.0 release notes",
numResults: 3
}
// Quick scan - 3-5 results
{ query: "React 19 new features", numResults: 3 }
// Comprehensive - 8-10 results
{ query: "Next.js deployment best practices", numResults: 10 }
// Quick search
{ query: "...", type: "fast" }
// Deep research
{ query: "...", type: "deep" }
// Balanced (default)
{ query: "...", type: "auto" }
{
query: "Next.js 15 RC release notes",
livecrawl: "preferred", // Get latest content
numResults: 3
}
Trick 1: Find GitHub discussions
{
query: "site:github.com better-auth figma OAuth issue",
numResults: 5
}
Trick 2: Official docs only
{
query: "site:nextjs.org server actions",
numResults: 3
}
Trick 3: Find real-world war stories
{
query: "debugging Next.js server actions production",
type: "deep",
numResults: 8
}
⚠️ Pitfall 1: Generic queries
⚠️ Pitfall 2: Too many results
10 results is usually noise
⚠️ Pitfall 3: Not using site: filter
site: to focus on authoritative sources| Use Case | Tokens |
|---|---|
| Quick API reference | 1000-3000 |
| Comprehensive guide | 5000-10000 |
| Deep documentation | 15000-30000 |
| Exhaustive research | 30000-50000 |
| Use Case | Results |
|---|---|
| Quick fact check | 1-3 |
| Standard research | 5-8 |
| Comprehensive | 8-10 |
| Avoid > 10 | Too noisy |
get_code_context_exa: Get official docs (5000 tokens)searchGitHub: Find real usage (3-5 examples)web_search_exa: Find best practices (5 results)web_search_exa: Search exact error (deep, 5 results)searchGitHub: Find how others fixed it (regex search)get_code_context_exa: Check official troubleshooting (3000 tokens)web_search_exa: Find comparisons (8 results)searchGitHub: Check real adoption (compare result counts)get_code_context_exa: Read both official docs (5000 tokens each)get_code_context_exa: "X 2025 latest docs" (5000 tokens)web_search_exa: "X release notes" (livecrawl: preferred, 3 results)searchGitHub: Find recent usage patternsNo results from searchGitHub?
"useState(" not "react useState hook"Outdated docs from get_code_context_exa?
Too many irrelevant results from web_search_exa?
site: filter for authoritative sources