Session retrospection using After Action Review methodology. Analyzes corrections, observations, and session activity to produce improvement recommendations. Use at end of sessions or after /memory-sync.
From context-keepernpx claudepluginhub swannysec/context-keeper --plugin context-keeperThis skill uses the workspace's default tool permissions.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
6-phase After Action Review (AAR) workflow for extracting actionable improvements from the current session.
Read the following data sources (skip any that don't exist):
.claude/memory/corrections-queue.md — unprocessed correction/friction items.claude/memory/sessions/YYYY-MM-DD-observations.md.claude/memory/sessions/.claude/memory/active-context.md — current project state~/.claude/usage-data/facets/. Extract:
friction_counts — pre-classified friction events by typefriction_detail — plain-English description of what went wronguser_satisfaction_counts — inferred satisfaction signalsoutcome — session outcome (fully_achieved, mostly_achieved, etc.)goal_categories — categorized sub-goalsprimary_success — what went right
If the facets directory doesn't exist or no matching session is found, skip gracefully.
Facets data is Claude Code-specific and may not exist on all installations.Estimate session depth:
Privacy: Skip any content within <private>...</private> blocks.
Skip files with private: true in YAML front matter.
Facets data does not contain file contents — no privacy filtering needed for facets.
Recommend scope classification:
Present recommendation to user: "Scope recommendation: [PROCESS/PROJECT/BOTH] — [brief reason]" User can adjust. Proceed with confirmed scope.
For LIGHTWEIGHT sessions: Auto-select PROCESS scope, skip user confirmation, and produce minimal output.
friction_counts as pre-classified friction signals (more accurate than
manual observation log scanning — these are LLM-classified, not regex-matched)friction_detail for narrative context on what went wrongefficiency if unclear..claude/memory/patterns.md — don't re-discover known patterns.claude/memory/decisions/ — don't re-recommend existing decisions/memory-search to check if similar issues were flagged in past session retros.claude/memory/friction.md exists:
If a recommendation would benefit from external validation, briefly verify with external sources before recommending. Skip external research for LIGHTWEIGHT sessions.
For each recommendation, include:
<!-- @category: efficiency --><!-- @category: quality --><!-- @category: ux --><!-- @category: knowledge --><!-- @category: architecture -->For LIGHTWEIGHT sessions: Generate 0-2 recommendations max. For STANDARD sessions: Generate 2-5 recommendations.
Display recommendations grouped by scope (PROCESS vs PROJECT):
Present each recommendation with a number. User can approve all, selectively approve or deny in natural language. Denied items are noted as "considered but declined" in the retro file.
Route approved items to the most appropriate memory file (patterns.md, decisions/, glossary.md, product-context.md, or the retro's Improvement Backlog).
Create retrospective file at: .claude/memory/sessions/YYYY-MM-DD-retro.md
Format:
# Session Retrospective — YYYY-MM-DD
## Session Summary
[Brief 2-3 sentence summary of what happened in this session]
## Improvement Log
### Approved
- [Recommendation 1] → routed to patterns.md
<!-- @category: quality -->
- [Recommendation 2] → routed to decisions/ADR-NNN.md
<!-- @category: architecture -->
### Declined
- [Recommendation 3] — reason: [user's reason or "user declined"]
## Improvement Backlog
- [ ] [Future improvement idea 1 — actionable, specific]
- [ ] [Future improvement idea 2]
## Evidence
- Corrections: [N] detected, [M] processed
- Observations: [N] tool uses, [M] failures
- Friction signals: [list of friction patterns detected]
- Facets data: [available/unavailable] — include outcome, friction counts, and satisfaction summary if available
- Session depth: [LIGHTWEIGHT/STANDARD]
---
*Generated by /memory-reflect*
For LIGHTWEIGHT sessions, produce a minimal retro:
# Session Retrospective — YYYY-MM-DD
## Summary
[Short session with minimal activity. No notable improvements identified.]
## Evidence
- Observations: [N] tool uses
- Corrections: 0
---
*Generated by /memory-reflect (lightweight)*