Логотип Pdca Framework

Pdca Framework

Сообщество
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.

Обзор

Издательkenjudy
Репозиторийpdca-agentic-coding-framework
Название навыкаpdca-framework
Звёзды
45
Форки
6
Встроенные файлы
24
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 24

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: kenjudy. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Pdca Framework в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/kenjudy/pdca-agentic-coding-framework/tree/main/plugins/pdca/skills/pdca-framework
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

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
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Pdca Framework в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Pdca Framework, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Pdca Framework не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

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.

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ 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.

Зачем использовать Pdca Framework в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Pdca Framework — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Pdca Framework в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/kenjudy/pdca-agentic-coding-framework/tree/main/plugins/pdca/skills/pdca-framework. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Pdca Framework?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Pdca Framework?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Pdca Framework: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Pdca Framework?

Навык опубликован на GitHub автором kenjudy. Условия лицензии можно найти в репозитории. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇