| name | wikispec-plan |
| description | Create a tasks list to prepare for the implementation of a change. Use this before implementation to understand what needs to be done |
Skill: wikispec-plan
Drive the agent through the full plan step for a wikispec change. You will use the wikispec tool which is a binary in the path, no need to install anything.
Steps
-
Determine the change name.
- If the user provided a change name, use it exactly.
- If no name is provided use
wikispec list to list all active changes. If there is only one active change, assume that we will be working on this one, otherwise ask the user to pick a change from the list
-
Check whether plan step is runnable
- Use
wikispec status --change <change name> to get the status of the current change
- Look at the output to validate that the
plan step is runnable#
- If not, use the
waitingOn field to determine the steps on which plan is waiting and ask the user to run the corresponding wikispec skill first
-
Follow instructions in a loop.
Repeat until the step is complete:
wikispec instructions --change <name> --step plan
- If the output contains instructions, follow them, then call the command again.
- If the output signals that the step is already complete, stop looping, inform the user that the plan step is done and suggest to run
/wikispec-apply next