sourcebot
Installation
SKILL.md
Sourcebot Guide
Expert guidance for using Sourcebot MCP to search external libraries, frameworks, and code patterns.
When to Use
- External library research: Finding code patterns in Effect-TS, TanStack, Vercel AI SDK, etc.
- API discovery: Understanding how external libraries implement specific features
- Documentation examples: Finding real-world usage examples from official repositories
- Framework patterns: Learning best practices from external framework codebases
- Migration guidance: Finding upgrade patterns and breaking changes in external libraries
When NOT to Use
- Local project code: Use
codebase_searchorosgrep searchinstead - Local components: Use local search tools for project files
- Local utilities: Never use Sourcebot for your own codebase
Required Workflow
- First, call
list_reposto get available repository IDs - Identify relevant repository ID(s) for your search (e.g., "Effect-TS/effect" for EffectTS)
- Always include
filterByRepoIdswhen callingsearch_code - Use
get_file_sourceto fetch specific file contents when needed
Repository ID Format
- CRITICAL: Repository IDs must be in format
"owner/repo"(e.g.,"Effect-TS/effect","vercel/ai") - DO NOT include the
github.com/prefix - The
list_repostool returns IDs like"github.com/owner/repo"- strip the prefix when using infilterByRepoIds
Usage Examples
Searching EffectTS patterns
{
"query": "Effect.gen yield",
"filterByRepoIds": ["Effect-TS/effect"],
"includeCodeSnippets": true
}
Searching AI SDK
{
"query": "streamText tool calling",
"filterByRepoIds": ["vercel/ai"],
"includeCodeSnippets": true
}
Searching multiple repos
{
"query": "error handling patterns",
"filterByRepoIds": ["Effect-TS/effect", "vercel/ai"],
"includeCodeSnippets": true
}
Best Practices
- Use descriptive queries (not just keywords, but full descriptions)
- Always specify
filterByRepoIdsto scope searches - Set
includeCodeSnippets: truewhen you need actual code examples - Use
get_file_sourceafter finding relevant files to see full context
Tool Hierarchy for Code Search
- Sourcebot - For EXTERNAL libraries and frameworks only
codebase_search(if available) - For local project codeosgrep search- For local code when codebase_search unavailablegrep/find- Last resort for exact string matching
Critical Requirements
- MANDATORY: Use Sourcebot MCP 5-7 times when researching external libraries
- CRITICAL: NEVER use Sourcebot to search local project code
- CRITICAL: Always use
filterByRepoIdson EVERYsearch_codecall - TASK INVALIDATION: Task will be invalidated if you don't use Sourcebot 5-7 times when dealing with external libraries
- AFTER SOURCEBOT: Also use Perplexity and Context7 for updated information on external libraries
Weekly Installs
30
Repository
pedronauck/skillsGitHub Stars
301
First Seen
Mar 18, 2026
Security Audits
Installed on
opencode30
gemini-cli30
github-copilot30
codex30
amp30
cline30