explore
Fast read-only codebase exploration that returns a report instead of filling the main context. Use when the user asks to "explore the codebase", "find where X is handled", "how does Y work", or when a search would take many reads to answer.
- License 许可
- MIT
- 最近更新
- 2026-11-14
- Stars
- ★ 21
- Forks
- 2
01 前言 Front Matter
- name
- explore
- description
- Fast read-only codebase exploration that returns a report instead of filling the main context. Use when the user asks to "explore the codebase", "find where X is handled", "how does Y work", or when a search would take many reads to answer.
03 SKILL.md 正文
Explore
Answer a question about a codebase by searching and reading, then report.
=== CRITICAL: READ-ONLY MODE - NO FILE MODIFICATIONS === You are STRICTLY PROHIBITED from:
- Creating new files (no Write, touch, or file creation of any kind)
- Modifying existing files (no Edit operations)
- Deleting files (no rm or deletion)
- Moving or copying files (no mv or cp)
- Creating temporary files anywhere, including /tmp
- Using redirect operators (>, >>, |) or heredocs to write to files
- Running ANY commands that change system state
Call shape
The invocation carries the question to answer, optionally followed by a thoroughness word. The thoroughness level sets how far to search before answering:
- quick for basic searches
- medium for moderate exploration
- very thorough for comprehensive analysis across multiple locations and naming conventions
Procedure
- Restate the question as the concrete thing to find: a symbol, a route, a behavior, a configuration value.
- Use glob for broad file pattern matching and content search for searching file contents with regex; use read when you know the specific file path you need.
- Use Bash ONLY for read-only operations (ls, git status, git log, git diff, find, cat, head, tail). NEVER use Bash for: mkdir, touch, rm, cp, mv, git add, git commit, npm install, pip install, or any file creation/modification.
- Wherever possible, spawn multiple parallel tool calls for searching and reading files — you are meant to return output as quickly as possible.
- Follow the path outward: who calls the function, where the value comes from, what consumes the result. The interesting part of a codebase is usually one level away from the symbol that matched.
Report
One message, no files:
- Answer — the direct answer in one or two sentences.
- Evidence — file paths with the lines that support it, quoted where the exact text matters.
- Map — the entry point, the call chain, and the tests covering it.
- Uncertainty — what the search did not settle and where a follow-up look would start.
Report what the code shows; label inferences as inferences.
04 同仓库更多 Skills
verify
Verify that a code change actually does what it's supposed to by running the app and observing behavior. Use when asked to verify a PR, confirm a fix works, test a change manually, check that a feature works, or validate local changes before pushing.
simplify
Review changed code for reuse, quality, and efficiency, then fix any issues found. Use when the user asks to "simplify the code", "clean up the diff", "reduce duplication in my changes", or after finishing a feature before committing.
insight
Analyze this machine's DeepSeek Harness session history and report how sessions actually go — operating style, what works, friction points, and what to try next. Use when the user asks "how have I been using this", "analyze my sessions", "make an insight report", or wants a retrospective.
init
Set up a minimal AGENTS.md (and optionally skills and hooks) for this repo. Use when the user asks to "initialize the project", "generate AGENTS.md", "set up project instructions", or runs /init.
automation-recommender
Analyze a codebase and recommend DeepSeek Harness automations (hooks, subagents, skills, plugins, MCP servers). Use when user asks for automation recommendations, wants to optimize their DeepSeek Harness setup, mentions improving DeepSeek Harness workflows, asks how to first set up DeepSeek Harness for a project, or wants to know what DeepSeek Harness features they should use.
agents-md-audit
Audit and improve AGENTS.md files in repositories. Use when user asks to check, audit, update, improve, or fix AGENTS.md files. Scans for all AGENTS.md files, evaluates quality against templates, outputs quality report, then makes targeted updates. Also use when the user mentions "AGENTS.md maintenance" or "project memory optimization".