agentleFS
ryanmacleanryanmaclean/skills/deming-pdsa/SKILL.md

deming-pdsa

Skill1 starsChanged 50 days agoMITView on GitHub

Run Deming Plan-Do-Study-Act (PDSA/PDCA) cycles with explicit hypotheses, measurable gates, proof probes, and standard-work updates. Use when driving execution under uncertainty, recovering stalled build lanes, coordinating parallel agents, or reducing repeat failures.

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 10 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use this skill when the user asks for PDSA, PDCA, Deming, continuous improvement, stop-line, andon, standard work, or when work is looping …

    line 8
  2. Distinctive:

    Create a cycle artifact:

    line 12
  3. Very specific:

    Run one controlled DO experiment (single variable change).

    line 15
  4. Very specific:

    Run STUDY with proof probes (proveryay verify ...

    line 16
  5. Distinctive:

    Every cycle must include these fields:

    line 21
  6. Distinctive:

    If any field is missing, the cycle is incomplete.

    line 34
  7. Distinctive:

    Write claims in machine-verifiable form.

    line 43
  8. Very specific:

    Verify claims with proveryay.

    line 60
  9. Distinctive:

    No verbal completion without probe evidence.

    line 64
  10. Distinctive:

    Use this exact shape in cycle files and agent reports:

    line 80
  11. Distinctive:

    Stop execution immediately when any condition is true:

    line 95
  12. Distinctive:

    do not retry blindly

    line 104
  13. Distinctive:

    treat unverified claims as non-facts

    line 112
  14. Distinctive:

    Keep it concise and numeric.

    line 124

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Deming PDSA

Use this skill when the user asks for PDSA, PDCA, Deming, continuous improvement, stop-line, andon, standard work, or when work is looping without measurable progress.

Quick Start

  1. Create a cycle artifact:
    • nu scripts/new-pdsa-cycle.nu --title "<problem>" --owner "<owner>"
  2. Fill in PLAN first; do not execute before gates are defined.
  3. Run one controlled DO experiment (single variable change).
  4. Run STUDY with proof probes (proveryay verify ... or proveryay batch).
  5. Complete ACT: adopt/adapt/abandon and update standard work.

PDSA Contract

Every cycle must include these fields:

  • problem_statement: concrete defect or bottleneck
  • hypothesis: what change should improve and why
  • primary_metric: one numeric metric
  • target: numeric target and deadline
  • guardrails: max acceptable regressions
  • owner: single accountable owner
  • timebox: explicit start/end window
  • claims: verifiable assertions with shell probes
  • decision: ADOPT, ADAPT, or ABANDON
  • standard_work_update: exact procedure change

If any field is missing, the cycle is incomplete.

Workflow

PLAN

  • Define baseline from observed facts (not assumptions).
  • Pick the smallest experiment that can falsify the hypothesis.
  • Define stop-line triggers before execution.
  • Write claims in machine-verifiable form.

Output:

  • plans/pdsa/<cycle-id>.md (plan section complete)

DO

  • Execute exactly the planned experiment.
  • Keep one-change-at-a-time discipline.
  • Record command, timestamp, and output artifact locations.

Output:

  • command logs, build logs, artifact paths

STUDY

  • Compare baseline vs result for primary metric.
  • Verify claims with proveryay.
  • Mark each claim PASS, FAIL, or INCONCLUSIVE.

Required rule:

  • No verbal completion without probe evidence.

Output:

  • study_summary in cycle file with metric delta and proof snippets

ACT

  • ADOPT: target met and guardrails hold
  • ADAPT: partial progress, adjust one variable
  • ABANDON: no gain or guardrail breach

Then update standard work:

  • append one concrete change to plans/pdsa/STANDARD-WORK.md

Claim Format

Use this exact shape in cycle files and agent reports:

<claims>
- claim: "L1 build is actively compiling"
  probe: "ssh studio@10.0.2.42 'wc -c /home/studio/bsd-build/logs/buildworld-l1.log'"
  expect: ""
- claim: "Artifact is bootable in QEMU"
  probe: "grep -E 'Booting|login:' /path/to/boot.log"
  expect: "Booting"
</claims>

Stop-Line Rules

Stop execution immediately when any condition is true:

  • repeated identical failure signature appears twice in window
  • disk guardrail breached
  • host unreachable for required lane
  • proof probes fail for critical claim

On stop-line:

  • open a new PDSA cycle with root-cause hypothesis
  • do not retry blindly

Multi-Agent Use

When using subagents:

  • assign each agent one lane or one proof surface
  • require <claims> block in every agent completion
  • treat unverified claims as non-facts
  • merge only after at least one independent verifier agent passes

Output Standard

Return results in this order:

  1. PLAN summary (hypothesis, metric, target)
  2. DO actions (commands + artifacts)
  3. STUDY evidence (probe verdicts)
  4. ACT decision and standard-work update

Keep it concise and numeric.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.