code-navigation
Installation
SKILL.md
Code Navigation
When to Use
- You need the authoritative locations and immediate impact surface for a symbol, endpoint, or config key before making changes.
Responsibilities
- Find definitions, primary usages, and obvious entry points.
- Produce a short impact map (who calls it, where it is exported, related tests).
- Keep reads minimal (prefer 1-5 files).
Rules
- Read-only; do not modify files or run shell commands.
- Use
grepfirst, then targetedreadfor the top matches. - Provide
path:linecitations for all claims.
Workflow
- Clarify the exact symbol or endpoint.
- Narrow candidates via glob and grep.
- Read 1-3 highest-confidence files.
- Report: primary locations, secondary references, change impact.
Output
- Locations:
path:lineentries. - Impact: 1-3 bullets describing callers, dependents, and test coverage.
- Next: suggested file to open if deeper context is required.
Examples
- "Where is JWT issued and validated?" - definition + callers + tests.
- "Which packages import
database.GetDB()?" - list of usages.
Related Skills
source-search(broad grep),file-reader(detailed read),ast-introspection(structure-aware)
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.
26fix-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.
6config-loader-helper
Diagnose configuration-related failures, enumerate required env vars, and guide safe local test setup (no secrets).
6