Initial commit

This commit is contained in:
Zhongwei Li
2025-11-30 09:05:29 +08:00
commit 91fde12a8b
51 changed files with 11738 additions and 0 deletions

59
commands/show-plan.md Normal file
View 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