/scc:pdca runs instead · from scc
Orchestrates Plan-Do-Check-Act cycles for knowledge work, enforcing phase gates and transitions across research, production, review, and refinement.
This skill never runs in Claude Code
It ships in scc at skills/, but /scc:pdca (a command, or a skill Claude Code finds first) has the same name: typing it, or Claude choosing it, runs that one instead.
When a PDCA run is selected, honor its phase gates and transition order.
Meta-skill that runs the Plan → Do → Check → Act cycle. Each phase gates into the next. No gate skipping.
Use PDCA for end-to-end or explicitly phased work. Individual skills and commands such as
/scc:research, /scc:write, /scc:review, and /scc:refine also run directly; they are
not required to be wrapped in PDCA.
PDCA Cycle (when selected)
├─ Plan → calls /scc:research (or domain research) + /scc:analyze
├─ Do → calls the appropriate sub-skill based on output format
│ └─ Supported format? → /scc:write --format <format>
├─ Check → calls /scc:review (always, regardless of which sub-skill ran in Do)
└─ Act → calls /scc:refine or routes back to Plan/Do via Action Router
The key principle: PDCA owns transitions only for a PDCA run. It chooses a supported format and delegates production, then validates the resulting phase output.
When the task is code work (domain=code, repository edits, tests, debugging, CI, refactoring, or PR prep), PDCA still owns the Plan -> Do -> Check -> Act cycle, but it must load references/code-engineering-lane.md before planning. This lane absorbs the useful code-work discipline from external playbooks while preserving Second Claude's existing PDCA architecture.
The lane adds code-specific gates:
Use the lane as a specialization layer, not as a replacement for review, workflow, or loop.
When PDCA enters the Do phase, it picks the most specialized sub-skill that matches the artifact format:
| Output Format | Sub-Skill PDCA Dispatches | What That Sub-Skill Owns Internally |
|---|---|---|
newsletter, article, shorts, report, social, card-news | /scc:write --format <format> | Format-specific production contract |
| Other specialized format supplied by an installed plugin | External plugin capability (optional) | Only when the caller explicitly invokes it |
| Generic content | /scc:write | Pure execution from Plan artifacts |
Key trigger keywords for sub-skill selection (PDCA scans the user's prompt and the Plan output's dod field):
/scc:write --format newsletter in Do/scc:write --format article in Do/scc:write --format shorts in Do/scc:write --format report in Do/scc:write --format social in Do/scc:write --format card-news in Do/scc:write in DoThe Plan and Check phases add value that no sub-skill provides on its own:
A sub-skill running on its own = single-shot generation with the sub-skill's internal checks only. PDCA wrapping a sub-skill = upstream Plan rigor + sub-skill's internal pipeline + downstream Check + Act loop. Strictly more validation.
An installed external plugin may expose a specialized capability with its own phases. If a caller explicitly invokes it, those phases are outside this plugin's built-in routing; PDCA can validate the returned artifact when it is used as Do input.
For the full sub-skill dispatch protocol (input contract, output contract, failure handling, integration points), see references/domain-pipeline-integration.md.
This means a full PDCA run on a newsletter looks like:
PDCA Plan → /scc:research + /scc:analyze (gather sources, build framework)
PDCA Do → /scc:write --format newsletter (research/review can be skipped when
Plan and Check are owned by this PDCA run)
PDCA Check → /scc:review (parallel reviewers; this is the independent Check phase)
PDCA Act → Action Router classifies any Check findings and routes to Plan,
Do, or Refine
PDCA's Check is independent of any review a caller or optional external capability may have performed. It supplies the cycle's configured consensus verdict.
The lesson: PDCA adds value when the user needs phase gates and routed correction. It is not a requirement for every direct skill invocation, and this plugin does not assume unavailable specialized commands.
| Signal | Phase | Skills Chained |
|---|---|---|
| "조사해", "알아봐", plan, research, explore | Plan (Gather) | research → analyze |
| "써", "만들어", "분석해", create, write, build | Do (Produce) | write (pure execution) |
| "검토해", "리뷰해", review, check, verify | Check (Verify) | review |
| "고쳐", "개선해", improve, fix, refine, iterate | Act (Refine) | action router → refine |
| "알아보고 써줘", "end-to-end", "full report" | Full PDCA | All phases in sequence |
When a single phase is detected, run that phase and pause at its gate. When full PDCA is detected, run all phases with gates between each.
User Prompt → normal Claude Code skill/command selection
PDCA Orchestrator
│
├── PLAN (research → analyze)
│ ├── Question Protocol (max 3 Qs → unanswered = save assumptions)
│ ├── Eevee (researcher): data collection
│ └── Alakazam (analyst) + Mewtwo (strategist): structured analysis
│ └── Gate: Brief + Analysis exist? Runtime source-count gate (≥5)
│
├── DO (pure execution)
│ └── Smeargle (writer): /scc:write --skip-research --skip-review
│ └── Gate: Artifact complete? Format OK?
│
├── CHECK (unchanged)
│ └── Xatu + Absol + Porygon + Jigglypuff + Unown: /scc:review
│ └── Gate: Verdict routing
│
└── ACT (action router → refine)
├── Action Router (root cause classification)
│ ├── SOURCE/ASSUMPTION/FRAMEWORK → PLAN
│ ├── COMPLETENESS/FORMAT → DO
│ └── EXECUTION_QUALITY → REFINE
└── Ditto (editor): /scc:refine
└── Gate: Target met? → EXIT
Each phase outputs a validated schema before the gate is passed. See references/phase-schemas.md for full field rules and validation failure actions. Missing required fields are gate failures, not warnings.
Load the relevant checklist from references/ at each transition. Gates are mandatory — do NOT skip.
| Gate | Reference | Permission | Key Failure Condition |
|---|---|---|---|
| Plan → Do | references/plan-phase.md | plan (read-only) | runtime sources_count < 5, Plan Mode not approved, any required field missing |
| Do → Check | references/do-phase.md | acceptEdits | plan_findings_integrated: false, sections_complete: false, artifact absent |
| Check → Act | references/check-phase.md | plan (read-only) | Fewer than 2 reviewers, verdict not a standard value |
| Act → Exit/Cycle | references/act-phase.md | acceptEdits | decision invalid, root_cause_category empty |
Permission pattern: read-only (plan) → write (acceptEdits) → read-only → write. Switch at every phase boundary.
Check → Act routing: APPROVED → EXIT | MINOR FIXES → Act light touch | NEEDS IMPROVEMENT → Act full refine | MUST FIX → Act critical-first. Preset reviewer counts and optional quality checks remain defined by /scc:review; not every narrative contract is enforced by the state MCP runtime.
Cycle limit: If cycle_count >= max_cycles, do NOT start another cycle. Notify: "max_cycles에 도달했습니다 — 현재 결과물로 종료합니다." Exit with best artifact.
Worktree: Do artifacts written in worktree-pdca-do. If Check returns MUST FIX, orchestrator discards the worktree for a clean restart.
--skip-research --skip-review using Plan artifacts.| Flag | Values | Default |
|---|---|---|
--phase | plan|do|check|act|full | auto-detect |
--depth | shallow|medium|deep | medium |
--target | verdict or score | APPROVED |
--max | max Act iterations | 3 |
--max-cycles | max full PDCA re-cycles (Act→Plan→Do→Check) | 3 |
--no-questions | skip Question Protocol | false |
Note: --constraints is a write-skill flag passed through by the orchestrator (see do-phase.md, act-phase.md).
Run at every phase transition. See references/stuck-detection.md for full signal definitions, root causes, and remediation steps.
| Pattern | Trigger | Action |
|---|---|---|
| Plan Churn | cycle_count >= 3 AND "do" not in completed[] | Force Do with current plan; append uncertainty note |
| Check Avoidance | "do" in completed[] AND artifacts.check_report is null before entering Act | Block Act; inject DoD checklist; require review dispatch |
| Scope Creep | Do artifact scope diverges significantly from Plan scope at Do→Check gate | Alert user with planned-vs-actual comparison; wait for choice |
If both stuck patterns and max_cycles trigger simultaneously, report both and exit with the best artifact.
State persisted in .data/state/pdca-active.json. See references/state-schema.md for full schema, field definitions, and single-active-run constraint.
MCP tools (when pdca-state server is available): pdca_get_state, pdca_start_run, pdca_transition, pdca_check_gate, pdca_update_stuck_flags, pdca_end_run.
At each gate: phase summary + gate verdict (pass/fail + reason) + next phase recommendation.
At cycle end: full artifact chain, Action Router decisions, verdict progression, total phases + token cost estimate.
When Channels are configured (via .data/channels.json or TELEGRAM_CHAT_ID env), PDCA emits
notifications at phase transitions and review verdicts. Opt-in via --notify flag or by
creating .data/channels.json from the .data/channels.json.example template.
See references/channels-integration.md for event formats, configuration fields, and
the notification payload pattern used by hooks/session-end.mjs.
Important: The Pokemon names below are conceptual role labels, not Agent tool subagent_type values. PDCA does NOT dispatch them directly via the Agent tool. Instead, the chained skills (/scc:research, /scc:write, /scc:review, /scc:refine) handle these roles internally — they map each role to the appropriate concrete subagent or model.
If you (the orchestrator) try to call Agent(subagent_type: "eevee"), it will fail. Always go through the chained skill, never bypass to a Pokemon role.
# Plan dispatches two skills, so its roles split across them.
# Roles handled inside /scc:research
researcher: { model: sonnet, role: eevee, purpose: "collect sources with citations, minimum 5 distinct sources" }
analyst: { model: sonnet, role: alakazam, purpose: "list gaps, flag data conflicts, verify coverage" }
# Roles handled inside /scc:analyze — alakazam appears in both, pre-processing there rather than gap-listing
analyst: { model: sonnet, role: alakazam, purpose: "structure raw research into patterns before a framework is applied" }
strategist: { model: sonnet, role: mewtwo, purpose: "apply the framework, cite evidence, challenge assumptions" }
# Role handled inside /scc:write
writer: { model: opus, role: smeargle, purpose: "produce artifact from plan, skip-research skip-review" }
# Roles handled inside /scc:review (parallel dispatch)
deep-reviewer: { model: opus, role: xatu, purpose: "thorough quality review with structured critic output" }
devil-advocate: { model: sonnet, role: absol, purpose: "attack weakest points, find logical gaps" }
fact-checker: { model: sonnet, role: porygon, purpose: "verify claims against sources, flag unsupported statements" }
tone-guardian: { model: sonnet, role: jigglypuff, purpose: "check voice and audience fit against .data/soul/SOUL.md Tone Rules and Anti-Patterns" }
structure-analyst: { model: sonnet, role: unown, purpose: "check organization, flow, format compliance" }
# Role handled inside /scc:refine
editor: { model: opus, role: ditto, purpose: "apply top 3 fixes per iteration, verify improvement" }
# Orchestration meta-role (the PDCA orchestrator itself)
pipeline-orchestrator: { model: sonnet, role: arceus, purpose: "enforce gates, manage phase transitions, never skip phases, prefer domain hand-off over self-processing" }
How PDCA actually executes: The orchestrator calls /scc:research, /scc:write, /scc:review, /scc:refine as Skill invocations. Each of those skills internally dispatches the right subagents (general-purpose, code-reviewer, etc.) using the Agent tool. PDCA never bypasses this layer.
Tier overrides are upward-only. --tier fable raises the two spine roles — writer (smeargle) and deep-reviewer (xatu) — for high-stakes runs. Nothing lowers them: not a flag, and not an automatic fallback when a dispatch fails. If those dispatches are exhausted, escalate to the user instead of retrying at a cheaper tier, because every later phase inherits what the writer and the whole-document reviewer missed. To make a run cheaper, cut cycles or reviewers. See references/design-principles.md §10.
See gotchas.md for extended gotchas (stuck detection, worktree lifecycle, permission transitions, session resume, automation mode).
When mmbridge is detected (see references/mmbridge-integration.md) and the PDCA cycle exits with APPROVED, generate a handoff artifact.
mmbridge handoff --write .captures/pdca-handoff-${RUN_ID}.md
The handoff artifact summarizes:
Present the handoff path to the user:
"PDCA cycle complete. Handoff artifact saved to
.captures/pdca-handoff-${RUN_ID}.md"
The handoff artifact serves two purposes:
This is an optional convenience — the PDCA cycle is complete regardless of whether the handoff succeeds.
When mmbridge is detected, the PDCA orchestrator can optionally delegate the full cycle to mmbridge embrace for parallel multi-model acceleration.
--depth deep with full PDCA: embrace provides multi-model research and debate in parallel with internal agents--depth shallow or single-phase runsAt the start of a full PDCA cycle, if mmbridge is detected and depth is deep:
mmbridge embrace "<task summary>" --json --non-interactive > /tmp/mmbridge-embrace-${RUN_ID}.json
--non-interactive: auto-proceed through checkpoints (PDCA orchestrator manages gates, not embrace)--skip-phases: use when specific PDCA phases should not have embrace acceleration (e.g., --skip-phases security if not a code project)Embrace results are merged at multiple PDCA phases:
mmbridge embrace runs multiple models across multiple phases. Only activate at deep depth. Warn user about estimated cost at PDCA start.
gotchas.md (opens in a new tab)references/act-phase.md (opens in a new tab)references/action-router.md (opens in a new tab)references/channels-integration.md (opens in a new tab)references/check-phase.md (opens in a new tab)references/code-engineering-lane.md (opens in a new tab)references/do-phase.md (opens in a new tab)references/domain-pipeline-integration.md (opens in a new tab)references/observability.md (opens in a new tab)references/phase-schemas.md (opens in a new tab)references/plan-phase.md (opens in a new tab)references/question-protocol.md (opens in a new tab)references/state-schema.md (opens in a new tab)references/stuck-detection.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
highThree short reads, in order
npx claudepluginhub unclejobs-ai/second-claude-code --plugin scc16 skills in this plugin
/analyzeUse when analyzing a topic with a strategic framework, then stress-testing the plan against evidence/batchUse when decomposing large tasks into independent parallel units that do not depend on each other/coachUse when planning a fork: more than one defensible direction and no active standard covers it. Settle the plan before work starts. Do not use merely because a request is vague or underspecified; vagueness takes a clarifying question, not a standard./collectUse when collecting URLs, notes, files, or excerpts into structured PARA knowledgeOther plugins' skills for the same job