harness/plugins/work-manager/common/skills/explore/SKILL.md
--- name: explore description: > Research phase before implementation — subcommand router. Given a list of entry points, spawn one subagent per entry point in parallel and write refactor-oriented research artifacts into the wm notes directory (`<notes-dir>/research/`). Use when the user says "explore", "research these entry points", or provides a list of files/symbols to investigate before a task. Invoke as `/explore <docs|workflow>` (default `docs`). `docs` writes the markdown write-u
npx skillsauth add popoffvg/dotfiles harness/plugins/work-manager/common/skills/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.
/explore <subcommand>. Pick the route, read its reference, follow it. Default is docs. Artifacts live in <notes-dir>/research/.
| /explore … | You need to… | Reference |
|---|---|---|
| docs (default) | Write the markdown research write-ups + question lists. One <ep-slug>.questions.md + one <ep-slug>.md per entry point, graded against the 6-step chain. Convergence loop + INDEX.md. | references/docs.md |
| workflow | Write the typed TS pseudocode + path bindings — <ep-slug>.workflow.ts, <ep-slug>.bindings.json, components/*.d.ts, flows.json. The navigable, reveal-in-editor layer over the docs artifacts. | references/workflow.md |
docs (prose + questions, 6-step chain) → workflow (TS pseudocode + bindings) → /flow-map (HTML)
.md write-ups and the explorer question lists, and runs the autonomous convergence loop until research stops surfacing gaps..md artifacts: clean typed TS pseudocode where every component and notable branch reveals to its real (possibly non-TS, cross-repo) source. Run docs first — workflow mirrors the cited locations from each <ep-slug>.md.Run docs alone for a read-only refactor brief. Add workflow when the team wants to navigate the
flows in the editor or render them with /flow-map.
A list of entry points. Each may be:
src/server/index.ts)HandleRequest, userController.create)If the user provides a free-form description, use cocoindex to find relevant entry points.
The user may also pass a destination folder inline with a dst:<path> token (e.g.
dst:docs/research/auth). It sets $RESEARCH_DIR directly, overriding the resolved
<notes-dir>/research (see "Output location"). A relative dst: resolves against the current
working directory.
<notes-dir> is the wm notes directory for the active task (commonly .notes/). It
persists with the rest of the planning context (spec.md, worklog.md, todos/) and ships with the
work, instead of vanishing from $TMPDIR. Resolve it from the phase context:
.notes/ at repo root)../.notes/ in the current working directory and tell the user.--notes-dir <path>.dst:<path> token in the input sets $RESEARCH_DIR directly and wins over both the resolved notes dir and --notes-dir. Use it to drop research outside the wm flow (e.g. into a docs folder).Create the research subdirectory:
NOTES_DIR="${NOTES_DIR:-.notes}"
# dst:<path> overrides; else <notes-dir>/research
RESEARCH_DIR="${DST:-$NOTES_DIR/research}"
mkdir -p "$RESEARCH_DIR"
The previous $TMPDIR/claude-explore/ location is deprecated.
explore-research saves coarse findings as <notes-dir>/research-*.md. explore complements that with per-entry-point deep dives under <notes-dir>/research/.code new may reference research/<ep-slug>.md#DP-N or #EC-N from a TODO's Pre-reads so the implementer doesn't re-derive the analysis.research/ is committed alongside spec.md and todos/ — it travels with the task.tools
Improve a whole CLAUDE.local.md — the private, per-project rules captured from user corrections. Wraps each conditional rule in a <task-relevant> block so it only surfaces for matching work, merges duplicates, generalizes one-off facts, drops stale entries, and routes raw project facts to engram. Use when the user says "improve claude.local", "clean up the local rules", "claude.local is bloated", or after the Stop hook has appended many rules.
testing
WM pipeline and conventions shared across all phases. Agents must read this before spec, impl, or verify work.
development
One entry point for spec writing, implementation, and bug fixing. Default is new (write spec → grill loop → produce notes → author TODO bodies). Other subcommands: verify (audit), revise (sync to shipped), prototype (settle a decision), code-map (diagram), impl (execute one TODO), fix (analyze cause, correct thoughts, fix behavior), help (this page). Invoke as /code <subcommand>.
development
Red-Green-Refactor cycle for bug fixes. Before fixing a bug, first write a failing test that reproduces it (Red), then make the minimal change to pass (Green), then clean up the code (Refactor). Use on any bug fix, error correction, failing test repair, or when user says "fix this bug".