/project-toolkit:retrospectivefrom project-toolkit
Orchestrates structured retrospectives using Five Whys, fishbone diagnosis, and atomicity scoring. Gathers evidence from session logs and git history to produce a canonical retrospective artifact for institutional learning.
Ships in project-toolkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Turn execution experience into institutional knowledge. This skill orchestrates a fixed
Phase 0 through Phase 5 workflow that gathers evidence, generates insights, diagnoses root
causes, decides actions, scores atomicity, and persists learnings. The long-form rubrics
live verbatim in references/; this file is the orchestration contract.
This skill owns the long-form rubrics the retrospective agent loads from references/.
It is callable from Skill("retrospective") and from /retro fill <date>.
The Stop hook that once invoked it automatically was deleted, so a
retrospective is written when someone asks for one.
| Trigger Phrase | Operation |
|---|---|
run a retrospective | Full Phase 0..5 workflow over the given scope |
retro fill | Fill an unfilled auto-retro skeleton for a date |
extract learnings from this session | Phase 0..4 over the current session |
diagnose this failure | Phase 0..2 root-cause analysis, then stop |
what did we learn | Phase 4 atomicity-scored learning extraction |
| Situation | Use This Skill? |
|---|---|
A reflect pass produced a HIGH-confidence finding | Yes |
main went red, or a merge was reverted or force-fixed | Yes |
| The user corrected the work explicitly | Yes |
| A session ended and nothing above fired | No, a calendar is not a trigger |
An unfilled auto-retro skeleton exists in .project-toolkit/retrospective/ | Yes (fill it) |
| Diagnosing why a task failed (Five Whys, fishbone) | Yes |
| Capturing a single in-conversation correction ("no", "wrong") | No, use reflect |
| Saving a quick checkpoint with no analysis | No, use /checkpoint |
The output artifact is a Markdown file. The Learning Extraction Template in
references/learning-template.md defines the exact structure. Save to
.project-toolkit/retrospective/YYYY-MM-DD-[scope].md. Nothing writes new auto-retro
skeletons: the Stop hook that produced them was deleted. Skeletons
already on disk are historical and still fillable; when filling one, write to
its existing YYYY-MM-DD-auto-retro.md.
| Input | Source | Required |
|---|---|---|
| Scope | User argument (session, task, date, PR) | Yes |
| Session log | .project-toolkit/sessions/ most recent for the period | When available |
| Git history | git log over the period | When available |
| GitHub activity | PRs and issues for the period (via the github skill) | Optional enrichment |
Treat the session log as the system of record for what happened. Git history and GitHub activity are derived evidence that corroborate or extend it. When a source is unavailable, degrade gracefully: produce the artifact from the evidence you have and mark the missing sections, never substitute invented data.
A session log or transcript you will read on more than one turn, or one too large to
read whole, costs its full size on every turn that carries it. Distill it once with
distill_artifact.py (usage: context-optimizer skill, Tool Details: Distill
Artifact) and use the digest to locate evidence. When it lacks a detail, search the
raw source for that detail and read the matching lines with their context.
The workflow is six sequential phases. Phase 0 gathers facts. Phases 1 and 2 interpret them. Phase 3 decides actions. Phase 4 extracts and scores learnings. Phase 5 persists them. Each phase links to the rubric and template it uses. Run them in order; do not interpret before you observe.
Gather facts before interpretation. Observation precedes diagnosis.
Evidence sources: the most recent session log under .project-toolkit/sessions/, git log for the
period, optional GitHub activity through the github skill (never raw gh), and an explicit
native Copilot journal via extract_evidence.py --journal <events.jsonl> (bounded tool receipts).
Where the journal reader does not ship (the Hermes pack), the journal is reported unavailable.
Make meaning from data. Look past symptoms to find causes.
Prioritize findings for action. Diagnostic priority order: critical error patterns, success analysis, near misses, efficiency opportunities, skill gaps, traceability health. The full priority order, traceability metrics, and diagnosis template live in diagnosis-and-actions.md, Diagnosis.
For each root cause that Five Whys surfaces, store a root-cause pattern for future prevention: see diagnosis-and-actions.md, Root Cause Pattern Management.
If the work touched diagnosis or action classification, stop here for the diagnose this failure trigger; otherwise continue to Phase 3.
Move from insights to action.
Transform insights into stored knowledge. Score every learning 0 to 100 percent for atomicity and reject vague statements. The scoring rubric, quality thresholds, worked examples, and evidence-based tagging live in diagnosis-and-actions.md, Atomicity Scoring.
Assemble the artifact using the byte-exact
Learning Extraction Template. Save to
.project-toolkit/retrospective/YYYY-MM-DD-[scope].md. When filling an auto-retro skeleton, overwrite
the placeholder sections in the existing YYYY-MM-DD-auto-retro.md and remove the UNFILLED
banner.
Persist learnings to memory and evaluate the retrospective itself.
Findings for the owner table, classed
from the frozen completion contract: see
frameworks.md, Delta Triage. Do not file a
GitHub issue or write a backlog memory file. The owner decides what becomes tracked work.Before the retrospective is complete, confirm:
.project-toolkit/retrospective/YYYY-MM-DD-[scope].md (or the
existing auto-retro skeleton was filled and its UNFILLED banner removed)./retro fill parse inputs and call this skill;
they do not re-implement the workflow.| Script | Purpose | Exit codes |
|---|---|---|
scripts/run_retrospective.py | Orchestrate Phase 0 to Phase 5 and write the retrospective artifact. | 0 artifact written; 1 a supplied learning scored below the persistence threshold (still written); 2 usage or configuration error; 3 unexpected external failure. |
scripts/extract_evidence.py | Gather Phase 0 evidence (session log, git history, optional --journal) for the scope. | 0 evidence gathered (sources may be marked absent); 2 usage or configuration error; 3 unexpected external failure. |
scripts/score_atomicity.py | Score a candidate learning against the 70% persistence threshold. | 0 at or above threshold; 1 below threshold (refine or reject); 2 usage or configuration error. |
.claude/agents/retrospective.md: the agent that loads these references. The references
are the canonical home of the rubrics; the agent keeps only the gates and load conditions.references/diagnosis-and-actions.md (opens in a new tab)references/frameworks.md (opens in a new tab)references/handoff-example.md (opens in a new tab)references/learning-template.md (opens in a new tab)references/recursive-extraction.md (opens in a new tab)scripts/copilot_journal.py (opens in a new tab)scripts/extract_evidence.py (opens in a new tab)scripts/run_retrospective.py (opens in a new tab)scripts/score_atomicity.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub rjmurillo/ai-agents --plugin project-toolkit105 skills in this plugin
/adr-generatorCreate comprehensive Architectural Decision Records (ADRs). Researches the destination directory to detect existing template conventions, gathers context, determines next ADR number, generates the ADR, validates completeness, and saves. Supports multiple ADR formats (MADR, Nygard, Alexandrian, project canonical). Use when documenting technical decisions, creating new ADR files, or capturing rationale so future readers can revisit a choice. Use when you say "write an ADR", "document this decision", "document these design choices", "record why we chose this", "capture the rationale", or "for future maintainers", or when creating an ADR-like markdown file under docs/decisions/, docs/adr/, docs/architecture/, architecture/decisions/, or .project-toolkit/architecture/. Do NOT use to debate or review an existing ADR (use adr-review)./adr-reviewMulti-agent debate orchestration for Architecture Decision Records. Automatically triggers on ADR create/edit/delete. Coordinates architect, critic, independent-thinker, security, analyst, and high-level-advisor agents in structured debate rounds until consensus. Use when you say "review this ADR", when an ADR is created/edited/deleted, or when reviewing, accepting, or updating a decision file under .project-toolkit/architecture/, docs/architecture/, docs/decisions/, docs/adr/, or architecture/decisions/, including intent like "review this decision record" or "check this rationale for future maintainers". Do NOT use to author a new ADR (use adr-generator).Other plugins' skills for the same job