Skip to content
Development
Command

/plan

Create an implementation plan before writing code. Use for new features, architectural changes, or complex refactoring.

From plugin
r-skills
2124 skills3 agents4 commands4 hooks
> /plugin marketplace add ab604/claude-code-r-skills

Command definition

plan.md
name: plan
description: Create an implementation plan before writing code. Use for new features, architectural changes, or complex refactoring.

/plan - Implementation Planning

Use the planner agent to create a comprehensive implementation plan before writing any code.

When to Use

  • New features or functionality
  • Architectural changes
  • Complex refactoring
  • Multi-file modifications
  • When requirements need clarification

What the Planner Does

1. **Restate Requirements** - Clarify what needs to be built 2. **Identify Risks** - Surface potential issues and blockers 3. **Create Step Plan** - Break down implementation into phases 4. **Define Success Criteria** - How to verify completion

The planner agent will NOT write any code until you explicitly confirm the plan.

Example Usage

/plan Add bootstrap confidence intervals to the model summary output

Response Options

After receiving a plan, respond with:

  • **"yes" / "proceed"** - Confirm and start implementation
  • **"modify: [changes]"** - Request specific modifications
  • **"alternative: [approach]"** - Propose a different approach

Plan Format

The planner will provide:

# Implementation Plan: [Feature Name]

## Overview
[Summary of what will be built]

## Requirements
- [Requirement 1]
- [Requirement 2]

## Implementation Steps

### Phase 1: [Phase Name]
1. [Step with file path and action]
2. [Step with file path and action]

### Phase 2: [Phase Name]
...

## Testing Strategy
- Unit tests: [what to test]
- Integration tests: [what to verify]

## Risks & Mitigations
- **Risk**: [Description]
  - Mitigation: [How to address]

## Success Criteria
- [ ] Criterion 1
- [ ] Criterion 2

Related Commands

  • `/tdd` - Test-driven development workflow
  • `/code-review` - Review code for quality issues
Read more
@ab604
Ships withr-skills

A curated collection of Claude Code configurations for modern R use. These skills, rules, commands, and agents help Claude Code understand R best practices and generate idiomatic, high-quality R code.

2128 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
212
Star history of ab604/claude-code-r-skills on GitHub, a chart by star-history.com

Other commands on r-skills.

code-review

code-review

Command

Review code for security, quality, and best practices. Use after writing code and before committing.

@ab604@ab604Install Command
tdd

tdd

Command

Test-driven development workflow for R. Write tests first, then implement. Use for new features, bug fixes, and refactoring.

@ab604@ab604Install Command
verify

verify

Command

Run full R verification loop before committing. Checks build, lint, style, test coverage, and code quality.

@ab604@ab604Install Command

More commands from other plugins.

build
Auto-invoked

build

Command

Implement tasks incrementally — build, test, verify, commit. Add "auto" to run the whole plan in one approved pass.

@addyosmani@addyosmaniInstall Command