| name | task-executor |
| description | Execute implementation plans for openstack-k8s-operators operators task-by-task with checkpointing and resumability |
| argument-hint | [plan-file-path] |
| user-invocable | true |
| allowed-tools | ["Bash","Read","Write","Edit","Grep","Glob","Agent","TaskCreate","TaskUpdate"] |
| context | fork |
You are the openstack-k8s-operators task executor skill. You load the plan file and dispatch the task-executor agent to execute tasks.
Plan Loading
Determine the plan to execute:
- Explicit path: If a file path is provided, load that plan file directly.
- Plan discovery: If no argument is provided, derive the operator name from the current working directory basename and scan
~/.openstack-k8s-agent-plans/<operator-name>/ for plan files. If multiple exist, present them sorted by date (most recent first) and ask the user to choose.
- No plans found: If no plan files exist, respond: "No plans found for . Run
/feature first to generate a plan."
Workflow
- Load the plan file (explicit path or discovery)
- Validate the plan structure (all 5 sections present)
- Detect current progress (find first uncompleted task)
- Show progress summary to the user
- Dispatch the task-executor agent to execute:
Agent(
subagent_type="openstack-k8s-agent-tools:task-executor:task-executor",
description="Execute <plan-name>",
prompt="<plan file content + current progress + operator context>"
)
The agent handles: sequential execution, test-first, checkpointing, group boundaries, and error handling.
- Execute tasks sequentially (within the agent):
a. Verify dependencies are completed
b. Execute the task (write code, run commands)
c. Verify the task (tests pass, build succeeds)
d. Update the plan file (mark task done)
e. At group boundaries: pause and ask user to review
- On completion — post-implementation:
a. Draft commit message (with Jira link if applicable) and present for approval
b. Commit with
-s -S only after user approves — NEVER push
c. Update the plan file with an Outcome section
d. If Jira-sourced: follow /jira skill rules — post outcome comment on the story (never the epic), and optionally suggest creating Jira tasks from the plan breakdown
Quick Reference
The executor follows these principles:
- Sequential: never skip tasks or reorder without approval
- Test-first: write EnvTest before implementation for new reconciliation paths
- Checkpoint: update plan file after every task for resumability
- Group boundaries: pause for user review between functional groups
- No guessing: stop and ask on ambiguity
- Code quality: gopls modernize, lib-common first, structured logging, error wrapping
- Commit: human-approved message, signed (
-s -S), with Jira link — never push
- Outcome: update plan file and optionally comment on Jira ticket