deepen-plan
Stress-test an existing implementation plan and selectively strengthen weak sections with targeted research.
Skill by gvkhosla
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/gvkhosla-deepen-plan
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: documents, testing, security, research
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/deepen-plan
What's inside
- Skill name
deepen-plan- Description
- Stress-test an existing implementation plan and selectively strengthen weak sections with targeted research. Use when a plan needs more confidence around decisions, sequencing, system-wide impact, risks, or verification. Best for Standard or Deep plans, or high-risk topics such as auth, payments, migrations, external APIs, and security. For structural or clarity improvements, prefer document-review instead.
- License
- MIT
- Instructions
- 405 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Deepen Plan ## Introduction **Note: The current year is 2026.** Use this when searching for recent documentation and best practices. `ce:plan` does the first planning pass. `deepen-plan` is a second-pass confidence check. Use this skill when the plan already exists and the question is not "Is this document clear?" but rather "Is this plan grounded enough for the complexity and risk involved?" This skill does **not** turn plans into implementation scripts. It identifies weak sections, runs targeted research only for those sections, and strengthens the plan in place. `document-review` and `deepen-plan` are different: - Use the `document-review` skill when the document needs clarity, simplification, completeness, or scope control - Use `deepen-plan` when the document is structurally sound but still needs stronger rationale, sequencing, risk treatment, or system-wide thinking ## Interaction Method Use the platform's question tool when available. When asking the user a question, prefer the platform's blocking question tool if one exists (`AskUserQuestion` in Claude Code, `request_user_input` in Codex, `ask_user` in Gemini). Otherwise, present numbered options in chat and wait for the user's reply before proceeding. Ask one question at a time. Prefer a concise single-select choice when natural options exist. ## Plan File <plan_path> #$ARGUMENTS </plan_path> If the plan path above is empty: 1. Check `docs/plans/` for recent files 2. Ask the user which plan to deepen using the platform's blocking question tool when available (see Interaction Method). Otherwise, present numbered options in chat and wait for the user's reply before proceeding Do not proceed until you have a valid plan file path. ## Core Principles 1. **Stress-test, do not inflate** - Deepening should increase justified confidence, not make the plan longer for its own sake. 2. **Selective depth only** - Focus on the weakest 2-5 sections rather than enriching everything. 3. **Prefer the simplest execution mode** - Use direct agent synthesis by default. Switch to artifact-backed research only when the selected research scope is large enough that returning all findings inline would create avoidable context pressure. 4. **Preserve the planning boundary** - No implementation code, no git command choreography, no exact test command recipes. 5. **Use artifact-contained evidence** - Work from the written plan, its `Context & Research`, `Sources & References`, and its origin document when present. 6. **Respect product boundaries** - Do not invent new product requirements. If deepening reveals a product-level gap, surface it as an open question or route back to `ce:brainstorm`. 7. **Prioritize risk and cross-cutting impact** - The more dangerous or interconnected the work, the more valuable another planning pass becomes. ## Workflow ### Phase 0: Load the Plan and Decide Whether Deepening Is Warranted #### 0.1 Read the Plan and Supporting Inputs Read the plan file completely. If the plan frontmatter includes an `origin:` path: - Read the origin document too - Use it to check whether the plan still reflects the product intent, scope boundaries, and success criteria #### 0.2 Classify Plan Depth and Topic Risk Determine the plan depth from the document: - **Lightweight** - small, bounded, low ambiguity, usually 2-4 implementation units - **Standard** - moderate complexity, some technical decisions, usually 3-6 units - **Deep** - cross-cutting, high-risk, or strategically important work, usually 4-8 units or phased delivery Also build a risk profile. Treat these as high-risk signals: - Authentication, authorization, or security-sensitive behavior - Payments, billing, or financial flows - Data migrations, backfills, or persistent data changes - External APIs or third-party integrations - Privacy, compliance, or user data handling - Cross-interface parity or multi-surface behavior - Significant rollout, monitoring, or operational concerns #### 0.3 Decide Whether to Deepen Use this default: - **Lightweight** plans usually do not need deepening unless they are high-risk or the user explicitly requests it - **Standard** plans often benefit when one or more important sections still look thin - **Deep** or high-risk plans often benefit from a targeted second pass If the plan already appears sufficiently grounded: - Say so briefly - Recommend moving to `/ce:work` or the `document-review` skill - If the user explicitly asked to deepen anyway, continue with a light pass and deepen at most 1-2 sections ### Phase 1: Parse the Current `ce:plan` Structure Map the plan into the current template. Look for these sections, or their nearest equivalents: - `Overview` - `Problem Frame` - `Requirements Trace` - `Scope Boundaries` - `Context & Research` - `Key Technical Decisions` - `Open Questions` - `High-Level Technical Design` (optional overview — pseudo-code, DSL grammar, mermaid diagram, or data flow) - `Implementation Units` (may include per-unit `Technical design` subsections) - `System-Wide Impact` - `Risks & Dependencies` - `Documentation / Operational Notes` - `Sources & References` - Optional deep-plan sections such as `Alternative Approaches Considered`, `Success Metrics`, `Phased Delivery`, `Risk Analysis & Mitigation`, and `Operational / Rollout Notes` If the plan was written manually or uses different headings: - Map sections by intent rather than exact heading names - If a section is structurally present but titled differently, treat it as the equivalent section - If the plan truly lacks a section, decide whether that absence is intentional for the plan depth or a confidence gap worth scoring Also collect: - Frontmatter, including existing `deepened:` date if present - Number of implementation units - Which files and test files are named - Which learnings, patterns, or external references are cited - Which sections appear omitted because they were unnecessary versus omitted because they are missing ### Phase 2: Score Confidence Gaps Use a checklist-first, risk-weighted scoring pass. For each section, compute: - **Trigger count** - number of checklist problems that apply - **Risk bonus** - add 1 if the topic is high-risk and this section is materially relevant to that risk
From gvkhosla/compound-engineering-pi, MIT.
More from gvkhosla/compound-engineering-pi
- 0.668score
rclone
gvkhosla
Upload, sync, and manage files across cloud storage providers using rclone.
SkillAFreshness: A★ 51Claude Code +9 - 0.668score
document-review
gvkhosla
Review requirements or plan documents using parallel persona agents that surface role-specific issues.
SkillAFreshness: A★ 51Claude Code +9 - 0.668score
resolve-pr-parallel
gvkhosla
Resolve all PR comments using parallel processing.
SkillAFreshness: A★ 51Claude Code +9 - 0.664score
claude-permissions-optimizer
gvkhosla
Optimize Claude Code permissions by finding safe Bash commands from session history and auto-applying them to settings.json.
SkillAFreshness: A★ 51Claude Code +9 - 0.663score
frontend-design
gvkhosla
Build web interfaces with genuine design quality, not AI slop.
SkillAFreshness: A★ 51Claude Code +9 - 0.663score
feature-video
gvkhosla
Record a video walkthrough of a feature and add it to the PR description.
SkillAFreshness: A★ 51Claude Code +9 - 0.663score
ankane-readme-writer
gvkhosla
Creates or updates README files following Ankane-style template for Ruby gems.
SkillAFreshness: A★ 51Claude Code +9 - 0.663score
reproduce-bug
gvkhosla
Systematically reproduce and investigate a bug from a GitHub issue.
SkillAFreshness: A★ 51Claude Code +9 - 0.663score
architecture-strategist
gvkhosla
Analyzes code changes from an architectural perspective for pattern compliance and design integrity.
SkillAFreshness: A★ 51Claude Code +9 - 0.660score
api-contract-reviewer
gvkhosla
Conditional code-review persona, selected when the diff touches API routes, request/response types, serialization, versioning, or exported type signatures.
SkillAFreshness: A★ 51Claude Code +9 - 0.660score
agent-native-reviewer
gvkhosla
Reviews code to ensure agent-native parity — any action a user can take, an agent can also take.
SkillAFreshness: A★ 51Claude Code +9 - 0.659score
dspy-ruby
gvkhosla
Build type-safe LLM applications with DSPy.rb — Ruby's programmatic prompt framework with signatures, modules, agents, and optimization.
SkillAFreshness: A★ 51Claude Code +9
Signals
- Stars
- 51
- Forks
- 4
- Open issues
- 0
- Last commit (this folder)
- Apr 21, 2026 (6 months ago)
- Last release
- Oct 1, 2026 (27 days ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from gvkhosla
- 0.668score
rclone
gvkhosla
Upload, sync, and manage files across cloud storage providers using rclone.
SkillAFreshness: A★ 51Claude Code +9 - 0.668score
resolve-pr-parallel
gvkhosla
Resolve all PR comments using parallel processing.
SkillAFreshness: A★ 51Claude Code +9 - 0.668score
document-review
gvkhosla
Review requirements or plan documents using parallel persona agents that surface role-specific issues.
SkillAFreshness: A★ 51Claude Code +9 - 0.664score
claude-permissions-optimizer
gvkhosla
Optimize Claude Code permissions by finding safe Bash commands from session history and auto-applying them to settings.json.
SkillAFreshness: A★ 51Claude Code +9 - 0.663score
frontend-design
gvkhosla
Build web interfaces with genuine design quality, not AI slop.
SkillAFreshness: A★ 51Claude Code +9 - 0.663score
feature-video
gvkhosla
Record a video walkthrough of a feature and add it to the PR description.
SkillAFreshness: A★ 51Claude Code +9
Cite this page
deepen-plan skill. Agent Mart. https://agentmart.dev/skills/gvkhosla-deepen-plan (last updated 2026-10-24)