Cfn retro

From masharratt/claude-flow-novice · View interactive version

Cfn retro is an AI agent skill from the GitHub repository masharratt/claude-flow-novice. MUST BE USED at end of each week to review velocity, identify hotspot files, and surface workflow bottlenecks. Weekly git-history retrospective: velocity, session patterns, file hotspots, commit types, streaks.

How to use this skill

Skill file

CFN Retro

Purpose: Analyze git history to surface development patterns, velocity trends, and improvement opportunities.

Usage

Invoke as /retro or /retro <window> where window is: 7d (default), 24h, 14d, 30d

Analysis Phases

Phase 1: Data Collection

Phase 2: Metrics

Output a metrics table:

Phase 3: Session Analysis

Group commits by 45-minute gaps to identify work sessions:

Phase 4: Hotspot Analysis

Most frequently changed files in the window. Files changed 5+ times are hotspots worth investigating for:

Phase 5: Streak Tracking

Count consecutive days with at least one commit. Surface current streak and longest streak in window.

Phase 6: Commit Type Analysis

Categorize using conventional commit prefixes. Flag:

Phase 7: Summary

Concrete, specific observations. No generic praise. Each observation anchored to actual data from the analysis.

Format: 3-5 bullet points, each citing specific numbers and file names.

Output Format

## Retro: <project> (<window>)

### Metrics
| Metric | Value |
|--------|-------|
| Commits | N |
| Lines changed | +X / -Y |
| Test ratio | N% |
| Streak | N days |

### Sessions
- N deep work sessions, N micro sessions
- Peak hours: HH:00-HH:00

### Hotspots
1. path/to/file (N changes)
2. ...

### Commit Types
feat: N | fix: N | refactor: N | chore: N | test: N | docs: N

### Observations
- ...

Integration

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.