Command Palette

Search for a command to run...

Back to skills
skill № 02574

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…

FreeNo executable scripts
45ckby 45ck★ 21 GitHub stars

Install draft-embedded-pipeline-state in Claude Code & Claude Desktop

Sign up to install this skill

Create a free account to reveal the install command and save the skill to your library.

  • Reveal the one-line install command
  • Save skills to your synced library
  • Get notified when skills update
Sign up freeI already have an account

About this skill

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

  1. Initialize an internal pipeline-state object on first run.
  2. After each successful stage, record done, timestamp, and artifact references.
  3. After each failed stage, record failed and the failure reason.
  4. On rerun, skip stages already marked done unless forced.
  5. 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

Aggregated From

  • rushindrasinha/youtube-shorts-pipeline verticals/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.

Allowed tools

Tools this skill is permitted to call.

No restriction — this skill can use any tool.

FAQ

What does the draft-embedded-pipeline-state skill do?

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.

How do I install the draft-embedded-pipeline-state skill?

Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.

Does the draft-embedded-pipeline-state skill run scripts?

No, this skill is instructions only (SKILL.md) with no executable scripts.

Related skills

Compare draft-embedded-pipeline-state with