rahulsub/code-practices-plugin/explore-plan-code
Claude Code and agent skill by rahulsub/code-practices-plugin
- community
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-codeSKILL.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.
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.
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.
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
When to Use Each Phase
| Task Complexity | Explore | Plan | Approve | Code | |
|---|---|---|---|---|---|
| Trivial fix | Skip | Skip | Skip | Do | |
| Simple feature | Brief | Brief | Quick | Do | |
| Complex feature | Thorough | Detailed | Careful | Do | |
| Architecture change | Deep | Comprehensive | Multiple reviews | Do |
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
- SKILL.md in the repositoryCheckingskills/explore-plan-code/SKILL.md
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
[](https://verified-skill.com/skills/rahulsub/code-practices-plugin/explore-plan-code)