Implement Feature (SAM Workflow Execution)
This workflow continues from add-new-feature. It executes tasks from a SAM task file until complete (or blocked).
Resolve Task File
Rules:
- If
$ARGUMENTSends with.md, treat it as the task file path. - Otherwise, treat it as a feature slug (or partial slug) and resolve via
implementation_manager.py.
Example resolution:
uv run "${CLAUDE_PLUGIN_ROOT}/skills/implementation-manager/scripts/implementation_manager.py" \
status "${CLAUDE_PROJECT_DIR}" "$ARGUMENTS"
Progress Loop
- Query status:
uv run "${CLAUDE_PLUGIN_ROOT}/skills/implementation-manager/scripts/implementation_manager.py" \
status "${CLAUDE_PROJECT_DIR}" "$ARGUMENTS"
- If tasks remain, query ready tasks:
uv run "${CLAUDE_PLUGIN_ROOT}/skills/implementation-manager/scripts/implementation_manager.py" \
ready-tasks "${CLAUDE_PROJECT_DIR}" "$ARGUMENTS"
- For each ready task:
- Route to the agent named in the task's
**Agent**field. - Launch the agent with a prompt that invokes
start-task:
Skill(skill="python3-development:start-task", args="{task_file_path} --task {task_id}")
- Repeat until no tasks remain ready.
Completion Gate
When all tasks show COMPLETE, invoke:
Skill(skill="python3-development:complete-implementation", args="{task_file_path}")