Skip to content

Commit 2dbb491

Browse files
committed
feat(commands): refine /plan and /task workflows
1 parent 3727fa8 commit 2dbb491

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

.gemini/commands/plan.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Follow these phases strictly:
1212
### Phase 2: Agentic Analysis
1313
1. Once you have a clear understanding of the objective, invoke the `planner` subagent.
1414
2. Pass the fully clarified objective to the `planner`. The `planner` will scan the repository and return a detailed Markdown plan.
15+
3. Review the plan with the user, and apply necessary corrections or adjustments based on their feedback. Use `ask_user` to confirm any changes.
16+
4. Ensure the final plan is comprehensive, actionable, and aligned with the user's goals before proceeding to the next phase.
1517
1618
### Phase 3: Saving the Plan
1719
1. Ensure the `plans/` directory exists.
@@ -20,7 +22,7 @@ Follow these phases strictly:
2022
2123
### Phase 4: Task Synchronization (TASKS.md)
2224
1. Read the current `TASKS.md` file to understand the project roadmap.
23-
2. Use `ask_user` to ask the user if they want to link this plan to `TASKS.md`. Provide options:
25+
2. Use `ask_user` to ask the user if they want to link this plan to `TASKS.md`. Provide options if they are relevant:
2426
- "Add as a new task"
2527
- "Update an existing task"
2628
- "Skip"

.gemini/commands/task.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ Mark a task as 'In Progress' and assign user to it.
1919
3. Update its status to `[/]` In Progress.
2020
4. Append the tag "(@!{{ git config user.email | cut -d'@' -f1 }})" to the task line.
2121
5. Ensure you don't overwrite existing assignments unless requested.
22-
6. Verify the file after the update and start planning mode for the task.
22+
6. If there is a plan for the task, use `ask_user` to confirm the next steps and start working on it.
23+
7. Otherwise, suggest user to invoke `/plan` command to create a plan before starting work.
2324
2425
### **Action: Report**
2526
Produce a strategic report of current tasks.

0 commit comments

Comments
 (0)