source-search
Installation
SKILL.md
Source Search
When to Use
- You need to locate where a symbol, string, env var, or error code is defined or referenced across the codebase.
Rules
- Read-only: do not modify files.
- Prefer
grepfor broad discovery, then targetedreadfor the best matches. - Narrow with glob patterns to reduce noise.
Workflow
- Identify exact search keys and likely variants.
- Glob by folder or pattern to limit scope.
- Grep and rank results by relevance.
- Return top matches with
path:lineand a short note.
Output
- Definitions and top usages with
path:linecitations. - Brief note on next steps or likely primary file to inspect.
Examples
- "Where is
PrefixJtiBlacklistdefined?" - searchconfig/for the constant. - "Which files reference
ACTIVATE_JWT?" - grep acrossconfig/,setTestEnv.sh,.env.sample.
Related Skills
code-navigation(impact mapping),file-reader(detailed read)
Related skills
More from pilinux/gorest
file-reader
Precisely read source files or snippets and return concise, citation-backed facts needed for decisions or edits.
27code-navigation
Rapid, focused navigation to locate definitions/usages and map the impact of proposed changes.
7fix-suggester
Diagnose failures and propose minimal, test-backed fixes with verification and rollback instructions.
7build-run
Build and run the project locally to reproduce compile/runtime issues in a safe, non-production way.
7logs-repro-harness
Reduce flaky or environment-dependent failures to a minimal, reproducible script and capture the exact logs and error lines.
7ci-orchestrator
Run a CI-like pipeline locally (format, lint, vet, static-analysis, tests) and summarize per-step results with remediation guidance.
6