plan-deep-dive
Skill15 starsChanged 33 days agoApache-2.0View on GitHub
Phase-by-phase deep inspection of any multi-phase plan — stop at each phase and assess completeness, quality, and future-readiness before advancing. Trigger when the user runs /deep-dive or asks to "do a deep dive", "inspect each phase", "look at this more carefully", or "check if we're missing anything" on an existing plan. Use plan-create to create a new plan, plan-execute to run an approved plan, and plan-phases to add gates to a plan.
In this repository95 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- llms.txtllms.txt
- agent-mailboxSkill
- agent-outputSkill
- ask-gateSkill
- ask-meSkill
- audit-coupled-constantSkill
- budget-checkSkill
- build-prototypeSkill
- caller-optionsSkill
- cold-reviewSkill
- debug-taskSkill
- define-termsSkill
- defuddleSkill
- design-an-interfaceSkill
- diff-recapSkill
- directives-auditSkill
- domain-checkSkill
- double-checkSkill
- extract-signalSkill
- freshness-contractSkill
- github-syncSkill
- handoff-executeSkill
- handoffSkill
- headless-claudeSkill
- headless-codexSkill
- headless-geminiSkill
- headless-grokSkill
- headless-modelsSkill
- headless-update-modelsSkill
- headless-usageSkill
- human-drawSkill
- human-mergeSkill
- human-outputSkill
- human-rewriteSkill
- implement-taskSkill
- improve-codebase-architectureSkill
- insight-adversarialSkill
- insight-anglesSkill
- insight-assessSkill
- insight-critiqueSkill
- insight-cross-examineSkill
- insight-exploreSkill
- insight-premortemSkill
- insight-reference-classSkill
- insight-retroSkill
- insight-root-causeSkill
- insight-skill-gapSkill
- insight-test-assumptionSkill
- insight-value-of-informationSkill
- investigateSkill
- json-canvasSkill
- map-checkSkill
- map-initSkill
- map-maintainSkill
- map-rulesSkill
- map-thisSkill
- monorepo-depsSkill
- multi-agent-modeSkill
- The first 60 shown.
The file
Show its rules and text
We split this skill into the rules it gives an agent
16 rules. About 0 are common, 15 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 42
If phase-by-phase inspection surfaces gaps that would require redesigning the plan rather than tweaking it (missing phase, wrong …
- Distinctive: line 48
Verification step: before entering Phase 2, present the loaded artifact's title and first substantive line to the user and ask: "Is this …
- Distinctive: line 50
Gate: no phases found → cannot proceed.
- Distinctive: line 65
Read the current phase in full.
- Distinctive: line 69
Check for: omitted edge cases, unstated assumptions, undeclared dependencies, missing error handling, missing validation, incomplete …
- Distinctive: line 75
Check for: simpler approaches, performance gains, better abstractions, reduced scope creep, alignment with existing patterns and skills, …
- Distinctive: line 81
Check for: extensibility, breaking change risk, forward compatibility, scalability bottlenecks, tech debt introduced, migration paths …
- Distinctive: line 83
Consider 3-month and 6-month horizons explicitly.
- Distinctive: line 98
Update the running verdict log with this phase's result.
- Distinctive: line 108
After all phases pass, produce a consolidated deep-dive report.
- Distinctive: line 123
MUST stop at each phase — never batch or skip
- Distinctive: line 124
MUST propose concrete fixes when finding gaps — not vague observations
- Distinctive: line 125
MUST consider 3-month and 6-month horizons when assessing future
- Distinctive: line 126
MUST apply amendments to the plan artifact only after user approval in Step 6 — never before
- Distinctive: line 127
MUST NOT output "LGTM" without substantive analysis
- Distinctive: line 128
SHOULD check sibling skills for established patterns when referencing existing work
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/deep-dive
Phase-by-phase deep inspection of any multi-phase plan. Stop at each phase, assess completeness, quality, and future-readiness before moving on.
Structured execution spec:
protocol.yon. Read it for the canonical rules and step sequence; this file is explanation. The two must stay in sync — if you edit one, update the other and refresh the@STAMPdate.
Caller Options. Before executing, run the Caller Options protocol (
caller-options/SKILL.md): triage this invocation for material optionality across the venues declared in front-matter; if one path clearly dominates, proceed silently; otherwise surface the options. For long plans,delegatedreturns read-only analysis of one phase to the lead; the lead retains the verdict log, user gate, amendment selection and transition to the next phase.
Iterative Depth Protocol.
/plan-createproduces the plan./plan-deep-divepressure-tests it phase by phase. Never batch or skip phases — the value is in the forced stops.
For delegated review, dispatch read-only analysis of one phase only and return its findings to the lead before the existing user gate. The lead owns acknowledgement, exact amendment selection and every next-phase transition. Workers never amend the plan or advance phases. If that relay is unavailable, inspect inline.
When to escalate to plan-create
If phase-by-phase inspection surfaces gaps that would require redesigning the plan rather than tweaking it (missing phase, wrong sequencing, fundamental approach issue), stop the deep-dive and recommend /plan-create to redesign.
Phase 1 — Load & Enumerate
Identify the active plan. Load implementation_plan.md, PLAN.md, or the current multi-phase artifact (e.g. a multi-phase plan presented inline in the conversation, or a plan document at any path the user has referenced). Extract the ordered list of phases.
Verification step: before entering Phase 2, present the loaded artifact's title and first substantive line to the user and ask: "Is this the correct and current plan?" Do not proceed until confirmed.
Gate: no phases found → cannot proceed.
Phase 2 — Iterative Phase Drill-Down
For each phase, execute the full drill-down loop below. Do NOT advance until the current phase passes all checks.
Running verdict log: maintain a verdict table updated after each Step 5. This log is cited verbatim in Phase 3 — do not reconstruct from memory.
| Phase | Verdict | Key Findings | Amendments Applied |
|-------|---------|-------------|-------------------|Step 1 — Read the Phase
Read the current phase in full. Summarize scope, deliverables, and dependencies.
Step 2 — Gap Assessment: Are we MISSING anything?
Check for: omitted edge cases, unstated assumptions, undeclared dependencies, missing error handling, missing validation, incomplete coverage.
Minimum bar: at least one named gap, or explicitly state "No gaps found — [reason]." A blank or "looks good" is not acceptable.
Step 3 — Quality Assessment: Can we do it BETTER?
Check for: simpler approaches, performance gains, better abstractions, reduced scope creep, alignment with existing patterns and skills, DRY violations, naming drift.
Minimum bar: at least one named quality issue, or explicitly state "No quality issues found — [reason]."
Step 4 — Future Assessment: Is this FUTURE-READY?
Check for: extensibility, breaking change risk, forward compatibility, scalability bottlenecks, tech debt introduced, migration paths needed later.
Consider 3-month and 6-month horizons explicitly. Example prompts: "What breaks if this phase's output format changes in 3 months?" / "What would need to be re-done if the team doubles in 6 months?"
Minimum bar: at least one named future risk, or explicitly state "No future risks found — [reason]."
Step 5 — Phase Verdict — Present
Synthesize findings into a verdict. Present the verdict and all findings to the user. Do not apply amendments yet.
- PASS — no significant gaps, quality issues, or future risks found
- AMEND — gaps or improvements found; plan can proceed after targeted fixes
- RETHINK — stop and redesign before proceeding. Triggered when any of:
- The phase's primary deliverable is undefined or cannot be stated concretely
- The phase has an undeclared dependency on work not yet planned or completed
- The phase's approach directly contradicts a constraint or goal stated in the plan
Update the running verdict log with this phase's result.
Step 6 — User Gate + Apply Amendments
Present the phase verdict and findings summary. The user must acknowledge at least one specific finding by name before the gate passes — a blanket "yes" or "proceed" is not sufficient. If the verdict is PASS with no findings, the user must confirm "no findings noted."
Record the exact accepted amendment set before writing. Acknowledging a finding may advance inspection without authorizing its remedy; apply only selected amendments and preserve declined or unchanged choices. Reuse explicit approval of the exact set without asking again. After approval of the selected set, apply only those amendments to the plan artifact. Then loop back to Phase 2, Step 1 for the next phase.
Phase 3 — Synthesis
After all phases pass, produce a consolidated deep-dive report. Cite per-phase verdicts directly from the running verdict log — do not reconstruct from memory.
- Per-phase verdicts — copied from the running verdict log
- Total amendments made — count and list
- Residual risks — findings not resolved by amendments
- Future considerations — 3-month/6-month items surfaced during Step 4 passes
- Overall support — evidence coverage, unchecked scope and unresolved assumptions, with a concise support judgment. Finding fewer defects does not imply a stronger review; do not use an uncalibrated numerical confidence score.
Verdict examples:
- AMEND example: "Phase 3 AMEND — missing rollback step identified; added explicit rollback instruction to the phase before advancing."
- RETHINK example: "Phase 2 RETHINK — primary deliverable (the API schema) was undefined; could not assess completeness. Returned to
/plan-createto define it before re-running."
Rules
- MUST stop at each phase — never batch or skip
- MUST propose concrete fixes when finding gaps — not vague observations
- MUST consider 3-month and 6-month horizons when assessing future
- MUST apply amendments to the plan artifact only after user approval in Step 6 — never before
- MUST NOT output "LGTM" without substantive analysis
- SHOULD check sibling skills for established patterns when referencing existing work
Downstream
Suggest the natural next command — these mirror the next-skills: front-matter:
/plan-execute— if all phases PASS/plan-create— if RETHINK on any phase
Human output. This skill's handler-facing output obeys the human-output contract (
human-output/SKILL.md).
Next skills. On completion, run the Next Skills protocol (
next-skills/SKILL.md): surface thenext-skillsrecommendations from front-matter for the caller to pick. Offer only — never auto-invoke.
Self-improvement. On completion, run the Self-Improvement Protocol (
self-improve/SKILL.md): apply its signal taxonomy and threshold to this run; surface any surviving proposal for handler approval. Conservative — silent otherwise. Never auto-apply.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

