Plan

From RedWoodOG/Hermes-Desktop · View interactive version

Plan is an AI agent skill from the GitHub repository RedWoodOG/Hermes-Desktop. Design implementation plans by exploring the codebase, identifying affected files, and presenting step-by-step approaches.

How to use this skill

Skill file

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:

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:

Step 3: Analyze Existing Patterns

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

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

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.