mit einem Klick
dev-pabcd
// PABCD orchestration workflow. Structured 5-phase development with user checkpoints. Injected during orchestration mode.
// PABCD orchestration workflow. Structured 5-phase development with user checkpoints. Injected during orchestration mode.
| name | dev-pabcd |
| description | PABCD orchestration workflow. Structured 5-phase development with user checkpoints. Injected during orchestration mode. |
Structured 5-phase development. Advance only with user approval.
PABCD is a forward progression with Interview return.
IDLE ──→ P ──→ A ──→ B ──→ C ──→ D ──→ IDLE
│ │ │ │ │
STOP STOP STOP auto auto
wait wait wait
└──────┴──────┴──────┴──────┘
↓
I (Interview)
context preserved
You can return to Interview (I) from any phase to clarify requirements. Context (plan, audit status) is preserved.
To restart from scratch:
cli-jaw orchestrate reset → returns to IDLE (context cleared)
Then re-enter with cli-jaw orchestrate P.
Phases P, A, B require user approval before advancing. C and D proceed automatically once their work is done.
Transition commands:
cli-jaw orchestrate I → enter Interview (from any state, context preserved)
cli-jaw orchestrate P → enter Planning (from IDLE or I)
cli-jaw orchestrate A → enter Plan Audit (from P only)
cli-jaw orchestrate B → enter Build (from A only)
cli-jaw orchestrate C → enter Check (from B only)
cli-jaw orchestrate D → enter Done (from C only, returns to IDLE)
cli-jaw orchestrate reset → return to IDLE (from any state)
If the request has unclear scope or unspecified technology, clarify first:
<TechName> — <plain explanation>For broad changes or unfamiliar repositories, P phase MUST include:
structure/, devlog/, docs/, plans/, or equivalent logs were read and will be reusedstructure/ or devlog/ is proposedDo not create new project-level source-of-truth folders during B unless approved in P or explicitly requested by the user.
Read project docs and dev skills first. Write the complete plan internally, then report it simply — like a developer reporting to the CEO.
Write a plan with two parts:
If anything is unclear, return to Interview (cli-jaw orchestrate I) — do NOT ask questions in P.
Devlog plan artifacts use decade-range numbering to separate concerns:
| Range | Purpose | Examples |
|---|---|---|
| 00–09 | Research, specs, MOC (mandatory) | 00_plan.md, 01_api-survey.md, 02_competitor-analysis.md |
| 10–19 | Phase 1 | 10_phase1-auth-module.md, 11_phase1-db-schema.md |
| 20–29 | Phase 2 | 20_phase2-frontend.md |
| 30–39 | Phase 3 | ... |
Rules:
00, 01, 02...).00_0_name.md, 00_1_name.md).PLAN.md, DIFF_PLAN.md, PHASES.md, RCA.md.Present to the user:
⛔ Present the plan. Revise on feedback.
When user approves → cli-jaw orchestrate A
Spawn a worker to audit the plan (not code). The worker verifies:
structure/, devlog/, docs, or AGENTS files are introduced without user approvalOutput worker JSON for the audit. Review results when they come back.
⛔ Wait for user approval. When approved → cli-jaw orchestrate B
Implement the plan. You write all code directly. Workers are read-only verifiers.
Do not create structure/ or devlog/ unless approved in P or explicitly requested by the user.
After implementing, output worker JSON for verification. The worker checks your code exists and integrates cleanly.
⛔ Wait for user approval. When approved → cli-jaw orchestrate C
Final sanity check:
npx tsc --noEmit (if TypeScript project)When done → cli-jaw orchestrate D
Summarize the entire flow:
State returns to IDLE automatically.
cli-jaw orchestrate reset to restart.Before writing a PABCD plan or dispatching an employee, determine the actual
working repository root with pwd -P from the target repo.
Every A/B phase cli-jaw dispatch task body MUST begin with:
Project root: /absolute/path/to/current/repo
Rules:
Project root must be the current working repository, not JAW_HOME.~/.cli-jaw*, process.cwd(), or an employee temp directory.src/..., tests/..., structure/..., skills_ref/...) against Project root.Project root is unknown, STOP and ask before dispatching.When P completes, the plan is saved to the worklog ## Plan section (single source of truth) and kept in ctx.plan. No project-root file is created.
cli-jaw dispatch task under ## Approved Plan.Audit: verify the imports in ..."` — no "read the plan" line needed.
--mutable (optionally --scope): cli-jaw dispatch --agent "Name" --mutable --task "...".--mutable: "implement the feature", "write the code", "create the file" are forbidden."verify src/x.ts compiles", "check integration of Y", "report DONE or NEEDS_FIX"./api/orchestrate/dispatch (only that path auto-injects the plan).Unified desktop + browser automation. Routes DOM targets to CDP (cli-jaw browser), desktop apps to Computer Use, hybrid combos to both. Codex desktop/CLI + macOS required for Computer Use.
Backend engineering guide for orchestrated sub-agents. Framework-agnostic API design, clean architecture, database optimization, security hardening, systematic debugging. Modular: SKILL.md orchestrator + references/ for deep guidance. Injected when role=backend.
Code review guide for all orchestrated sub-agents. Review process, quality thresholds, antipattern detection, giving/receiving feedback. Available to any agent regardless of role — read this SKILL.md when performing or receiving code reviews.
Data engineering and analysis guide for orchestrated sub-agents. Data pipelines, ETL/ELT design, data quality validation, SQL optimization, and analysis patterns. Injected when role=data.
Systematic debugging methodology for all orchestrated sub-agents. 4-phase root cause analysis: investigate → analyze → hypothesize → implement. Injected when encountering errors or during debugging phase.
Production-grade frontend with distinctive aesthetics. Detects stack and applies specialized rules. Modular: SKILL.md orchestrator + references/ for deep guidance. Injected when role=frontend.