Logo vun Pdca Framework

Pdca Framework

Communautéit
kenjudy
pdca-framework

Guides developers through a human-supervised PDCA framework for AI code generation. Applies analysis, TDD, validation, and retrospection. Activates for sessions requiring systematic quality control.

Iwwersiicht

Editeurkenjudy
Repositorypdca-agentic-coding-framework
Skill-Nummpdca-framework
Stären
45
Forks
6
Matgeliwwert Fichieren
24
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 24 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    Vum kenjudy op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Pdca Framework an TypingMind, fir e mat all LLM ze benotzen, oder füügt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vun GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier hei drënner an a bestätegt.
    https://github.com/kenjudy/pdca-agentic-coding-framework/tree/main/plugins/pdca/skills/pdca-framework
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill afügen → Vu GitHub-URL, pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an de Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/kenjudy/pdca-agentic-coding-framework.git /tmp/pdca-agentic-coding-framework
mkdir -p .claude/skills
cp -r /tmp/pdca-agentic-coding-framework/plugins/pdca/skills/pdca-framework .claude/skills/pdca-framework
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Pdca Framework an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Pdca Framework automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Pdca Framework net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Keys.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

PDCA Framework for AI-Assisted Code Generation

A disciplined approach to AI-assisted code generation that employs agile practices organized in the Plan-Do-Check-Act cycle. This framework occurs within individual code generation sessions as a nested loop, with full cycles taking 1-3 hours.

Core Philosophy

This framework addresses the sustainability crisis in AI code generation where research shows:

  • 10x increase in duplicated code blocks (GitClear 2024)
  • 7.2% decrease in delivery stability per 25% AI adoption increase (Google DORA 2024)
  • 19% slower development with AI tools vs. without (METR research)

The solution keeps humans actively engaged, empowered, and accountable while using structured prompts to regulate agent behavior toward transparency and discipline.

Working Agreements

Commitments you hold yourself accountable to when interacting with coding agents. See references/working-agreements.md for complete list and examples.

Core principles:

  • Enforce strict TDD: one failing test at a time, no exceptions
  • Respect existing architecture: work within established patterns
  • Intervene immediately on process violations
  • Explicitly establish methodology, scope, and intervention rights before coding

Beads Integration (Optional)

Beads provides persistent, git-backed memory across PDCA sessions:

  • Cross-session continuity: Resume cycles days/weeks later with full context
  • Task dependency tracking: Link Plan → Do → Check → Act formally
  • Searchable retrospectives: Find past learnings easily

First-time setup: See references/beads-setup.md Active sessions: See references/beads-workflow.md for per-phase commands

All beads commands in the phase addon files are optional. The framework works with or without beads installed.

Ponytail Integration (Optional)

ponytail is an AI-agent minimalism framework that climbs a decision ladder (YAGNI → reuse → stdlib → platform feature → dependency → one-liner → minimum-that-works) before writing code. Where its guidance and PDCA's TDD discipline conflict, three precedence rules resolve it — PDCA governs how work is verified, ponytail governs what gets built and how complex it is.

Setup: See references/ponytail-setup.md Active sessions: See references/ponytail-workflow.md for the precedence rules and mode-to-phase guidance

This addon is fully optional. The framework works with or without ponytail installed, and PDCA never sets or reads ponytail's mode on its behalf.

Superpowers Integration (Optional)

superpowers is a skills library for coding agents (MIT, © Jesse Vincent). Unlike the addons above it is not something PDCA invokes: it installs a session hook, so if it is installed it is always active. PDCA does not intercept it — one precedence rule applies, and it is superpowers' own: user instructions take precedence over skills. PDCA governs when work is verified and finished; superpowers governs how many individual tasks are carried out.

Setup: See references/superpowers-setup.md Active sessions: See references/superpowers-workflow.md for which skills to welcome, which defer to the phase you are in, and why the list of conflicts is deliberately short

This addon is fully optional. The framework works with or without superpowers installed, and PDCA never installs, configures, or suppresses any part of it.

Autonomous CHECK Critic Fallback (Optional)

When the CHECK phase's adversarial critic pass is needed (see 3. Check/3. Completeness Check.md) but no operator is present to answer the decision probe, this fallback keeps the check disciplined instead of skipping it or defaulting to self-review.

First-time setup: See references/autonomous-critic-setup.md to declare a preferred review skill or model Active sessions: See references/check-autonomous-critic-addon.md for Claude Code's concrete mechanics (model-tier table, subagent invocation)

This addon is fully optional. Without it, autonomous sessions fall back to a fresh subagent with no third-party skill, on a different model than the one doing the work — never the same session reviewing itself.

Tutorial Mode (Optional)

Explains the current phase — what it is, how to use it, what comes next — directly in each phase's response to the human operator. Off by default; a project opts in once, durably, rather than the agent guessing from conversation context.

Setup: See references/tutorial-setup.md for how to turn it on (durably in your project instructions, or for a single invocation) and its scope.

This addon is fully optional. The framework works identically with or without it — no PLAN, DO, CHECK, or ACT behavior changes, only whether an explanatory aside is added to the reply.

PDCA Cycle Overview

Each step has distinct prompts and human commitments:

1. PLAN: Analyze & Plan (7-15 min)

  • Analysis: Examine codebase, define achievable objectives, explore approaches
  • Planning: Create detailed execution plan with numbered steps and checkpoints
  • See references/plan-prompts.md for complete templates
  • Beads (Optional): See references/plan-beads-addon.md for epic tracking
  • Tutorial (Optional): only when tutorial mode is on (see references/tutorial-setup.md), also follow references/plan-tutorial-addon.md

2. DO: Code Generation (30 min - 2.5 hrs)

  • TDD Implementation: Red-green-refactor with checklist-based guidance
  • Active Oversight: Follow agent's work, intervene early and often
  • See references/do-prompts.md for implementation checklists
  • Anti-patterns: See references/testing-anti-patterns.md for common TDD violations to avoid
  • Beads (Optional): See references/do-beads-addon.md for TDD step tracking
  • Tutorial (Optional): only when tutorial mode is on (see references/tutorial-setup.md), also follow references/do-tutorial-addon.md

3. CHECK: Validate (2-5 min)

  • Completeness: Verify against analysis, plan, and quality standards
  • Definition of Done: Explicit checklist for delivery readiness
  • See references/check-prompts.md for validation templates
  • Beads (Optional): See references/check-beads-addon.md for task graph validation
  • Tutorial (Optional): only when tutorial mode is on (see references/tutorial-setup.md), also follow references/check-tutorial-addon.md

4. ACT: Retrospect (5-10 min)

  • Process Review: Identify what worked and what to improve
  • Continuous Improvement: Update 1-3 small things for next cycle
  • See references/act-prompts.md for retrospective guides
  • Beads (Optional): See references/act-beads-addon.md for storing retrospectives
  • Tutorial (Optional): only when tutorial mode is on (see references/tutorial-setup.md), also follow references/act-tutorial-addon.md

When to Use Each Phase

Before opening any phase — goal check (30 sec):

Can you complete this sentence: "After this session, [outcome]."

If you cannot state the outcome in one sentence, write it now. A session without a stated goal produces untestable CHECK and ACT phases.

Start with PLAN when:

  • Beginning a new feature or significant change
  • Scope is unclear or could expand
  • Multiple approaches are possible

Use DO iteratively:

  • After completing plan
  • For each step in the implementation plan
  • When context drift occurs, restart with updated plan

CHECK after:

  • Completing all planned steps
  • Before committing code
  • When uncertain if work is complete

ACT at end of session:

  • After successful completion
  • After encountering significant challenges
  • To refine prompts and practices

Context Drift Recovery

If agent makes sprawling edits, breaks TDD, or ignores working agreements:

  1. Stop the thread immediately
  2. Describe what you observe
  3. Repost the relevant phase prompts
  4. Direct agent to proceed with renewed focus

Prompt Customization

All prompts are starting templates. Adapt them to:

  • Your specific model and version
  • Your team's practices and conventions
  • Your codebase architecture
  • Lessons from retrospectives

The PDCA cycle itself provides rapid feedback for incremental prompt evolution.


License & Attribution

License: Creative Commons Attribution 4.0 International (CC BY 4.0)

Attribution: Process framework developed by Ken Judy with Claude Anthropic 4

Source: PDCA Framework Repository

Living Framework: These prompts and working agreements should be continuously refined based on retrospective learnings from each collaboration session.

Matgeliwwert Fichieren

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Pdca Framework?

Guides developers through a human-supervised PDCA framework for AI code generation. Applies analysis, TDD, validation, and retrospection. Activates for sessions requiring systematic quality control.

Firwat Pdca Framework op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Pdca Framework besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt amplaz vun engem Abonnement pro Benotzerplaz. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Pdca Framework an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/kenjudy/pdca-agentic-coding-framework/tree/main/plugins/pdca/skills/pdca-framework an. TypingMind liest d'Datei SKILL.md, bündelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Pdca Framework benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Pdca Framework benotzen?

Esou vill Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Pdca Framework domat benotzen – GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama a méi – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Pdca Framework gratis?

De Skill gëtt vum kenjudy op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbaart Pak vun Instruktiounen, dat engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt en nokënnt a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a keng Lafzäitëmfeld a funktionéiere mat all Modell.

All weisen

Elo Ären eegene KI-Workspace ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇