clawdbot/skills/repoql-search/SKILL.md
Search patterns for RepoQL - semantic search, scoping, boost/penalize.
npx skillsauth add stueeey/repoql.public repoql-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
RepoQL provides multiple search approaches. Choose based on what you're looking for.
Intent-based search with ranked results.
repoql_explore(
intent="Locate",
keywords="authentication flow",
tokenBudget=1500
)
Semantic + lexical hybrid search.
SELECT * FROM search('config validation', k := 10)
Find by function/type name.
SELECT * FROM search_symbol('ValidateToken')
SELECT * FROM search_symbol('Auth%') -- Wildcards
Use uriGlob parameter with glob patterns:
uriGlob="file:///src/**/*.cs" -- All C# in src
uriGlob="file:///src/services/**" -- Services folder
uriGlob="file:///tests/**" -- Tests only
Filter in WHERE clause:
SELECT * FROM search('error', k := 20)
WHERE uri LIKE 'file:///src/%'
SELECT * FROM search('validation', k := 10)
WHERE lang = 'typescript'
Adjust result ranking with regex patterns.
boost="(?i)auth|token" -- Case-insensitive, boost auth/token
boost="Service$" -- Boost files ending in Service
penalize="(?i)test|mock" -- Demote test files
penalize="\.spec\." -- Demote spec files
repoql_explore(
intent="Locate",
keywords="error handling",
boost="(?i)exception|error",
penalize="(?i)test|mock|spec",
tokenBudget=2000
)
Questions work well as keywords:
Be specific when possible:
Use multiple searches:
Combine search with read for targeted content:
# Find relevant files
repoql_explore(intent="Locate", keywords="error handling", tokenBudget=1000)
# Read specific file with budget
repoql_read(uri="file:///src/ErrorHandler.cs", tokenBudget=3000)
# Or add question for synthesis
repoql_read(uri="file:///src/ErrorHandler.cs // What error types are handled?", tokenBudget=2000)
tools
Diagnose and fix RepoQL issues. Use when tool calls fail, results seem wrong, indexing is stuck, the host is unresponsive, or things are slow.
development
This skill guides intentional skill design. Use when creating, improving, or reviewing Claude Code skills. Requires a zone assessment to clarify what kind of skill is being built before writing content.
documentation
Effective Mermaid diagrams. Use when creating markdown documents with human audiences.
tools
Effective use of RepoQL — the workflow, the techniques, and the wild magic. Use when you want to get more out of RepoQL or need to understand what's possible.