step-running
БесплатноБез исполняемых скриптовНе проверенExecute a single DAG step as an autonomous background sub-agent. Sibling of phase-running for DAG plans produced by v-planning. Reads a step-<n>.md file…
от desplega-ai★ 38 звёзд на GitHubОб этом скилле
Step Running
You execute a single step of a DAG plan as an atomic background sub-agent. You work autonomously to completion and report results — you do NOT interact with the user.
This is the DAG sibling of phase-running. The execution model and atomicity contract are identical; the differences are:
- You receive a step file path (
step-<n>.md), not a plan path + phase number. - You claim the step atomically via the step's frontmatter
statusfield before doing work, and release it on completion / failure. This makes the same plan dir safe to drive from multiple orchestrator instances.
Execution Model
This skill runs inside a background Agent (sub-agent). v-implementing (or a user invoking /run-step) spawns it via the Agent tool with run_in_background: true.
The step agent receives:
- Step path: full path to
step-<n>.md - Plan dir: full path to the parent plan directory (read
root.mdfrom here for plan-level context) - Agent ID: unique identifier for this sub-agent (e.g. orchestrator session ID + step ID + timestamp). Used for atomic claim + stale-claim detection.
- Relevant context: any extra context from the caller
Concurrency: Atomic Claim
Before doing any work, claim the step:
- Read the step file's frontmatter.
- If
status: done— reportStatus: skippedand exit. The step is already finished. - If
status: claimedandassigneediffers from your agent ID:- Fresh claim (
claimed_atwithin last hour): reportStatus: blocked(reason:claimed by <other-id>) and exit. - Stale claim (>1h): proceed and overwrite — the previous worker likely died.
- Fresh claim (
- Otherwise (
status: ready, or staleclaimed): rewrite the frontmatter block in a singleEditso the write is atomic-enough for filesystem-based coordination. Set:status: claimedassignee: <your-agent-id>claimed_at: <ISO timestamp UTC>
- Re-read the file. If
assigneeis not yours, another worker raced you — reportStatus: blocked(reason:lost claim race) and exit.
On terminal transitions, set frontmatter:
- Completed:
status: done, clearassigneeandclaimed_at. - Blocked or failed (retry-able):
status: ready, clearassigneeandclaimed_at. The orchestrator (or another worker) can retry. - Failed (non-retry-able): leave
status: claimedso the orchestrator can investigate; include the reason in the report.
For true cross-machine atomicity (NFS, etc.), the caller is responsible for rendezvous (e.g. a shared lock service). The single-Edit pattern is good-enough for local filesystem and well-behaved network filesystems.
Autonomy
Step agents always run as Autopilot within the sub-agent. The calling context controls outer autonomy and human checkpoints.
CRITICAL: Step agents do NOT use AskUserQuestion. If something is ambiguous, report Status: blocked with details. The caller handles all user interaction.
Process Steps
Step 1: Load Context
- Claim the step (see "Concurrency: Atomic Claim"). Stop here on any non-claim outcome.
- Read the full step file.
- Read
root.mdfrom the plan dir for plan-level context: Overview, Current State, Desired End State, Implementation Approach, Global Verification. - Read all files mentioned in the step's "Changes Required" section.
Step 2: Pre-flight Check
| Check | Action if failed |
|---|---|
All depends_on steps have status: done |
Scheduler bug — release claim, report blocked |
| No merge conflicts in target files | Release claim, report blocked |
| Files/dirs from depended-on steps exist | Release claim, report blocked |
Step 3: Execute Step
Implement the changes described in the step's "Changes Required" section. Adapt to minor mismatches; report blocked for significant ones.
Step 4: Run Verification
Same three-bucket pattern as phase-running:
- Automated Verification (runnable commands): run each, record pass/fail. On failure, attempt one fix-and-retry.
- Automated QA (agent-driven scenarios — browser-use, screenshot diff, CLI walkthrough): execute, record pass/fail per item.
- Manual Verification: leave unchecked. Caller handles with the user.
- QA Spec (linked doc): if present, report
QA Doc: <path>. Do not execute scenarios inline.
Step 5: Update Step File
- Check off (
- [x]) Automated Verification + Automated QA items that passed. - Do NOT check off Manual Verification items.
- Update frontmatter
statusper "Concurrency: Atomic Claim" terminal-transition rules. - Update
last_updated/last_updated_byfrontmatter fields if present.
Step 6: Report Results
Completed:
Status: completed
Step: step-N - <Name>
Final frontmatter status: done
Files changed: [list]
Automated Verification: N/M passed
- [x] [Check 1] — passed
Automated QA: N/M passed
- [x] [Scenario 1] — passed
QA Doc: <path> | n/a
Manual verification needed:
- [ ] [Manual check 1]
**
Установить step-running в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл step-running?
Execute a single DAG step as an autonomous background sub-agent. Sibling of phase-running for DAG plans produced by v-planning. Reads a step-<n>.md file directly, atomically claims it via frontmatter status, runs the three-bucket Success Criteria, and reports back. Spawned by v-implementing or by /run-step.
Как установить скилл step-running?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл step-running запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic