PDCA Skill
Unified Skill for managing PDCA cycle. Supports the entire Plan → Design → Do → Check → Act flow.
Arguments
| Argument | Description | Example |
|---|---|---|
plan [feature] |
Create Plan document | /pdca plan user-auth |
design [feature] |
Create Design document | /pdca design user-auth |
do [feature] |
Do phase guide | /pdca do user-auth |
analyze [feature] |
Run Gap analysis (Check) | /pdca analyze user-auth |
iterate [feature] |
Auto improvement (Act) | /pdca iterate user-auth |
report [feature] |
Generate completion report | /pdca report user-auth |
archive [feature] |
Archive PDCA documents | /pdca archive user-auth |
status |
Show current status | /pdca status |
next |
Guide to next phase | /pdca next |
Action Details
plan (Plan Phase)
Check if
docs/01-plan/features/{feature}.plan.mdexistsIf not, create based on plan.template.md
Create Task:
[Plan] {feature}Context Anchor Generation: After generating Plan document, extract Context Anchor (WHY/WHO/RISK/SUCCESS/SCOPE) from Executive Summary, Requirements, and Risk sections. Write as
## Context Anchortable between Executive Summary and Section 1.Dimension Content WHY Core problem being solved WHO Target users/stakeholders RISK Top 3 risks identified SUCCESS Measurable success criteria SCOPE In-scope / out-of-scope boundary
design (Design Phase)
- Verify Plan document exists
- Create
docs/02-design/features/{feature}.design.md - Create Task:
[Design] {feature}(blockedBy: Plan) - Context Anchor Embed: Copy Plan's
## Context Anchortable to Design document top (between header metadata and ## 1. Overview). If Plan has no Context Anchor, skip gracefully. - Generate 3 Architecture Options:
- Option A — Minimal Changes: Least modification, maximum reuse
- Option B — Clean Architecture: Best separation of concerns
- Option C — Pragmatic Balance: Good boundaries without over-engineering
- Present comparison table with trade-offs (complexity, maintainability, effort, risk)
- Ask user which option to select before proceeding
do (Do Phase)
- Verify Design document exists
- Provide implementation guide
- Create Task:
[Do] {feature}(blockedBy: Design) - Full Upstream Context Loading: Read ALL upstream documents:
- PRD (docs/00-pm/{feature}.prd.md) — WHY context
- Plan (docs/01-plan/features/{feature}.plan.md) — Context Anchor, Success Criteria
- Design document — architecture decisions
- Decision Record Chain Display:
Decision Record Chain [PRD] Target: {segment} — {rationale} [Plan] Architecture: {option} — {rationale} [Design] Pattern: {approach} — {rationale} - Display Context Anchor from Design document header
- Parse --scope parameter: If
--scope module-1provided, filter implementation guide to matching modules only from Design's Session Guide - Ask user to confirm scope before starting implementation
analyze (Check Phase)
- Call gap-detector agent
- Compare Design vs implementation
- Calculate Match Rate
- Create Task:
[Check] {feature} - After gap-detector analysis, also call
bkit_iterateMCP tool for quantitative gap measurement:- This tool compares design document vs actual implementation
- Returns matchRate percentage and specific gaps with file references
- If matchRate < 90%, recommend calling
/pdca iterate
iterate (Act Phase)
- Check results (when matchRate < 90%)
- Call pdca-iterator agent
- Auto-fix and re-verify
- Max 5 iterations
- Call
bkit_iterateMCP tool for automated gap analysis:- Input: feature name, project directory, target match rate (default 90%)
- Tool returns gaps with specific file:line references
- Fix the identified gaps
- Call
bkit_iterateagain to re-check - Repeat until matchRate >= 90% or max 5 iterations
- Server tracks iteration count internally
qa (QA Phase)
When running QA, call bkit_qa_run MCP tool:
- Input: feature name, project directory, test levels [1,2,3,4,5]
- The tool auto-detects test framework (jest/vitest/playwright)
- L1: Unit tests, L2: API tests, L3-L5: E2E/browser tests (if playwright installed)
- Review results: passRate, coverage, defects
- If passRate < 95%, fix issues and re-run
report (Completion Report)
- Verify Check >= 90%
- Call report-generator agent
- Create completion report
- Load ALL upstream documents for comprehensive reporting:
- PRD — compare original value proposition vs delivered value
- Plan — compare planned Success Criteria vs actual results
- Design — note architecture decisions and any deviations
- Analysis — include final Match Rate
- Include Decision Record summary and Success Criteria final status
PDCA Flow
[Plan] ✅ → [Design] ✅ → [Do] ✅ → [Check] 🔄 → [Act] ⏳ → [Report] 📋
↑_________|
(if < 90%)
References
${extensionPath}/templates/plan.template.md${extensionPath}/templates/design.template.md${extensionPath}/templates/analysis.template.md${extensionPath}/templates/report.template.md