Initial commit
This commit is contained in:
59
commands/show-plan.md
Normal file
59
commands/show-plan.md
Normal file
@@ -0,0 +1,59 @@
|
||||
## Show Plan
|
||||
|
||||
Display the plan being executed or executed in the current session.
|
||||
|
||||
### Usage
|
||||
|
||||
```bash
|
||||
/show-plan
|
||||
```
|
||||
|
||||
### Basic Examples
|
||||
|
||||
```bash
|
||||
# Check current plan
|
||||
/show-plan
|
||||
"Display executing plan"
|
||||
|
||||
# When no plan exists
|
||||
/show-plan
|
||||
"There is no plan in the current session"
|
||||
```
|
||||
|
||||
### Features
|
||||
|
||||
- Detect plans created with exit_plan_mode
|
||||
- Search for headings containing keywords like implementation plan, implementation details, plan
|
||||
- Format and display plan contents
|
||||
- Clearly notify when no plan exists
|
||||
|
||||
### Collaboration with Claude
|
||||
|
||||
```bash
|
||||
# Check plan during implementation
|
||||
"What was I implementing?"
|
||||
/show-plan
|
||||
|
||||
# When executing multiple tasks
|
||||
"Let me check the current plan again"
|
||||
/show-plan
|
||||
|
||||
# Review after plan execution
|
||||
"Show me the plan I executed earlier"
|
||||
/show-plan
|
||||
```
|
||||
|
||||
### Detection Patterns
|
||||
|
||||
Based on the format of plans generated by exit_plan_mode, the following patterns are detected:
|
||||
|
||||
- Headings starting with `##` (including Plan, Planning, Strategy)
|
||||
- `### Changes` (Changes)
|
||||
- `### Implementation Details` (Implementation Details)
|
||||
- `### Implementation Plan` (Implementation Plan)
|
||||
- Numbered headings like `### 1.`
|
||||
|
||||
### Notes
|
||||
|
||||
- Only displays plans in the current session (does not include past sessions)
|
||||
- Displays the latest plan with priority
|
||||
Reference in New Issue
Block a user