Retrospective

From JeremyDev87/codingbuddy · View interactive version

Retrospective is an AI agent skill from the GitHub repository JeremyDev87/codingbuddy. Analyze recent session context archives to identify coding patterns, agent usage, TDD cycle stats, and common EVAL issues. Generates a summary report with data-driven improvement suggestions.

How to use this skill

Skill file

Session Retrospective

Overview

Analyze accumulated PLAN/ACT/EVAL session data from context archives to surface coding habits, recurring patterns, and actionable improvement suggestions. Transforms passive session history into data-driven growth insights.

Core principle: Decisions improve when informed by patterns, not just memory. Review what actually happened, not what you think happened.

When to Use

When NOT to Use

Prerequisites

Process

Phase 1: Data Collection

Gather session archives and extract structured data.

  1. Retrieve recent archives
  1. Read archive contents

Phase 2: Pattern Analysis

Analyze collected data across five dimensions.

2a. Mode Usage Patterns
2b. Agent Utilization
2c. TDD Cycle Indicators

Search archives for TDD-related patterns:

2d. Recurring Issues

Search for repeated problems:

2e. Decision Patterns

Analyze decisions across sessions:

Phase 3: Report Generation

Generate a structured markdown report.

# Session Retrospective Report

> Period: {start_date} - {end_date}
> Sessions analyzed: {count}
> Generated: {current_date}

## Summary Statistics

| Metric | Value |
|--------|-------|
| Total sessions | {n} |
| PLAN sessions | {n} |
| ACT sessions | {n} |
| EVAL sessions | {n} |
| AUTO sessions | {n} |
| EVAL adoption rate | {n}% |
| Completion rate | {n}% |

## Top Agents

| Rank | Agent | Sessions | % |
|------|-------|----------|---|
| 1 | {agent} | {n} | {n}% |
| ... | ... | ... | ... |

## TDD Health

- Adherence rate: {n}%
- Test-first sessions: {n}
- Test-after sessions: {n}
- No-test sessions: {n}

## Recurring Issues

### {Issue Category}
- **Frequency**: {n} sessions
- **Pattern**: {description}
- **Impact**: {assessment}

## Key Decisions Timeline

| Date | Decision | Mode | Validated? |
|------|----------|------|------------|
| {date} | {decision} | {mode} | {yes/no} |

## Improvement Suggestions

### High Priority
1. {suggestion with rationale}

### Medium Priority
1. {suggestion with rationale}

### Process Observations
1. {observation}

Phase 4: Improvement Suggestions

Generate actionable suggestions based on findings.

Auto-generate suggestions for:

| Pattern Detected | Suggestion |

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

| EVAL rate < 30% | Increase EVAL usage for quality gates |

| Single agent > 60% | Diversify specialist agents for broader coverage |

| TDD adherence < 50% | Reinforce test-first discipline with TDD skill |

| Same issue 3+ times | Create a checklist or rule to prevent recurrence |

| Blocked sessions > 20% | Investigate common blockers and add preventive steps |

| No decisions recorded | Improve decision documentation in context |

| Decisions reversed > 2x | Add EVAL validation before major decisions |

Phase 5: Output

  1. Display report in conversation
  2. Save report to docs/codingbuddy/retrospective-{YYYY-MM-DD}.md
  3. Offer next steps:

Key Principles

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.