add-component
Checklists for adding a new MCP tool, select or op, a new Flyway database migration, or a new Gradle dependency to the Task…
Analyzes the current implementation run - evaluates schema effectiveness, delegation alignment, note quality, and plan-to-execution fit. Captures cross-session trends and proposes improvements when patterns repeat. Use after implementation runs, or when user says
Claude Code
$ npx -y skills add jpicklyk/task-orchestrator --skill session-retrospective --agent claude-code
Codex
$ npx skills add jpicklyk/task-orchestrator --skill session-retrospective -a codex -y
Cursor
$ npx skills add jpicklyk/task-orchestrator --skill session-retrospective -a cursor -y
Gemini CLI
$ npx skills add jpicklyk/task-orchestrator --skill session-retrospective -a gemini-cli -y
GitHub Copilot
$ npx skills add jpicklyk/task-orchestrator --skill session-retrospective -a github-copilot -y
OpenCode
$ npx skills add jpicklyk/task-orchestrator --skill session-retrospective -a opencode -y
Windsurf
$ npx skills add jpicklyk/task-orchestrator --skill session-retrospective -a windsurf -y
name: session-retrospective description: "Analyzes a closed implementation run (schema, delegation, notes, plan-to-execution), routes defects to items, records cross-run trends and proposes improvements when patterns repeat. Use when a run closes (the hook dispatch directive) or when explicitly asked for a 'retrospective', 'session review' or 'analyze this run'." argument-hint: "[optional: root item UUID] [--run <runId>]... (repeatable) [--session-dir <dir>] [--dry-run to preview without creating items]" context: fork agent: general-purpose model: sonnet effort: medium
Post-run analysis of five dimensions; findings persist in MCP, defects are routed to items, and trend memory turns repeated findings into proposals. It runs unattended: it asks nobody and carries on, stating a missing input as an assumption in the report.
Call shapes: [`../_generated/call-shapes.md`](../_generated/call-shapes.md); read each write's `data.results[i]` (`ok`, `error.code`). Trigger mechanics: hooks README, "Retrospective firing"; the grammar and thresholds: [`references/metrics.md`](references/metrics.md).
Gate loop, before every `advance`: read the gate (`items_read` `context`), fill what `gateStatus.missing` names, `advance`. On `gate_blocked` re-read, fill the rest, retry once, then report the missing notes and stop.
**Items.** Per `--run`: `runs_read` `get` (`rootId`, `scopeId`, `marks`), `seats` (`ended: true`) and `frontier`. Members are the distinct seat `itemId`s plus the frontier's `waiting` and `inFlight` ids, deduplicated on 8 hex characters; with none, the `scopeId` overview. A root UUID is the whole scope (`items_read` `list`, `ancestorId`, `limit: 200`). With neither, list `role: terminal` items modified in the last 24h under the project root (`## Project Scope` or `project.rootId`), else unscoped.
**Run marks.** `Run marks: <run8> <keys>` goes in `session-metrics`; `retro-retry` or `retro-failed` is a friction finding, `retro-skipped` reads "triaged low-signal". A run is **stale** only when the dispatch directive says its scope never completed or, for a manual run, when its `scopeId` item is not terminal, `runs_read` `list` (`rootId`) shows no open or paused run with that `scopeId` and its newest run closed over 7 days ago; a scope merely not terminal yet is not stale. A stale run's title is `[stale] Retrospective - ...`, its header `Stale: scope <8hex> never completed - not a delivery review`; 3d reads its unfinished items as abandoned.
**Notes.** Per item (20 at most) `get` `session-tracking` only (delegation figures: `delegations[]`). Defect inputs:
**Numbers.** Run the metrics command once (helper resolved as in the run-wave SKILL.md, Step 0) and read every figure from its JSON:
node "<helper>" retro-metrics --root <rootId> --run <runId> [--run <runId>]... [--session-dir "<dir>"]
A `measured: false` document or section is a gap: say so and carry on. No items in scope, or no `session-tracking` note: exit with `No implementation run data found. Nothing to retrospect.`
Outcome distribution and the first-review fail rate (a `Review: pending - verdict in <key>` or `Review: <verdict> after A<n> ...` note counts by the named review note's final verdict), friction, observations, and from the document `fixCycle`, `noteVolume` against its `baselines` and `defects` by `fingerprint`.
Score five dimensions, rules in [`references/evaluation.md`](references/evaluation.md): **3a** schema effectiveness, **3b** delegation alignment (`delegations[]` against the class's model in `task-orchestrator:model-effort`), **3c** note effectiveness (spec gaps; the sample of the longest `implementation-notes`, each sentence derivable or not), **3d** plan-to-execution, **3e** friction themes, **3f** kind (`defect`, `process`, `agent-discipline`, `positive`) and scope (`product`, `global-process`, `project`) of every finding: rubric and F-line format in [`references/routing.md`](references/routing.md).
Global trends sit under the process-global `Retrospective Trends` container, a depth-0 root item (found, like the other two containers, by unscoped `items_read` `search` for the exact title, keeping only the hit with no parent); a project's under its own `Retrospective Trends` container, tagged `project-<root8>`. No container and `memory/retrospectives.md` holds `- <kebab-key>: ...` lines: run [`references/legacy-trend-migration.md`](references/legacy-trend-migration.md) first; neither: every findi
Server-enforced workflow discipline for AI agents. Prompt-based frameworks hope the LLM follows instructions. This one blocks the call if it doesn't.
Checklists for adding a new MCP tool, select or op, a new Flyway database migration, or a new Gradle dependency to the Task…
Compatibility assessment for items with the needs-api-compat-review trait. Evaluates the tool surface (served over both MCP and…
End-to-end workflow for taking MCP work items from backlog to merged PR. Handles git branching, schema-driven planning,…
SQLite migration assessment for items with the needs-migration-review trait. Evaluates schema changes, table recreation patterns,…
Performance impact assessment for items with the needs-perf-review trait. Evaluates hot paths, query patterns, and measurement…
Assessment of plugin skill and hook changes needed after MCP or config changes. Evaluates skill references, hook context,…
Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by…
Create a new Architecture Decision Record with sequential numbering and AgentDB registration