From ClaudeQB
Runs a structured, multi-step planning workflow for software projects with evidence-backed comprehension, project autopsy, ontology, plan ledger, QA audit, and gated implementation handoff.
How this skill is triggered — by the user, by Claude, or both
Slash command
/claudeqb:claudeqbThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Run the bundled planning workflow for a project repository. Keep Step 1 conversational and repo-aware, run Step 1.5 Autopsy for existing projects, and hand off Step 2 and Step 3 as text-only fresh Claude Code session prompts unless the user explicitly asks for a different flow. After Step 3, provide a gated Step 4 implementation handoff prompt only when the audit says implementation can begin.
references/Autopsy-Planner.mdreferences/First-Planner.mdreferences/Fourth-Planner.mdreferences/Second-Planner.mdreferences/Third-Planner.mdreferences/apply-orchestrator.mdreferences/apply-run-schema.jsonreferences/apply/controller.mdreferences/apply/final-reviewer.mdreferences/apply/fixer.mdreferences/apply/implementer.mdreferences/apply/security-reviewer.mdreferences/apply/task-reviewer.mdreferences/assessment-and-budget.mdreferences/engineering-principles.mdreferences/goal-compiler.mdreferences/goal-specs/step15.mdreferences/goal-specs/step2.mdreferences/goal-specs/step3.mdreferences/goal-specs/step4.mdRun the bundled planning workflow for a project repository. Keep Step 1 conversational and repo-aware, run Step 1.5 Autopsy for existing projects, and hand off Step 2 and Step 3 as text-only fresh Claude Code session prompts unless the user explicitly asks for a different flow. After Step 3, provide a gated Step 4 implementation handoff prompt only when the audit says implementation can begin.
The bundled prompts are:
references/First-Planner.md for Step 1 main planning.references/Autopsy-Planner.md for Step 1.5 existing-project autopsy.references/Second-Planner.md for Step 2 phase sub-planning.references/Third-Planner.md for Step 3 sub-plan QA and coverage audit.references/Fourth-Planner.md for the Step 4 implementation fresh-session handoff prompt template.references/handoffs/run-step2.md, run-step3.md, and run-step4.md as the canonical fresh-session handoff sources.Planning behavior references:
references/vibecoding-principles.md for adaptive, small-slice, validation-first planning.references/subagent-playbook.md for safe subagent usage and role boundaries.references/planning-ledger.md for durable plan/implementation history via Planner-docs/Planing-Ledger.md.references/project-ontology.md for durable project vocabulary, entities, workflows, boundaries, and invariants.references/project-comprehension-methods.md for evidence/confidence, hypothesis, traceability, architecture reflexion, and quality-scenario methods.references/probe-policy.md for static/local/live probe tiers, approval, timeout, cleanup, and evidence artifact rules.references/assessment-and-budget.md for autonomy, fresh Claude Code session, token/context, and budget assessment.references/engineering-principles.md for domain-appropriate CS, architecture, validation, and secure engineering methods.Bundled support files:
scripts/validate_planner_docs.py for read-only structural validation of Planner-docs/.references/repo-aware-intake.md for evidence-backed Step 1 intake questions.references/workflow-quality.md for fresh Claude Code session reliability, validation, token discipline, and handoff practices.references/Autopsy-Planner.md and execute it.references/Second-Planner.md and execute it.references/Third-Planner.md and execute it.Do not run migration tooling for this workflow. This is a native Claude Code skill workflow.
Read references/repo-aware-intake.md before asking questions.
Before asking PROJECT_NAME, do a bounded, read-only repository scan so the intake can suggest evidence-backed defaults. If Planner-docs/Planing-Ledger.md, Planner-docs/Project-Ontology.md, or Planner-docs/Project-Comprehension.md exists, read it before asking intake questions and use it as supporting history, not as unquestioned truth. Then ask these four fields one at a time in the user's language, using plain text questions only:
PROJECT_NAME: project name, with an inferred default when possible.PROJECT_INTENT: what the project is for and what it should become, with a repo-derived draft when possible.TARGET_END_STATE: what done looks like from product, engineering, operations, security, and user-value perspectives, with a five-part draft when possible.KNOWN_CONSTRAINTS: team size, infrastructure, budget, timeline, preferred stack, compliance boundaries, must-use tools, must-not-use tools, desired autonomy level, human review cadence, and any token/usage budget with detected constraints and unknowns when possible.ClaudeQB asks intake questions in the user's language when practical. Generated Planner-docs artifacts are English by default unless the user explicitly requests another content language. Required document headings remain English for validator stability.
ClaudeQB uses a vibecoding-first planning style: understand the repo, preserve a clear target, plan the next useful verified moves, and keep implementation slices small, reversible, and evidence-backed. Vibecoding does not relax safety, validation, secret, approval, or file-boundary rules.
Before long planning runs, read references/vibecoding-principles.md, references/assessment-and-budget.md, and references/engineering-principles.md. For existing projects, also read references/planning-ledger.md, references/project-ontology.md, and references/project-comprehension-methods.md; if Planner-docs/Planing-Ledger.md, Planner-docs/Project-Ontology.md, or Planner-docs/Project-Comprehension.md exists in the target repo, read them as evidence before replanning.
Use subagents only when they reduce context pollution or improve evidence quality: large repo exploration, Step 1.5 Autopsy, ontology mapping, multi-phase Step 2 drafting, Step 3 readiness/security audit, or Step 4 implementation/review separation. Read references/subagent-playbook.md before requesting subagents. Parent ClaudeQB owns final artifact writes; subagents should gather evidence, draft options, or review unless the user explicitly asks otherwise.
Fresh Claude Code session handoffs must come from the canonical files under references/handoffs/ so the Fresh Session Run Contract is maintained in one physical source.
After all four values are available:
references/First-Planner.md.Planner-docs/Main-Planing.md, as required by the Step 1 prompt.Planner-docs/Autopsy.md in that case.Planner-docs/Main-Planing.md for main plan feedback and only Planner-docs/Autopsy.md for autopsy feedback.Step 1.5 is for existing or partially built projects. It should not run for genuinely new or nearly empty repositories.
When Step 1.5 applies:
references/Autopsy-Planner.md.Planner-docs/Main-Planing.md.Planner-docs/Autopsy.md; when enough evidence exists, also create or update Planner-docs/Project-Ontology.md and, for non-trivial existing projects, optional Planner-docs/Project-Comprehension.md.Planner-docs/Main-Planing.md, or any Step 2/3 files.Autopsy.md, Project-Ontology.md, optional Project-Comprehension.md, and any existing Planing-Ledger.md as Step 2 feedback, not as replacements for the main plan.After Step 1 feedback is handled, ask whether the user wants to continue to Step 2. If yes, tell the user to copy the following text, open a fresh Claude Code session, and send it:
/claudeqb:claudeqb Read and return the exact canonical handoff from references/handoffs/run-step2.md, then execute it.
When executing Step 2 directly:
references/Second-Planner.md.references/workflow-quality.md.Planner-docs/Autopsy.md, Planner-docs/Project-Ontology.md, Planner-docs/Project-Comprehension.md, and Planner-docs/Planing-Ledger.md when they exist; do not block Step 2 when they are absent.python3 ${CLAUDE_SKILL_DIR}/scripts/validate_planner_docs.py --root . --mode step2 --strict
When manually validating from a ClaudeQB repository checkout, use:
python3 plugins/claudeqb/skills/claudeqb/scripts/validate_planner_docs.py --root . --mode step2 --strict
If no script path is accessible, perform equivalent all-file validation and report that fallback clearly.Planner-docs/.After Step 2 is complete, ask whether the user wants to continue to Step 3. If yes, tell the user to copy the following text, open a fresh Claude Code session, and send it:
/claudeqb:claudeqb Read and return the exact canonical handoff from references/handoffs/run-step3.md, then execute it.
When executing Step 3 directly:
references/Third-Planner.md.references/workflow-quality.md.python3 ${CLAUDE_SKILL_DIR}/scripts/validate_planner_docs.py --root . --mode step3 --strict
When manually validating from a ClaudeQB repository checkout, use:
python3 plugins/claudeqb/skills/claudeqb/scripts/validate_planner_docs.py --root . --mode step3 --strict
If no script path is accessible, perform equivalent all-file validation and report that fallback clearly.Planner-docs/Sub-Planing-Audit.md.references/Fourth-Planner.md only if the audit permits implementation.Step 4 is not a ClaudeQB planning step and must not be executed automatically by this skill.
When Step 3 completes:
references/Fourth-Planner.md.python3 ${CLAUDE_SKILL_DIR}/scripts/validate_planner_docs.py --root . --mode step4 --strict
When manually validating from a ClaudeQB repository checkout, use:
python3 plugins/claudeqb/skills/claudeqb/scripts/validate_planner_docs.py --root . --mode step4 --strict
If no script path is accessible, perform equivalent all-file validation and report that fallback clearly.BLOCKED or contains P0/P1 findings, do not print the Step 4 prompt; print the minimal repair or unblock prompt instead.references/handoffs/run-step4.md, execute the READY/READY_WITH_WARNINGS queue continuously in small verified slices, and report NO_ACTION_REQUIRED without starting implementation when no work is queued.scripts/validate_planner_docs.py over ad hoc validation scripts.--mode step1, --mode autopsy, --mode step2, --mode step3-preflight, --mode step3, or --mode step4 for the active workflow step.--strict in fresh Claude Code session so generic or repeated section warnings become failures.Planner-docs/, use find Planner-docs -maxdepth 4 -type f | sort, git status --short -- Planner-docs, and git diff -- Planner-docs together.Planner-docs/Planing-Ledger.md when available; Step 4 should append concise implementation summaries there.Planner-docs/Project-Comprehension.md; Step 4 should verify tentative assumptions before code changes and update the ledger when a hypothesis is confirmed or contradicted.Main-Planing.md, Sub-Planing-Index.md, and Sub-Planing-Audit.md.Planner-docs/Autopsy.md as the Step 1.5 autopsy filename.For each executed step, report concisely:
npx claudepluginhub alicankiraz1/claudeqb --plugin claudeqbConducts interview-driven planning with 20-40 clarifying questions, 5-15 parallel Explore agents for codebase analysis, verbatim requirements capture, and plan validation. For new features, refactoring, architecture changes, migrations.
Orchestrates an adversarial plan-implement-review pipeline using native Claude Code subagents. Run after intake skills like /brainstorm produce a starting doc.