draft-embedded-pipeline-state
Keep short-production resume state directly inside the working draft artifact so each stage can mark done or failed status, record artifact paths, and safely…
от 45ck★ 21 звезда на GitHub
Установить draft-embedded-pipeline-state в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Draft Embedded Pipeline State
Use When
- A short pipeline needs safe resume behavior.
- The agent reruns the same draft multiple times across stages.
- Stage state should travel with the working artifact rather than live in scattered side files.
Core Rule
- Put pipeline state inside the draft artifact itself.
- The artifact that defines the work should also record what has already completed.
Inputs
- draft artifact: JSON or equivalent structured working file
- ordered stage list
- per-stage artifacts or errors
Outputs
- updated draft with embedded pipeline state
- per-stage records: status, timestamp, artifact paths, and failure notes
- resume-safe stage summary
Workflow
- Initialize an internal pipeline-state object on first run.
- After each successful stage, record
done, timestamp, and artifact references. - After each failed stage, record
failedand the failure reason. - On rerun, skip stages already marked done unless forced.
- Keep the summary human-readable enough that an agent can inspect the artifact and know where to resume.
Good Pattern
- one durable working artifact carries both plan and stage state
- reruns skip cleanly completed stages
- artifacts are discoverable from the state record
- failure state is explicit instead of implied by missing files
Bad Pattern
- separate hidden state files with no clear relation to the draft
- rerunning everything because the pipeline cannot tell what succeeded
- missing artifact paths after a stage is marked done
- state reset without explicit force behavior
Pair With
- Use with
partial-regenerationandretry-with-cachefor resume and rerun behavior. - Pair with
executive-producer-sendbackwhen stage state needs richer gate decisions.
Aggregated From
rushindrasinha/youtube-shorts-pipelineverticals/state.py- embedded draft-state patterns from short-form pipelines
Validation Checklist
- Stage state lives inside the working draft artifact.
- Completed stages can be skipped safely on rerun.
- Failed stages retain the error reason.
- Artifact references are recorded where downstream stages can find them.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл draft-embedded-pipeline-state?
Keep short-production resume state directly inside the working draft artifact so each stage can mark done or failed status, record artifact paths, and safely skip completed work on rerun.
Как установить скилл draft-embedded-pipeline-state?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл draft-embedded-pipeline-state запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…