/common-session-retrospective
Analyze conversation corrections to detect skill gaps and prepare targeted skill-library maintenance tasks. Use after any session with user corrections, rework, or retrospective requests. After finding correction loops, also load +common/common-learning-log to persist mistake
$ npx -y skills add hoangnguyen0403/agent-skills-standard --skill common-session-retrospective --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/common-session-retrospective
Context preview
The summary Claude sees to decide when to auto-load this skill.
Analyze conversation corrections to detect skill gaps and prepare targeted skill-library maintenance tasks. Use after any session with user corrections, rework, or retrospective requests. After finding correction loops, also load +common/common-learning-log to persist mistake
SKILL.md
common-session-retrospective.SKILL.mdname: common-session-retrospective
description: Analyze conversation corrections to detect skill gaps and prepare targeted skill-library maintenance tasks. Use after any session with user corrections, rework, or retrospective requests. After finding correction loops, also load +common/common-learning-log to persist mistake entries to AGENTS_LEARNING.md.
metadata:
triggers:
files:
- '**/*.spec.ts'
- '**/*.test.ts'
- 'SKILL.md'
- 'AGENTS.md'
- '+common/common-learning-log'
keywords:
- retrospective
- self-learning
- improve skills
- session review
- correction
- reworkSession Retrospective
**Priority: P1 (HIGH)**
Structure
common/session-retrospective/
├── SKILL.md # Protocol (this file)
└── references/
└── methodology.md # Signal tables, taxonomy, report templateProtocol
1. **Extract** — Scan for correction signals (loops, rejections, shape mismatches, lint rework) 2. **Classify** — Root cause: Skill Missing | Incomplete | Example Contradicts Rule | Workflow Gap | **Trigger Miss** 3. **Trigger Miss Check** — For every task in session, ask: _" relevant skill available but not loaded?"_
- If yes: record skill ID, indirect phrase used, and fix (add keyword alias to triggers)
4. **Propose** — One fix per root cause: revise existing guidance, update reference, add new skill, or add new workflow 5. **Implement** — Only when current task explicitly authorizes repository maintenance, apply the approved repo changes across configured agent dirs. Keep SKILL.md concise; move large tables to `references/`. Update `AGENTS.md` 6. **Log to AGENTS_LEARNING.md** — For each correction loop found, append one entry using `common/common-learning-log` protocol (Signal: `Session retrospective`) 7. **Report** — Output correction count, skills changed, trigger misses found, estimated rounds saved
Trigger Miss Output
Emit trigger miss block (schema in [references/methodology.md](references/methodology.md#trigger-miss-schema)) for each miss detected.
Guidelines
- **Cite specifics**: Reference concrete conversation moment per proposal
- **Extend first**: Search `AGENTS.md` before creating — extend existing guidance first
- **One fix per loop**: One correction → one targeted skill change
- **Stay task-scoped**: Only change repository library source during explicit maintenance work for the repository
- **Sync all agents**: Apply to every agent skill dir listed in `.skillsrc` `agents` field
- **Follow skill-creator**: New skills comply with `common/skill-creator` standards
Anti-Patterns
- **No Vague Proposals**: Cite exact gap + fix, not "make X better"
- **No Duplicate Skills**: Search AGENTS.md index first
- **No Oversized Patches**: Extract to `references/` per skill-creator standard
References
Signal tables, root cause taxonomy, report template, real-world example: [references/methodology.md](references/methodology.md)
Canonical response anchors
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
- AGENTS.md and AGENTS_LEARNING.md
Read more
name: common-session-retrospective
description: Analyze conversation corrections to detect skill gaps and prepare targeted skill-library maintenance tasks. Use after any session with user corrections, rework, or retrospective requests. After finding correction loops, also load +common/common-learning-log to persist mistake entries to AGENTS_LEARNING.md.
metadata:
triggers:
files:
- '**/*.spec.ts'
- '**/*.test.ts'
- 'SKILL.md'
- 'AGENTS.md'
- '+common/common-learning-log'
keywords:
- retrospective
- self-learning
- improve skills
- session review
- correction
- reworkSession Retrospective
**Priority: P1 (HIGH)**
Structure
common/session-retrospective/
├── SKILL.md # Protocol (this file)
└── references/
└── methodology.md # Signal tables, taxonomy, report templateProtocol
1. **Extract** — Scan for correction signals (loops, rejections, shape mismatches, lint rework) 2. **Classify** — Root cause: Skill Missing | Incomplete | Example Contradicts Rule | Workflow Gap | **Trigger Miss** 3. **Trigger Miss Check** — For every task in session, ask: _" relevant skill available but not loaded?"_
- If yes: record skill ID, indirect phrase used, and fix (add keyword alias to triggers)
4. **Propose** — One fix per root cause: revise existing guidance, update reference, add new skill, or add new workflow 5. **Implement** — Only when current task explicitly authorizes repository maintenance, apply the approved repo changes across configured agent dirs. Keep SKILL.md concise; move large tables to `references/`. Update `AGENTS.md` 6. **Log to AGENTS_LEARNING.md** — For each correction loop found, append one entry using `common/common-learning-log` protocol (Signal: `Session retrospective`) 7. **Report** — Output correction count, skills changed, trigger misses found, estimated rounds saved
Trigger Miss Output
Emit trigger miss block (schema in [references/methodology.md](references/methodology.md#trigger-miss-schema)) for each miss detected.
Guidelines
- **Cite specifics**: Reference concrete conversation moment per proposal
- **Extend first**: Search `AGENTS.md` before creating — extend existing guidance first
- **One fix per loop**: One correction → one targeted skill change
- **Stay task-scoped**: Only change repository library source during explicit maintenance work for the repository
- **Sync all agents**: Apply to every agent skill dir listed in `.skillsrc` `agents` field
- **Follow skill-creator**: New skills comply with `common/skill-creator` standards
Anti-Patterns
- **No Vague Proposals**: Cite exact gap + fix, not "make X better"
- **No Duplicate Skills**: Search AGENTS.md index first
- **No Oversized Patches**: Extract to `references/` per skill-creator standard
References
Signal tables, root cause taxonomy, report template, real-world example: [references/methodology.md](references/methodology.md)
Canonical response anchors
When this skill applies, preserve the following domain terminology or equivalent concrete examples in the answer when relevant:
- AGENTS.md and AGENTS_LEARNING.md
The portable SDLC standards layer for AI coding agents. Sync once, then work in your own runtime.
Repo: hoangnguyen0403/agent-skills-standard
Other skills on agent-skills-standard.
- /android-agp-upgrade
Upgrade an Android project to Android Gradle Plugin (AGP) 9. Use when migrating to AGP 9, updating Gradle build files, migrating to built-in Kotlin, or adopting the new AGP DSL.
Open skill - /android-architecture
Apply Clean Architecture layering, modularization, and Unidirectional Data Flow in Android projects. Use when setting up project structure, placing code in layers, configuring feature/core modules, or implementing UDF patterns; defer Compose state and ViewModel/StateFlow
Open skill - /android-background-work
Implement WorkManager and background processing correctly on Android. Use when creating Worker classes, scheduling tasks, choosing between WorkManager and Foreground Services, or setting up Hilt in workers; defer FCM and notification delivery to android-notifications.
Open skill - /android-compose-migration
Migrate an Android XML View to Jetpack Compose following a structured 10-step workflow. Use when converting XML layouts to Compose, setting up Compose in an existing View-based project, or incrementally adopting Compose.
Open skill - /android-compose
Build high-performance declarative UI with Jetpack Compose. Use when writing Composable functions, optimizing recomposition, hoisting state, or working with LazyColumn and side effects; defer deep-link and navigation routing to android-navigation.
Open skill - /android-concurrency
Write correct coroutine scopes, lifecycle collection, and dispatcher injection in Android production code. Use for suspend functions, coroutine scopes, and dispatcher mechanics; defer ViewModel StateFlow/LiveData architecture, Fragment lifecycle recipes,
Open skill

