Logo van Pdca Framework

Pdca Framework

Community
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.

Overzicht

Uitgeverkenjudy
Repositorypdca-agentic-coding-framework
Skillnaampdca-framework
Sterren
45
Forks
6
Meegeleverde bestanden
24
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • 24 meegeleverde bestanden

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. Bestanden zijn alleen-lezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door kenjudy op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Pdca Framework in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/kenjudy/pdca-agentic-coding-framework/tree/main/plugins/pdca/skills/pdca-framework
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die 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 na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Pdca Framework in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Pdca Framework automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Pdca Framework niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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.

Meegeleverde bestanden

Het model leest deze bestanden wanneer nodig terwijl de skill geladen is. Ze worden beschikbaar gesteld als leesbare bestanden en worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-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.

Waarom Pdca Framework gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Pdca Framework bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Pdca Framework in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/kenjudy/pdca-agentic-coding-framework/tree/main/plugins/pdca/skills/pdca-framework. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Pdca Framework gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Pdca Framework gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Pdca Framework ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Pdca Framework gratis?

Deze skill is door kenjudy op GitHub gepubliceerd. Bekijk de repository voor de licentievoorwaarden. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇