/ce:post-mortemfrom ce
Reviews completed sessions to identify friction points and generate concrete improvements with file paths. Use for post-mortems, retros, lessons learned, or diagnosing recurring issues in a repo.
Ships in ce. 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.
Review a completed session or task to assess how it went and extract improvements. This covers both "how did we do" evaluation and "what can we learn" investigation.
After completing any non-trivial task or session. The goal is continuous improvement:
Load the relevant reference based on what you're investigating:
| Situation | Load | File |
|---|---|---|
| Agent hit friction during execution (wrong files, bad assumptions, unclear conventions) | DX Friction | references/dx-friction.md |
| Documentation (READMEs, comments, API docs) was wrong, incomplete, or misleading | Documentation Gaps | references/documentation-gaps.md |
| Code was hard to understand or things were in unexpected places | Architecture Clarity | references/architecture-clarity.md |
| A bug was fixed but the root cause suggests a process gap | Bug Prevention | references/bug-prevention.md |
| Code works but diverges from best practices, idioms, or established conventions | Anti-Patterns | references/anti-patterns.md |
Skills, hooks, commands, agents, or .claude/ configs need updating | Tooling Improvements | references/tooling-improvements.md |
Load multiple references when the session spans investigation types.
For a review across many sessions ("what keeps going wrong in this repo?"), build a transcript digest first with python3 ${CLAUDE_SKILL_DIR}/scripts/extract-friction.py --out <scratch dir>/friction, then read the Multi-Session Reviews section of references/dx-friction.md.
Every post-mortem follows four steps regardless of investigation type.
Walk through the session timeline. For each significant step, note:
Don't editorialize yet. Just document the sequence.
Evaluate how the session went overall:
Flag anything that felt harder than it should have been, even if it ultimately succeeded.
For each friction point, ask: "What would have prevented this?"
Push past the first answer. "I should have read the file more carefully" is a symptom. "The file's name doesn't indicate what it contains" or "there's no convention documented for where this type of code lives" is a systemic cause.
Good root causes point to something fixable:
Bad root causes are just descriptions of what went wrong:
Every finding should produce one of these:
Each action should have a specific file path and description of the change. Vague actions like "improve documentation" are not useful.
Match the length to the findings. Cover the substance without filler sections or a summary that repeats the findings.
## Session Post-Mortem
### What Happened
[Timeline of the session with key decision points]
### Execution Assessment
- **Outcome:** [What was delivered vs what was asked]
- **Efficiency:** [Direct path or detours? Where and why?]
- **What worked well:** [Patterns, skills, or approaches worth repeating]
### Findings
#### Finding 1: [Title]
**What happened:** [The friction or issue, stated factually. 1-2 sentences]
**Root cause:** [The systemic issue underneath. 1-2 sentences]
**Action:** [Specific change with file path. 1-2 sentences]
**Priority:** [High/Medium/Low based on how often this would recur]
#### Finding 2: [Title]
...
### Summary
[1-2 sentences: biggest takeaway and what should change first]
agents/openai.yaml (opens in a new tab)references/anti-patterns.md (opens in a new tab)references/architecture-clarity.md (opens in a new tab)references/bug-prevention.md (opens in a new tab)references/documentation-gaps.md (opens in a new tab)references/dx-friction.md (opens in a new tab)references/tooling-improvements.md (opens in a new tab)scripts/extract-friction.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub rileyhilliard/claude-essentials --plugin ce12 skills in this plugin
/architecting-systemsGuides clean, scalable system architecture during the build phase. Use when designing modules, defining boundaries, structuring projects, managing dependencies, or preventing tight coupling and brittleness as systems grow./deliverTakes a feature, plan or RFC to production-ready code merged to main, with emphasis on architecture and code quality. Adopts or writes a phased plan, has it critiqued against the codebase, scaffolds contracts, runs parallel subagent lanes, lands and tags each phase on a feature branch as it finishes, reviews every lane with a capped review cycle, and merges to main after approval. Use when asked to execute, implement or ship a plan or RFC, for "have DA review it, then implement", "implement, review and merge to main", or for work that needs full review depth. For timeboxed or prototype work, use sprint./Other plugins' skills for the same job