src/skills/smart-explore/SKILL.md
Token-efficient local code navigation and extraction. Use when exploring a known file or bounded module outline, finding a known symbol in a scoped area, or extracting exact function/type bodies with smart_outline, smart_search, and smart_unfold. NOT for repo-wide structural pattern search, architecture or trace-flow questions, ast-grep/codegraph/GitNexus evidence, or broad caller/implementation maps.
npx skillsauth add alexei-led/claude-code-config smart-exploreInstall 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.
Use cheap structure before reading large files. The goal is precise outline and extraction from a known area, not repo-wide search.
Use this skill for:
Do not use this skill for:
For those, use a dedicated repo-wide search or architecture-analysis workflow. Return to smart-explore only after the scope is a known file, module, or symbol.
smart_outline for known files or modules.smart_search for a known symbol or concept in a bounded scope.smart_unfold for exact function/type source.rg for exact text fallback when smart tools are unavailable.fd for candidate file discovery when the file path is missing.smart_outline.smart_search.smart_unfold.rg.fd.smart_outline shows every
function/class/interface with bodies collapsed.smart_search finds likely
definitions and nearby callers without dumping whole files.smart_unfold extracts exact function source by AST
node and avoids truncation.rg/fd for bounded lookup and Read for
targeted files; note the token cost difference.smart_outline returns no symbols: skip to targeted Read and report the file
type.smart_search returns too many matches: narrow the term, add a path filter, or
switch to a dedicated repo-wide workflow if the desired answer is repo-wide.tools
Use when planning, executing, checkpointing, finishing, or inspecting lightweight spec-driven work. Runs one task at a time using `.spec/` markdown files and the bundled `specctl` helper. NOT for broad product discovery beyond a short requirement interview. NOT for generic implementation planning that does not read or write `.spec/` files.
development
Simple web development with HTML, CSS, JS, and HTMX. Use when working with .html, .css, or .htmx files, web templates, stylesheets, or vanilla JS scripts. NOT for React/Vue/Angular (use writing-typescript) or Node.js backends.
tools
Idiomatic TypeScript development. Use when writing TypeScript code, Node.js services, React apps, or TypeScript design advice. Emphasizes strict typing, boundary validation, composition, fast feedback, behavior tests, and project-configured tooling. NOT for Go, Python, Rust, plain HTML/CSS/JS, or server-rendered templates (use writing-web).
tools
Idiomatic shell development for POSIX sh, Bash, Zsh, Fish, hooks, CI shell steps, and scriptable CLI glue. Use when writing or changing `.sh`, `.bash`, `.zsh`, `.fish`, `.bats`, shell functions, shell pipelines, CI `run:` shell bodies, or command-runner recipes. Emphasizes portability, quoting, safe filesystem/process handling, non-TUI CLI tools, ShellCheck, shfmt, Bats, and ShellSpec. NOT for Python, Rust, TypeScript, Go, web code, or GitHub Actions workflow/job/permissions semantics; use operating-infra.