Command Palette

Search for a command to run...

Назад к скиллам
скилл № 75518

Explore

Explore local codebase, trace dependencies, and check tests before a code change; persists EXPLORE.md via fresh-context subagent (change-prep/explain…

БесплатноБез исполняемых скриптов
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Explore в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Explore

Arguments. [--output change-prep|explain] [scope]. --output sets the reply shape for this run (Reply shape) and is not part of the scope. e.g., /discovery:explore payments module dependencies, /discovery:explore tests, /discovery:explore git, /discovery:explore config

Repository context. Gather first

Run each command below as its own Bash call, all sent together in one message (worktree isolation). Keep any bound in the command's own pipe (output limits). Unless this section says otherwise, treat a failure (not a repository, git unavailable) as an unknown value and carry on. Keep these as body calls, never ## Pre-computed context lines (gather-block convention).

  • Current branch, git branch --show-current
  • Working tree status (empty = clean), git status --porcelain | head -20
  • Project root, git rev-parse --show-toplevel

These values orient this session only. Resolve files against the project root, an absolute machine path, but never echo it into EXPLORE.md; the handoff artifact records relative paths (outcome gate below).

Reply shape: explore_output

Resolve explore_output before routing; it decides only the final reply. EXPLORE.md and its sidecars are written the same way under every value. Lowest layer first, a later one winning (key contract: ${CLAUDE_PLUGIN_ROOT}/reference/config.md):

  1. the default, auto;
  2. the userConfig value, ${user_config.explore_output} (a literal unexpanded token means unset; auto here is reported as the default, since the two cannot be told apart);
  3. explore_output in docs/conventions/discovery.yaml at the project root;
  4. an --output change-prep or --output explain argument on this invocation.

Read the file with the Read tool; a missing file or key leaves that layer unset, and the file does not apply when the project root is unknown. No ~/.claude file, .claude/ file or personal override sets this key. A value other than auto, change-prep or explain in any layer (or an --output value other than the two) is named in the reply, with the file or userConfig that held it, the key, and the value, and that layer is dropped. A valid higher layer (such as --output) still wins; with none, the run continues on the default, auto, reported as the default level with the invalid value named. It never falls through to a lower layer's value.

Under auto, pick the concrete shape:

  • explain only when a person asked, in their own message, how something works ("how does the retry scheduler work", "walk me through the login flow").
  • change-prep for everything else: a request made before a change, and every invocation from another skill (a skill body told you to run /discovery:explore, or you are a subagent another skill dispatched), however its scope is worded. A calling skill that wants a walkthrough passes --output explain.

State one line in the reply: the concrete shape and the layer that supplied the value, e.g. explore_output: explain (auto from the default; how-does-it-work request) or explore_output: change-prep (docs/conventions/discovery.yaml).

The two shapes:

  • change-prep: the handoff summary: what exists, the constraints and patterns a change must respect, the open questions with recommended defaults, and the next stage (/discovery:research or /planning:plan (if enabled)).
  • explain: a walkthrough of how the scope works, in the order a request or call moves through it, each step citing the path:line it rests on, from files the run Read. Open questions are still surfaced. No next-stage recommendation unless the person asked for one.

Routing. Dispatch by default

From the main conversation, this skill dispatches the discovery:explorer subagent. Exploration reads many files; keeping that out of the orchestrator's context window is the point. The agent loads the project's path-scoped rules, runs the six dimensions, writes the artifact set, and returns a bounded summary plus a file pointer, not the reads. The parent resolves the pre-dispatch envelope first, six fields (scope, reason, memory-slice path, memory root, budget, capability flags), written into the dispatch prompt as the labeled template in ${CLAUDE_PLUGIN_ROOT}/reference/parent-contract.md, not as prose the agent has to parse, and owns the post-dispatch boundary after: re-surfacing `o

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • evals/evals.json
  • reference/dispatch.md
  • reference/ecosystem-discovery.md
  • reference/native-explore.md
  • reference/workflow.md

FAQ

Что делает скилл Explore?

Explore local codebase, trace dependencies, and check tests before a code change; persists EXPLORE.md via fresh-context subagent (change-prep/explain, read-only). Use when: 'what exists for X', 'how does this work', 'what tests cover this'. Not for bare locates (Explore agent), rationale: /discovery:trace-intent, or non-repo: /discovery:research.

Как установить скилл Explore?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Explore запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить Explore с