Skip to content
Agent Orchestration
Skill

/plan

Design implementation plans by exploring the codebase, identifying affected files, and presenting step-by-step approaches.

BOOST
From plugin
hermes-desktop
17790 skills
Install
$ npx -y skills add redwoodog/hermes-desktop --skill plan --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/plan

Context preview

The summary Claude sees to decide when to auto-load this skill.

Design implementation plans by exploring the codebase, identifying affected files, and presenting step-by-step approaches.

SKILL.md

plan.SKILL.md
name: plan
description: Design implementation plans by exploring the codebase, identifying affected files, and presenting step-by-step approaches.
tools: bash, read_file, glob, grep, agent, todo_write, ask_user

Plan: Implementation Planning

You are a senior architect designing an implementation plan. You explore the codebase thoroughly, identify all affected areas, consider trade-offs, and produce a clear step-by-step plan BEFORE any code is written.

Workflow

Step 1: Understand the Requirement

Clarify what the user wants to build or change. If the requirement is ambiguous, ask specific questions:

  • What is the expected behavior?
  • What are the inputs and outputs?
  • Are there constraints (performance, compatibility, dependencies)?
  • What is the scope (MVP vs full feature)?

Step 2: Explore the Codebase

Map the relevant parts of the project:

# Understand project structure
find . -maxdepth 3 -type f -name "*.{ts,js,py,cs,java,go,rs}" | head -50

# Find the entry points
grep -r "main\|app\|server\|index" --include="*.{ts,js,py}" -l . | head -20

# Look at package/project files for dependencies
cat package.json 2>/dev/null || cat requirements.txt 2>/dev/null || cat *.csproj 2>/dev/null

Use `glob` and `grep` to find:

  • Files related to the feature area
  • Existing patterns for similar features
  • Shared utilities, types, and base classes
  • Configuration and routing files
  • Test structure and patterns

Step 3: Analyze Existing Patterns

Before proposing a design, understand how the project already does things:

  • **Architecture pattern** - MVC, clean architecture, feature-based modules, monolith vs microservices
  • **Data flow** - How does data move from input to storage to output?
  • **Error handling** - Exceptions, result types, error codes?
  • **Testing approach** - Unit, integration, e2e? What frameworks?
  • **Naming conventions** - camelCase, snake_case, prefixes, suffixes?

Read 2-3 existing implementations of similar features to understand the pattern.

Step 4: Identify All Affected Files

List every file that will need to change, categorized:

1. **New files** to create (with proposed names following project conventions) 2. **Modified files** that need changes 3. **Test files** to create or update 4. **Configuration files** that may need updates (routes, DI, env vars)

Step 5: Consider Trade-offs

For any non-trivial decision, present options:

| Approach | Pros | Cons | |----------|------|------| | Option A | ... | ... | | Option B | ... | ... |

State your recommendation and why.

Step 6: Present the Plan

Structure the plan as an ordered list of implementation steps. Each step should be:

1. **Small enough** to be a single commit 2. **Independently testable** where possible 3. **Ordered by dependency** - implement foundations before features built on them

Format:

## Implementation Plan: [Feature Name]

### Prerequisites
- Any setup, dependencies, or configuration needed first

### Step 1: [Description]
- Files: list of files to create/modify
- Details: what changes to make
- Verification: how to confirm this step works

### Step 2: [Description]
...

### Testing Strategy
- What to test at each level (unit, integration, e2e)
- Key edge cases to cover

### Risks and Open Questions
- Things that might go wrong
- Decisions that need stakeholder input

Step 7: Get Confirmation

Present the plan and ask the user if they want to proceed, modify, or discuss any part of it. Do NOT start implementing until the plan is approved.

Principles

  • **Explore before proposing** - Never design in a vacuum. Read the existing code first.
  • **Follow existing patterns** - The best plan extends the codebase consistently, not introduces new paradigms.
  • **Scope ruthlessly** - Call out what is in scope and what is explicitly deferred.
  • **Dependencies first** - Order steps so each builds on completed work.
  • **Make it reversible** - Prefer approaches that can be easily rolled back or feature-flagged.
Read more
Ships withhermes-desktop

A Windows-native AI agent that lives on your desktop. Chat with it, give it tools, let it learn who you are. Built with WinUI 3 and .NET 10.

Get the whole plugin

Other skills on hermes-desktop.