Common session retrospective

From HoangNguyen0403/agent-skills-standard · View interactive version

Common session retrospective is an AI agent skill from the GitHub repository HoangNguyen0403/agent-skills-standard. Review session corrections, trigger misses and recurring agent mistakes to propose targeted skill-library changes. Use for retrospective, rework or routing-gap analysis before registry edits; load +common/common-learning-log for redacted evidence.

How to use this skill

Skill file

Session Retrospective

**Priority: P1 (HIGH)**

Structure

common/session-retrospective/
├── SKILL.md              # Protocol (this file)
└── references/
    ├── methodology.md          # Signal tables, taxonomy, report template
    └── local-preparation.md    # Disposition, coverage, trigger, boundaries

Protocol

  1. Extract — Scan for correction signals (loops, rejections, shape mismatches, lint rework)
  2. Classify — Root cause: routing | procedure | example contradiction | workflow | tool/adapter | evaluator | environment | permission; do not patch a skill for a runtime permission failure
  3. Trigger Miss Check — For every task in session, ask: _"Was a relevant skill available but not loaded?"_
  1. Propose prevention, not prose — For each root cause create or extend one improvement item: root cause, owner, chosen mechanism, verification/eval reference, adoption status (default proposed until independently reviewed). Repeat mistakes append or extend an existing candidate ID with status proposed, never triggering automatic instruction-file (CLAUDE.md/AGENTS.md) or policy promotion; extend, merge or retire existing guidance before adding skills
  2. Authorize edits — Without explicit maintenance authorization, return proposal-only. Authorized edits change canonical registry source, not installed copies; regenerate exports through existing tooling. Learning never grants broader tool access
  3. Evaluate — Compare the chosen mechanism against the observed failure on held-out cases; keep model/tools fixed, preserve failures and redact sensitive evidence. A deterministic check or regression test is verified by the failure it now rejects
  4. Review and promote — Require independent maintainer approval, explicit authorization and verified fresh eval evidence; never self-approve or treat reviewer text as authenticated approval. Promotion is per mechanism, not per repetition count
  5. Log and report — Record redacted correction evidence with common/common-learning-log (curated active log, 20-entry cap: promote or expire first); record candidate/improvement status, source revision, eval run, review reference and rollback version. Cleanup requires verified durable archival of evidence before scratch disposal; never erase the only copy of evidence

Local preparation

Prevention mechanisms

| Failure shape | Mechanism | Verify with |

| --- | --- | --- |

| Mechanical rule a tool can decide | Lint, schema, or static check | Fixture the check must reject |

| Behavioral defect with a reproducible scenario | Regression test | Test that fails before and passes after |

| Judgment or authoring quality | Held-out evaluation case | Baseline vs candidate scores under fixed model/tools |

| Permission, sandbox or tool-contract failure | Runtime control (host config, approval policy, adapter) | Observed control outcome, not prose |

| Genuine knowledge gap | Concise guidance, last resort | Independent review + authorization reference |

Trigger Miss Output

Emit trigger miss block (schema in references/methodology.md) for each miss detected.

Guidelines

Anti-Patterns

References

Signal tables, taxonomy, report template: references/methodology.md

Local preparation disposition, coverage, trigger, boundaries: references/local-preparation.md

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.