Draft embedded pipeline state

From 45ck/content-machine · View interactive version

Draft embedded pipeline state is an AI agent skill from the GitHub repository 45ck/content-machine. 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 to use this skill

Skill file

Draft Embedded Pipeline State

Use When

in scattered side files.

Core Rule

completed.

Inputs

JSON or equivalent structured working file

Outputs

status, timestamp, artifact paths, and failure notes

Workflow

  1. Initialize an internal pipeline-state object on first run.
  2. After each successful stage, record done, timestamp, and artifact

references.

  1. After each failed stage, record failed and the failure reason.
  2. On rerun, skip stages already marked done unless forced.
  3. Keep the summary human-readable enough that an agent can inspect the

artifact and know where to resume.

Good Pattern

Bad Pattern

Pair With

and CODE0 for resume and

rerun behavior.

when stage state needs richer gate decisions.

Aggregated From

Validation Checklist

them.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.