rahulsub/code-practices-plugin/explore-plan-code

Claude Code and agent skill by rahulsub/code-practices-plugin

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Structured workflow for non-trivial tasks. Read files first, create detailed plan, get approval, then implement. Prevents premature coding.

Install

npx vskill@latest install rahulsub/code-practices-plugin/explore-plan-code

SKILL.md

The same SKILL.md was published earlier as rahulsub/code-practices-plugin/explore-plan-code.

Explore-Plan-Code Skill

Trigger

Use when starting any non-trivial implementation task. This workflow prevents premature coding and significantly improves outcomes for complex problems.

The Insight

From Anthropic's Claude Code best practices: "Research and planning before implementation dramatically outperforms jumping to code."

The Anti-Pattern

Jumping straight to writing code without understanding:

  • What files are involved
  • How existing code works
  • What patterns are already established
  • What the full scope of changes will be

The Workflow

Phase 1: Explore

Read relevant files first without writing any code.

Read the authentication module and understand how sessions are currently handled.
Don't write any code yet.

Key activities:

  • Read existing implementations of similar features
  • Understand the data flow
  • Identify all files that will need changes
  • Note existing patterns and conventions
Phase 2: Plan

Request a detailed plan. Use "think" to trigger extended reasoning.

Think through how we should implement the new caching layer.
Consider:
- What components need to change
- What order to make changes
- What could go wrong
- How to test each part
Write out a detailed plan before any implementation.

The plan should include:

  • [ ] Files to modify (in order)
  • [ ] New files to create
  • [ ] Key implementation decisions
  • [ ] Testing strategy
  • [ ] Rollback approach if something breaks
Phase 3: Approve

Review the plan. Ask questions. Identify risks.

Don't proceed until you're confident the plan is sound.

Questions to ask:

  • Does this cover all edge cases?
  • Is this the simplest approach?
  • What could go wrong?
  • How will we verify it works?
Phase 4: Code

Now implement, following the approved plan.

Implement the plan we discussed. Start with [first file] and work through the list.

Benefits of coding after planning:

  • Fewer false starts
  • Less context wasted on wrong approaches
  • Clear stopping points
  • Easier to course-correct
Phase 5: Commit

Review changes, write clear commit message, verify tests pass.

Template Prompt

markdown
## Task: [Description]
### Phase 1: Explore
Please read and understand these files before doing anything else:
-[file1]
-[file2]
-[relevant directory]
Summarize how [relevant system] currently works.
### Phase 2: Plan
Think through the implementation approach. Write a detailed plan including:
-Files to modify
-Order of changes
-Testing approach
-Potential risks
### Phase 3: Wait for Approval
Stop after the plan. I'll review before you implement.

When to Use Each Phase

Task ComplexityExplorePlanApproveCode
Trivial fixSkipSkipSkipDo
Simple featureBriefBriefQuickDo
Complex featureThoroughDetailedCarefulDo
Architecture changeDeepComprehensiveMultiple reviewsDo

Why This Works

  • Exploration builds accurate mental model
  • Planning catches issues before they're coded
  • Approval creates checkpoint for course correction
  • Coding becomes execution of known-good plan

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/rahulsub/code-practices-plugin/explore-plan-code/badge)](https://verified-skill.com/skills/rahulsub/code-practices-plugin/explore-plan-code)

Something wrong with this skill or its page? Tell us.