<augment_skill_adapter>
A. Skill Invocation
- This skill is invoked when the user mentions
gsd-cleanupor describes a task matching this skill. - Treat all user text after the skill mention as
{{GSD_ARGS}}. - If no arguments are present, treat
{{GSD_ARGS}}as empty.
B. User Prompting
When the workflow needs user input, prompt the user conversationally:
- Present options as a numbered list in your response text
- Ask the user to reply with their choice
- For multi-select, ask for comma-separated numbers
C. Tool Usage
Use these Augment tools when executing GSD workflows:
launch-processfor running commands (terminal operations)str-replace-editorfor editing existing filesviewfor reading files and listing directoriessave-filefor creating new filesgrepfor searching code (or use MCP servers for advanced search)web-search,web-fetchfor web queriesadd_tasks,view_tasklist,update_tasksfor task management
D. Subagent Spawning
When the workflow needs to spawn a subagent:
- Use the built-in subagent spawning capability
- Define agent prompts in
.augment/agents/directory
</augment_skill_adapter>
<objective>
Archive phase directories from completed milestones into .planning/milestones/v{X.Y}-phases/.
Use when .planning/phases/ has accumulated directories from past milestones.
</objective>
<execution_context>
@/Users/smintz/go/src/github.com/protoconf/protoconf/.augment/gsd-core/workflows/cleanup.md
</execution_context>
<process>
Execute end-to-end.
Identify completed milestones, show a dry-run summary, and archive on confirmation.
</process>