dist/gemini/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
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, or command-runner recipes. Emphasizes portability, quoting, safe filesystem/process handling, non-TUI CLI tools, ShellCheck, shfmt, Bats, and ShellSpec. NOT for Python, TypeScript, Go, web code, or infrastructure operations.
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.
testing
Author, inspect, troubleshoot, and review infrastructure across IaC, Kubernetes, cloud resources, containers, CI/CD, and Linux hosts. Use when changing Terraform/OpenTofu, Kubernetes, Helm, Kustomize, Dockerfiles, GitHub Actions, AWS, GCP, Cloud Run, BigQuery, IAM, logs, instances, or service health. NOT for deploy/apply/rollback workflows (see deploying-infra). NOT for shell scripts or generic command pipelines (see writing-shell).
development
Configure safe git workflow hygiene: pre-commit/pre-push hooks, Gitleaks secret scanning, .gitignore rules, local git config, and guardrails. Use when setting up git hooks, gitleaks/git leaks, staged pre-commit checks, pre-push validation, core.hooksPath, .gitignore, or git config best practices. NOT for creating commits (use committing-code), cleaning branches/worktrees (use cleanup-git), or creating worktrees (use using-git-worktrees).