prompts/squad/skills/reasoning/SKILL.md
Maintain the append-only reasoning log and write handoff envelopes for every squad delegation. Use this when the Conductor delegates to a specialist or when a specialist records a non-trivial decision.
npx skillsauth add imabusyman/CodebrewRouter reasoningInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill formalizes two disk artifacts that make squad runs auditable:
reasoning.log.md — append-only log of non-trivial decisions.handoff/NN-from-to-to.md — per-delegation envelope.Follow the schemas exactly. Trivial edits (typo, method rename) do not belong in the log.
Write one ##-level entry per decision. Schema (from prompts/squad/protocol/reasoning-log.schema.md):
## <ISO-8601 UTC> — <role> — <HIGH | MEDIUM | LOW>
Decision: <one factual sentence>
Rationale: <one or two sentences — why this, not something else>
Evidence: <artifact path, ADR number, PRD section, code line>
[ASK] relay and user answer (MEDIUM or HIGH).CLAUDE.md / ADR defaults (HIGH).One file per delegation at Docs/squad/runs/<run-id>/handoff/<NN>-<from>-to-<to>.md.
Schema from prompts/squad/protocol/handoff-envelope.schema.md:
---
from: <role>
to: <role>
phase: <integer>
task: <phase>.<task>
timestamp: <ISO-8601>
run_id: <run-id>
---
## Artifacts to re-read (required)
- <path>
## Files you may edit (exclusive lock, this phase)
- <path> (create | edit)
## Files other parallel tasks own (DO NOT TOUCH)
- <path>
## Inherited assumptions
- <decision>
## Pending decisions
- (none)
## Discarded context
- <option rejected earlier>
Validation:
development
Generate a Product Requirements Document from a task description, user intent, or PRD outline. Structure the PRD with sections: Overview, Problem Statement, Goals, Scope, Features, Acceptance Criteria, Metrics. Use this when the Planner or Orchestrator needs to formalize requirements before decomposing into implementation steps.
development
Compose parallel teams of specialized agents for a multi-faceted task. Map subtasks to agent roles, balance workload, and validate team composition. Use this when breaking a task into parallel streams that require different expertise (Coder, Tester, Infra, etc.).
development
Delegate implementation work to specialized subagent instances, each inheriting a task scope and constraints from the parent. Emit structured handoffs, monitor completion signals, aggregate results. Use this in the Orchestrator parallel path when spawning independent Coder/Tester/Infra subagents from a single coordinator.
development
Enforce the -warnaserror build + 95% coverage test gate on every squad [DONE]. Use this before any specialist (Coder, Tester, Reviewer, Infra) marks a phase complete.