用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/deepaksinghcs14/deadeye-cc --skill explore命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | explore |
| description | Progressive codebase exploration: index, then signatures, then targeted reads only. |
Explore the codebase in three layers, stopping at the first one that answers the question. Do not skip ahead to reading full files "to be safe" -- each layer is a decision point, not a formality.
Layer 1 -- file index. Glob/find only, zero file reads. Get the
shape: directory layout, naming conventions, where the relevant area
likely lives. Stop here if the task is now obvious (e.g. "add a field to
this one struct" and you can see exactly which file that is).
Layer 2 -- entry points and signatures. Grep for the symbols,
exports, and call sites that matter to the task. You're building a map of
what calls what, not reading implementations yet. Stop here if you now
know which functions/files the change touches and roughly how they fit
together.
Layer 3 -- targeted reads. Read with offset/limit only for the
files directly relevant to the upcoming change -- never a full-repo read
sweep. If a file is large, read the section around the relevant symbol,
not the whole thing.
After each layer, explicitly decide: enough context to proceed, or one more layer? Don't default to Layer 3 out of caution -- most tasks resolve at Layer 1 or 2.
Return a structured summary to the caller: what you found, which files/symbols matter, and your recommendation -- not the raw contents you read along the way. The raw reads stay in this forked context; only the summary crosses back.
Before returning, cache the summary so the next session doesn't re-derive it (best-effort -- if this fails in any way, skip it silently and return your summary as normal; it is a cache, never a deliverable):
deadeye notes-append explore <<'EOF'
<the question you were asked>
- <a file or symbol that matters, and why>
- recommendation: <one line>
EOF
Ten lines maximum. If deadeye isn't on PATH, retry once with
~/.deadeye/bin/deadeye; if that also fails, move on.