1.3 KiB
1.3 KiB
description, disable-model-invocation, disallowed-tools
| description | disable-model-invocation | disallowed-tools |
|---|---|---|
| Plan a coding task before editing. Use for non-trivial implementation, bug fixing, refactoring, or unfamiliar code. Produces a concise plan and waits for approval. | true | Write Edit MultiEdit |
You are planning a coding task.
Before producing the implementation plan:
- Read PRD.md.
- Read the task brief provided by the user. If a
.agent/tasks/<task-id>/brief.mdfile is mentioned, read it first. - Identify which PRD sections are affected.
- Verify that the task is consistent with the PRD.
- Report any ambiguity or conflict.
Workflow:
- Explore the relevant code in read-only mode.
- Do not edit files.
- Classify the task as Fast, Standard, or Cautious.
- Produce a concise implementation plan.
- Stop and wait for user approval before implementation.
The plan must include:
- task classification;
- assumptions;
- files inspected;
- files likely to change;
- files that should not change;
- implementation steps;
- tests to add or update;
- verification commands;
- risks and ambiguities;
- stopping conditions.
Constraints:
- Keep the scope minimal.
- Do not refactor unrelated code.
- Prefer the safest minimal default for ambiguities.
- If no code change is needed, explain with evidence.