--- name: execute-plan description: Execute an existing plan file. Use when a user asks to carry out a .plan.md task list. metadata: short-description: Execute a plan --- # Execute Plan ## Goal Execute a plan stored in `.cursor/plans/*.plan.md`, updating todo statuses as work progresses. ## Minimal workflow 1. **Load the plan file** - Read the provided `.plan.md` path. - Confirm the plan uses the expected YAML frontmatter with `todos`. - If the path or format is missing, ask the user for clarification. 2. **Execute tasks with status transitions** - When starting a task, set its `status` to `in_progress`. - Keep at most one `in_progress` task at a time. - When a task is finished, set its `status` to `completed`. - Update the plan file after each status change. 3. **Handle scope changes** - If the user adds or changes requirements, update the plan file to reflect the new or adjusted todos. 4. **Output formatting** - In responses, reference the plan file path and describe what was completed or is in progress. 5. **Completion requirements** - When all todos are completed, output a Markdown block that begins with: - `I just implemented . Review the plan, review all code changes, and determine if the changes align with the plan. Then have a UI testing subagent manually verify any and all front-end changes.` - Below that opening line, include: - A concise summary of all changes made while executing the plan. - A file-level change log describing what changed in each file and why. - Clear, actionable instructions for a UI tester to manually validate the changes, using a generic tester alias (for example, `ui-ux-tester`). - Assume the tester has zero knowledge of the codebase. - For every manual check, specify where to go in product terms (route/page URL and the relevant section, panel, or table). - Avoid component-only references (for example, "DatePicker", "TableRow", "Modal X") unless paired with exact on-page location and user-visible labels. - Prefer task language the tester can execute directly: "Open ``, click `