deep-planning
Skill4 starsChanged 2 months agoMITView on GitHub
Use this skill for any non-trivial coding task — new features, multi-file changes, architecture decisions, bug fixes with unclear root cause, or any request where the "obvious" first solution might not be the best one. Do NOT use for mechanical tasks (typo fixes, formatting, adding a single import, renaming a variable) — those should stay in Fast Mode.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- Peter537/peter537-agent-plugintheir own version, first seen Oct 11, 2026
- gitkraken/vscode-gitlenstheir own version, first seen Oct 8, 2026
- riccardovandra/deep-planningtheir own version, first seen Jul 21, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- gitkraken/vscode-gitlens★ 10ksame name
- riccardovandra/deep-planning★ 1same name
- Peter537/peter537-agent-plugin★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository58 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/project-docs-prep/templates/AGENTS.mdAGENTS.md
- skills/project-docs-prep/templates/CLAUDE.mdCLAUDE.md
- deep-planningSkill
- deprecatedSkill
- architecture-reviewSkill
- code-reviewSkill
- diagnoseSkill
- tddSkill
- ui-design-engineeringSkill
- ux-ui-design-assessmentSkill
- in-progressSkill
- mcp-tool-managementSkill
- skill-managementSkill
- obsidian-canvasSkill
- obsidian-markdownSkill
- obsidian-notion-bridgeSkill
- obsidian-vault-workflowSkill
- boomz-preferencesSkill
- personal-agent-workflowSkill
- personalSkill
- automation-designSkill
- grill-with-docsSkill
- handoffSkill
- inbox-meeting-triageSkill
- markdown-reportSkill
- prompt-improvementSkill
- project-docs-prepSkill
- claim-citation-checkSkill
- daily-news-reportSkill
- github-skill-researchSkill
- project-discoverySkill
- repo-tourSkill
- research-methodologySkill
- seo-website-evaluatorSkill
- thaiSkill
- thai-addressSkill
- thai-customer-serviceSkill
- thai-date-formatSkill
- thai-festival-cardSkill
- thai-government-formSkill
- thai-id-validateSkill
- thai-invoiceSkill
- thai-pdpaSkill
- thai-resumeSkill
- thai-social-captionSkill
- thai-text-processingSkill
- thai-translateSkill
- backtest-expertSkill
- dividend-value-screenerSkill
- drawdown-circuit-breakerSkill
- exposure-coachSkill
- market-breadth-analyzerSkill
- portfolio-managerSkill
- position-sizerSkill
- tradingSkill
- trader-memory-coreSkill
- uptrend-analyzerSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 7 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
7
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Before proposing any solution:
- Distinctive: line 26
If a genuinely blocking ambiguity exists (the plan would differ significantly depending on the answer), ask ONE clarifying question before …
- Distinctive: line 32
Search the existing codebase for related code, existing conventions, naming patterns, and prior art before proposing anything new.
- Distinctive: line 35
If there is an existing Implementation Plan artifact for this feature/thread,
- Distinctive: line 53
Before finalizing the plan, list:
- Distinctive: line 88
Stop and wait for the user to comment on or approve this artifact before touching any files.
- Distinctive: line 89
If the user replies in chat instead of commenting on the artifact directly, treat that reply as feedback on the existing artifact and …
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Deep Planning
You are operating in a mode designed to emulate careful, senior-engineer-level reasoning (similar to how Claude Opus 5 approaches ambiguous engineering tasks) rather than executing the first plan that comes to mind.
Core rule
Never start editing code as your first action on a task this skill applies to. Your first output must always be a structured Implementation Plan artifact (see format below), and you must wait for explicit approval ("Proceed") before writing or modifying any file.
Step 1 — Restate and question the request
Before proposing any solution:
- Restate the task in your own words in 1-2 sentences.
- List every assumption you are making. If the request is ambiguous on scope, data shape, error handling, or edge cases — say so explicitly instead of silently picking one interpretation.
- If a genuinely blocking ambiguity exists (the plan would differ significantly depending on the answer), ask ONE clarifying question before proceeding. Otherwise, state your assumption and continue — do not stall on minor ambiguity.
Step 2 — Read before you write
- Search the existing codebase for related code, existing conventions, naming patterns, and prior art before proposing anything new. Do not assume a greenfield solution if similar logic already exists elsewhere in the repo.
- If there is an existing Implementation Plan artifact for this feature/thread, read and extend it — never silently replace it. Diff your new plan against the old one and call out explicitly what changed and why. If the user's new instruction only affects part of the plan, keep the untouched sections intact.
Step 3 — Generate at least two real approaches
For any design decision that has more than one reasonable solution, briefly outline at least 2 options (not one option plus a strawman). For each option, note:
- What it optimizes for
- The main tradeoff or risk
- Rough implementation cost (small / medium / large)
Pick one and state why, in one sentence. Skip this step only for tasks with a single obviously correct implementation (e.g. "add a null check here").
Step 4 — Surface edge cases and failure modes
Before finalizing the plan, list:
- Inputs or states that could break the chosen approach
- Anything the change could silently affect elsewhere in the codebase (shared functions, callers, tests, config)
- What "done" looks like — how you (or the user) will verify correctness
Step 5 — Write the Implementation Plan artifact
Structure every plan artifact the same way, so it stays diffable across revisions:
## Goal
<one sentence>
## Assumptions
- ...
## Options considered
1. **<name>** — optimizes for X, tradeoff: Y, cost: small/medium/large
2. **<name>** — optimizes for X, tradeoff: Y, cost: small/medium/large
## Chosen approach
<option> — because <reason>
## Steps
1. ...
2. ...
## Risks / edge cases
- ...
## Verification
- ...Stop and wait for the user to comment on or approve this artifact before touching any files. If the user replies in chat instead of commenting on the artifact directly, treat that reply as feedback on the existing artifact and update it in place — do not generate a competing new plan.
Step 6 — Handoff to execution
Once the plan is approved, execution (including fast, mechanical edits) can proceed
under a faster model if the workflow uses a separate implementer agent — this skill only
governs the planning phase. See architect.md / implementer.md custom agents for
a model-routing setup that pairs with this skill.
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.

