From rkit
Unified skill for managing the entire PDCA cycle. Auto-triggered by keywords: "plan", "design", "analyze", "report", "status". Replaces legacy /pdca-* commands. Mermaid ๋ค์ด์ด๊ทธ๋จ์ ์ ๊ทน ํ์ฉํ์ฌ ์ค๊ณ์ ๊ตฌ์กฐ๋ฅผ ์๊ฐํํ๋ค. Use proactively when user mentions PDCA cycle, planning, design documents, gap analysis, iteration, or completion reports. Triggers: pdca, ๊ณํ, ์ค๊ณ, ๋ถ์, ๊ฒ์ฆ, ๋ณด๊ณ ์, ๋ฐ๋ณต, ๊ฐ์ , plan, design, analyze, check, report, status, next, iterate, gap, ่จ็ป, ่จญ่จ, ๅๆ, ๆค่จผ, ๅ ฑๅ, ่ฎกๅ, ่ฎพ่ฎก, ๅๆ, ้ช่ฏ, ๆฅๅ, planificar, diseรฑo, analizar, verificar, planifier, conception, analyser, vรฉrifier, rapport, planen, Entwurf, analysieren, รผberprรผfen, Bericht, pianificare, progettazione, analizzare, verificare, rapporto Do NOT use for: simple queries without PDCA context, code-only tasks.
npx claudepluginhub solitasroh/rkit --plugin rkitThis skill is limited to using the following tools:
> Unified Skill for managing PDCA cycle. Supports the entire Plan โ Design โ Do โ Check โ Act flow.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
Unified Skill for managing PDCA cycle. Supports the entire Plan โ Design โ Do โ Check โ Act flow.
| Argument | Description | Example |
|---|---|---|
pm [feature] | Run PM Agent Team analysis (pre-Plan) | /pdca pm user-auth |
plan [feature] | Create Plan document | /pdca plan user-auth |
design [feature] | Create Design document | /pdca design user-auth |
do [feature] | Do phase guide (start implementation) | /pdca do user-auth |
analyze [feature] | Run Gap analysis (Check phase) | /pdca analyze user-auth |
iterate [feature] | Auto improvement iteration (Act phase) | /pdca iterate user-auth |
report [feature] | Generate completion report | /pdca report user-auth |
archive [feature] | Archive completed PDCA documents | /pdca archive user-auth |
cleanup [feature] | Cleanup archived features from status | /pdca cleanup |
team [feature] | Start PDCA Team Mode (requires Agent Teams) | /pdca team user-auth |
team status | Show Team status | /pdca team status |
team cleanup | Cleanup Team resources | /pdca team cleanup |
status | Show current PDCA status | /pdca status |
next | Guide to next phase | /pdca next |
Run PM Agent Team for product discovery and strategy analysis before Plan phase.
docs/00-pm/{feature}.prd.md[PM] {feature}/pdca plan {feature}Output Path: docs/00-pm/{feature}.prd.md
Requirements:
CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1docs/00-pm/{feature}.prd.md exists
/pdca pm {feature} first for better results)docs/01-plan/features/{feature}.plan.md existsplan.template.md[Plan] {feature}## Executive Summary at document top with 4-perspective table (Problem/Solution/Function UX Effect/Core Value), each 1-2 sentencesOutput Path: docs/01-plan/features/{feature}.plan.md
Tip: For features with ambiguous requirements or multiple implementation approaches, use
/plan-plus {feature}instead. Plan Plus adds brainstorming phases (intent discovery, alternatives exploration, YAGNI review) before document generation for higher-quality plans.
docs/02-design/features/{feature}.design.mddesign.template.md structure + reference Plan content[Design] {feature} (blockedBy: Plan task)Output Path: docs/02-design/features/{feature}.design.md
do.template.md[Do] {feature} (blockedBy: Design task)Guide Provided:
[Check] {feature} (blockedBy: Do task)Output Path: docs/03-analysis/{feature}.analysis.md
[Act-N] {feature} (N = iteration count)Iteration Rules:
## Executive Summary with ### 1.3 Value Delivered reflecting actual results (4 perspectives with metrics)[Report] {feature}Output Path: docs/04-report/{feature}.report.md
Start PDCA Team Mode using Claude Code Agent Teams (requires CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1).
isTeamModeAvailable() from lib/team/coordinator.jsCLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1 to enable."detectLevel() - Starter projects cannot use Team ModegenerateTeamStrategy(level):
assignNextTeammateWork()formatTeamStatus() from lib/team/coordinator.jsOutput Example:
๐ PDCA Team Status
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Agent Teams: Available โ
Display Mode: in-process
Teammates: 4 / 4 (Enterprise)
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Feature: user-auth
architect: [Design] in progress
developer: [Do] waiting
qa: idle
reviewer: idle
team_session_ended in PDCA history via addPdcaHistory()Required Environment: CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1
Level Requirements:
| Level | Available | Teammates | CTO Lead |
|---|---|---|---|
| Starter | No | - | - |
| Dynamic | Yes | 3 | cto-lead (opus) |
| Enterprise | Yes | 5 | cto-lead (opus) |
docs/archive/YYYY-MM/{feature}/ folderdocs/archive/YYYY-MM/_INDEX.md)--summary option)Arguments:
| Argument | Description | Example |
|---|---|---|
archive {feature} | Archive with complete cleanup (default) | /pdca archive user-auth |
archive {feature} --summary | Archive with summary preservation (FR-04) | /pdca archive user-auth --summary |
Output Path: docs/archive/YYYY-MM/{feature}/
Documents to Archive:
docs/01-plan/features/{feature}.plan.mddocs/02-design/features/{feature}.design.mddocs/03-analysis/{feature}.analysis.mddocs/04-report/features/{feature}.report.mdFR-04: Summary Preservation Option (v1.4.8):
When using --summary (or --preserve-summary, -s), the feature data in .pdca-status.json
is converted to a lightweight summary instead of being deleted:
// Summary format (70% size reduction)
{
"my-feature": {
"phase": "archived",
"matchRate": 100,
"iterationCount": 2,
"startedAt": "2026-01-15T10:00:00Z",
"archivedAt": "2026-01-20T15:30:00Z",
"archivedTo": "docs/archive/2026-01/my-feature/"
}
}
Use --summary when you need:
Important Notes:
--summary to preserve metrics for future referenceClean up archived features from .pdca-status.json to reduce file size.
.pdca-status.jsoncleanupArchivedFeatures()Arguments:
| Argument | Description | Example |
|---|---|---|
cleanup | Interactive cleanup (shows list) | /pdca cleanup |
cleanup all | Delete all archived features | /pdca cleanup all |
cleanup {feature} | Delete specific feature | /pdca cleanup old-feature |
Output Example:
๐งน PDCA Cleanup
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Archived features found: 3
1. feature-a (archived: 2026-01-15)
2. feature-b (archived: 2026-01-20)
3. feature-c (archived: 2026-01-25)
Select features to cleanup:
[ ] All archived features
[ ] Select specific features
[ ] Cancel
Related Functions (lib/pdca/status.js):
getArchivedFeatures() - Get list of archived featurescleanupArchivedFeatures(features?) - Cleanup specific or all archiveddeleteFeatureFromStatus(feature) - Delete single featureenforceFeatureLimit(max=50) - Auto cleanup when limit exceededNotes:
docs/archive/ (only status is cleaned).rkit-memory.jsonOutput Example:
๐ PDCA Status
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Feature: user-authentication
Phase: Check (Gap Analysis)
Match Rate: 85%
Iteration: 2/5
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
[Plan] โ
โ [Design] โ
โ [Do] โ
โ [Check] ๐ โ [Act] โณ
Phase Guide:
| Current | Next | Suggestion |
|---|---|---|
| None | pm | /pdca pm [feature] (recommended) or /pdca plan [feature] |
| pm | plan | /pdca plan [feature] (PRD auto-referenced) |
| plan | design | /pdca design [feature] |
| design | do | Implementation start guide |
| do | check | /pdca analyze [feature] |
| check (<90%) | act | /pdca iterate [feature] |
| check (>=90%) | report | /pdca report [feature] |
| report | archive | /pdca archive [feature] |
Templates loaded from imports are used when executing each action:
| Action | Template | Purpose |
|---|---|---|
| plan | plan.template.md | Plan document structure |
| design | design.template.md | Design document structure |
| do | do.template.md | Implementation guide structure |
| analyze | analysis.template.md | Analysis report structure |
| report | report.template.md | Completion report structure |
Each PDCA phase automatically integrates with Task System:
Task Creation Pattern:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ [PM] {feature} โ
โ โ (optional, pre-Plan) โ
โ [Plan] {feature} โ
โ โ (blockedBy) โ
โ [Design] {feature} โ
โ โ (blockedBy) โ
โ [Do] {feature} โ
โ โ (blockedBy) โ
โ [Check] {feature} โ
โ โ (blockedBy, Check < 90%) โ
โ [Act-1] {feature} โ
โ โ (on iteration) โ
โ [Act-N] {feature} โ
โ โ (Check >= 90%) โ
โ [Report] {feature} โ
โ โ (after Report completion) โ
โ [Archive] {feature} โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
| Action | Agent | Role |
|---|---|---|
| pm | pm-lead | Orchestrate PM Agent Team (4 sub-agents) |
| analyze | gap-detector | Compare Design vs Implementation |
| iterate | pdca-iterator | Auto code fix and re-verification |
| report | report-generator | Generate completion report |
# Run PM analysis (recommended before planning)
/pdca pm user-authentication
# Start new feature
/pdca plan user-authentication
# Create design document
/pdca design user-authentication
# Implementation guide
/pdca do user-authentication
# Gap analysis after implementation
/pdca analyze user-authentication
# Auto improvement (if needed)
/pdca iterate user-authentication
# Completion report
/pdca report user-authentication
# Check current status
/pdca status
# Guide to next phase
/pdca next
| Legacy Command | PDCA Skill |
|---|---|
/pdca-plan | /pdca plan |
/pdca-design | /pdca design |
/pdca-analyze | /pdca analyze |
/pdca-iterate | /pdca iterate |
/pdca-report | /pdca report |
/pdca-status | /pdca status |
/pdca-next | /pdca next |
/archive | /pdca archive |
PDCA workflows benefit from the rkit-pdca-guide output style:
/output-style rkit-pdca-guide
This provides PDCA-specific response formatting:
[Plan] -> [Design] -> [Do] -> [Check] -> [Act]When running PDCA commands, suggest this style if not already active.
For Dynamic/Enterprise projects, PDCA phases can run in parallel using Agent Teams:
/pdca team {feature} Start parallel PDCA
/pdca team status Monitor teammate progress
/pdca team cleanup End team session
Suggest Agent Teams when:
CTO-Led Team Orchestration Patterns:
| Level | Plan | Design | Do | Check | Act |
|---|---|---|---|---|---|
| Dynamic | leader | leader | swarm | council | leader |
| Enterprise | leader | council | swarm | council | watchdog |
Auto-suggest related action when detecting these keywords:
| Keyword | Suggested Action |
|---|---|
| "pm", "product discovery", "PRD", "market analysis" | pm |
| "plan", "planning", "roadmap" | plan |
| "design", "architecture", "spec" | design |
| "implement", "develop", "build" | do |
| "verify", "analyze", "check" | analyze |
| "improve", "iterate", "fix" | iterate |
| "complete", "report", "summary" | report |
| "archive", "store" | archive |
| "cleanup", "clean", "remove old" | cleanup |
Skills 2.0 enables direct slash invocation for all PDCA commands:
/pdca plan [feature] โ Create Plan document/pdca design [feature] โ Create Design document/pdca do [feature] โ Implementation guide/pdca analyze [feature] โ Gap analysis (Check phase)/pdca iterate [feature] โ Auto-improvement (Act phase)/pdca report [feature] โ Completion report/pdca status โ Current PDCA status/pdca next โ Next phase guide/plan-plus [feature] โ Brainstorming-enhanced planningHot reload: SKILL.md changes reflect without session restart (CC 2.1.0+).
CC v2.1.71 introduces /loop command and Cron tools for automated monitoring.
/loop 5m /pdca status - Check PDCA status every 5 minutes/loop 10m /pdca analyze [feature] - Run Gap analysis every 10 minutes/loop for progress monitoringbackground: true agents reliable