mirror of
https://github.com/azaion/gps-denied-onboard.git
synced 2026-04-22 09:16:38 +00:00
1.6 KiB
1.6 KiB
title, category, tags, version, description
| title | category | tags | version | description | ||
|---|---|---|---|---|---|---|
| Save Plan — /save-plan | planning |
|
1.0 | Save the current in-memory plan to disk mirroring the spec structure. |
/save-plan — Save Plan to Disk
Save the current in-memory plan to disk (mirroring spec structure under docs/plans/).
Syntax
/save-plan --spec @<original-spec-path>
--spec @<original-spec-path>(required): Original spec path to mirror structure
Behavior
- Read the current in-memory plan from Cursor's Plan mode.
- Determine output path by mirroring the spec's subpath:
- Spec:
docs/specs/<subpath>/<filename>.md - Plan:
docs/plans/<subpath>/<filename>.md
- Spec:
- Ensure parent directories exist; write the plan atomically.
- Return saved plan path.
Prerequisites
- Cursor is in Plan mode with an active plan
- Original spec exists at the provided path
Usage
After generating a plan in Plan mode:
/save-plan --spec @docs/specs/888568-language-content-service-implementation-execute/920755-export-to-excel-backend-frontend-and-filters.md
This writes plan to: docs/plans/888568-language-content-service-implementation-execute/920755-export-to-excel-backend-frontend-and-filters.md
Example
Command:
/save-plan --spec @docs/specs/924274-jadx-test/924326-dashboard-export-to-excel.md
Result:
- Plan saved to
docs/plans/924274-jadx-test/924326-dashboard-export-to-excel.md
Notes
- Only works when a plan exists in memory (Plan mode)
- If plan file already exists, it's overwritten
- Preserves the original plan structure and todos as-is