Agent skill

Engineering Retro

by Mathews-Tom in Mathews-Tom/armory

Git-based engineering retrospective analyzing commits, PRs, and velocity over configurable windows with monorepo path scoping.

MITAuto-check passedProduct & Project Management

Install Engineering Retro

skills CLI
$ npx skills add Mathews-Tom/armory --skill engineering-retro -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Mathews-Tom/armory engineering-retro --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Mathews-Tom/armory.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/engineering-retro .claude/skills/engineering-retro && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
engineering-retro
GitHub stars
328
Token cost
~2.3k tokens
SKILL.md length
894 words
Files
2
Skills in repo
80
Repo updated
First seen
Licence
MIT

At a glance

Git-based engineering retrospective analyzing commits, PRs, and velocity over configurable windows with monorepo path scoping.

  • Works in 12 steps: Environment Detection → Gather Raw Git Data → Compute Aggregate Metrics → …
  • : retrospective
  • SKILL.md covers Arguments, Execution Steps and Constraints
  • Calls git and gh

What it does

Engineering Retro is an agent skill from Mathews-Tom/armory. Git-based engineering retrospective analyzing commits, PRs, and velocity over configurable windows with monorepo path scoping. Triggers on: "retrospective", "sprint retro", "weekly review", "what did we ship", "engineering retro", "dev summary", "commit analysis".

Its SKILL.md is about 2.3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `evals/cases.yaml`).

It sits in Product & Project Management, covering Retrospectives, Monorepo tooling and Journaling and reflection. It works with Git. The repository describes itself as: Curated, production-grade skills for AI coding agents. Battle-tested workflows for developers who use AI seriously. The licence is MIT.

When your agent uses it

  • : retrospective
  • What did we ship
  • Engineering retro
  • Commit analysis

Example prompts

  • “retrospective”
  • “sprint retro”
  • “weekly review”
  • “/engineering-retro”

Workflow steps

12 steps, taken from the step headings in SKILL.md.

  1. Environment Detection
  2. Gather Raw Git Data
  3. Compute Aggregate Metrics
  4. Time Distribution
  5. Session Analysis
  6. Commit Type Classification
  7. Hotspot Analysis
  8. PR Analysis
  9. Focus Score
  10. Per-Author Breakdown
  11. Week-over-Week Comparison
  12. Save Snapshot

What it can do on your machine

Read from SKILL.md and the folder at commit 4594fb7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git
    • gh

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git and gh, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Engineering Retro loads about 2.3k tokens when it runs. Until then it costs about 71 tokens; SKILL.md has 894 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~71
When it runs · the whole SKILL.md, loaded when a task matches
~2.3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Mathews-Tom/armory at commit 4594fb7, republished under its MIT licence (© Mathews-Tom). 894 words, ~2,286 tokens.

Download SKILL.mdSave it as .claude/skills/engineering-retro/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
engineering-retro
description
Git-based engineering retrospective analyzing commits, PRs, and velocity over configurable windows with monorepo path scoping. Triggers on: "retrospective", "sprint retro", "weekly review", "what did we ship", "engineering retro", "dev summary", "commit analysis".
metadata.version
1.0.1
metadata.category
review
metadata.tags
retrospective, velocity, git-analysis, sprint
metadata.difficulty
intermediate
metadata.phase
ship

Engineering Retrospective

Generate a structured, git-based engineering retrospective for a configurable time window. This is a read-only analysis — no files are modified except the optional JSON snapshot.

Arguments

/engineering-retro [TIME_WINDOW] [PATH_SCOPE]
  • TIME_WINDOW (optional): 24h, 7d (default), 14d, 30d
  • PATH_SCOPE (optional): restrict analysis to a subdirectory (monorepo support), e.g. services/api

Examples:

  • /engineering-retro — last 7 days, full repo
  • /engineering-retro 30d — last 30 days, full repo
  • /engineering-retro 14d services/api — last 14 days, scoped to services/api/

Execution Steps

Step 1: Environment Detection

Detect runtime context before any analysis:

bash
# Default branch
DEFAULT_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@')
if [ -z "$DEFAULT_BRANCH" ]; then
  DEFAULT_BRANCH=$(git remote show origin 2>/dev/null | grep 'HEAD branch' | awk '{print $NF}')
fi

# System timezone
TZ_NAME=$(date +%Z)

# Time window — convert argument to --since format
# 24h → "24 hours ago", 7d → "7 days ago", 14d → "14 days ago", 30d → "30 days ago"

If DEFAULT_BRANCH detection fails, abort with an error — do not guess.

Step 2: Gather Raw Git Data

Collect commits within the time window on the detected default branch:

bash
# All commits in window (with optional path scope)
git log origin/$DEFAULT_BRANCH --since="$SINCE" --format="%H|%aI|%aN|%s" -- $PATH_SCOPE

# Diff stats for the window
git log origin/$DEFAULT_BRANCH --since="$SINCE" --numstat --format="%H" -- $PATH_SCOPE

Capture: commit hash, author date (ISO), author name, subject line, files changed, insertions, deletions.

Step 3: Compute Aggregate Metrics

From the raw data, compute:

  • Total commits in window
  • Unique contributors (distinct author names)
  • Files changed (unique file paths across all commits)
  • Lines added (sum of insertions)
  • Lines removed (sum of deletions)
  • Net delta (added - removed)
  • Avg commit size (total lines changed / total commits)
Step 4: Time Distribution

Analyze commit timestamps (converted to system timezone $TZ_NAME):

  • Commits by day of week: Mon-Sun histogram
  • Commits by hour: 0-23 histogram
  • Peak day: day with most commits
  • Peak hours: hours with most activity

Present as a compact text histogram.

Step 5: Session Analysis

Group commits into work sessions using a >2 hour gap as a session boundary:

  1. Sort commits by author and timestamp
  2. For each author, iterate chronologically — if gap between consecutive commits exceeds 2 hours, start a new session
  3. Compute per-session: duration (first commit to last commit), commit count
  4. Aggregate: total sessions, average session length, longest session, average commits per session

Sessions with a single commit get a default duration of 0 (point-in-time).

Step 6: Commit Type Classification

Classify each commit using conventional commit prefixes from the subject line:

Prefix patternCategory
feat:, feat(feature
fix:, fix(, bugfixfix
refactor:, refactor(refactor
chore:, chore(, build:, ci:chore
docs:, doc:docs
test:, tests:test
perf:perf
style:style

For commits without conventional prefixes, apply diff heuristics:

  • Primarily new files added → feature
  • Primarily deletions → refactor
  • Test files only → test
  • Config/CI files only → chore
  • Documentation files only → docs
  • Otherwise → uncategorized

Report counts and percentages per category.

Step 7: Hotspot Analysis

Identify the top 10 most-modified files by number of commits touching them:

bash
git log origin/$DEFAULT_BRANCH --since="$SINCE" --name-only --format="" -- $PATH_SCOPE | sort | uniq -c | sort -rn | head -20

Flag any file modified in >50% of total commits as a hotspot. Hotspots indicate:

  • Active area of development (expected during feature work)
  • Potential coupling issues (if unrelated commits keep touching the same file)
  • Possible need for decomposition (if the file is large)
Step 8: PR Analysis

If the remote is GitHub (check git remote get-url origin for github.com):

bash
# Merged PRs in window
gh pr list --state merged --base $DEFAULT_BRANCH --search "merged:>=$SINCE_DATE" --json number,title,author,mergedAt,additions,deletions,changedFiles,reviews

Compute:

  • Total merged PRs
  • Size distribution: S (<50 lines), M (50-200), L (200-500), XL (>500)
  • Review turnaround: time from PR creation to first review (median, p90)
  • Merge turnaround: time from PR creation to merge (median, p90)

If not a GitHub remote or gh is unavailable, skip this step and note it in the output.

Step 9: Focus Score

Compute the ratio of focused commits (touching 3 or fewer files) to total commits:

focus_score = commits_touching_le_3_files / total_commits

Interpretation:

  • >0.8: highly focused, small incremental changes
  • 0.5-0.8: moderate focus, mix of targeted and broad changes
  • <0.5: broad changes dominating, may indicate large refactors or low commit discipline
Show full SKILL.md (347 more words)Show less
Step 10: Per-Author Breakdown

For each contributor, report:

  • Commit count
  • Lines added / removed
  • Top 3 most-touched files
  • Primary commit types (from Step 6)
  • Number of sessions and average session length (from Step 5)

Frame this as contributor highlights — recognition of work done, not a ranking or performance metric. Order alphabetically by author name.

Step 11: Week-over-Week Comparison

Check for a prior snapshot in .engineering-retros/:

  • Find the most recent *.json file
  • If it exists and covers the adjacent prior window, compute deltas:
    • Commit count delta (%)
    • Lines changed delta (%)
    • Contributor count delta
    • Focus score delta
    • Category distribution shift

If no prior snapshot exists, note this is the first retrospective and skip comparison.

Step 12: Save Snapshot

Save a JSON snapshot for future comparisons:

.engineering-retros/<YYYY-MM-DD>.json

Schema:

json
{
  "date": "YYYY-MM-DD",
  "window": "7d",
  "path_scope": null,
  "branch": "main",
  "timezone": "PST",
  "metrics": {
    "commits": 0,
    "contributors": 0,
    "files_changed": 0,
    "lines_added": 0,
    "lines_removed": 0,
    "net_delta": 0,
    "focus_score": 0.0
  },
  "categories": {},
  "hotspots": [],
  "sessions": {
    "total": 0,
    "avg_length_minutes": 0
  },
  "authors": {},
  "pr_stats": null
}

Create the .engineering-retros/ directory if it does not exist. Ensure .engineering-retros/ is in .gitignore (add it if missing — this is the one permitted file modification).

Step 13: Generate Narrative Summary

Produce the final output in this structure:


Engineering Retrospective — [DATE_RANGE] ([TIMEZONE]) Branch: [DEFAULT_BRANCH] | Scope: [PATH_SCOPE or "full repo"]

Metrics
  • Commits: N | Contributors: N | Files changed: N
  • Lines: +N / -N (net: +/-N)
  • Avg commit size: N lines | Focus score: N.NN
Time Patterns
  • Peak day: [DAY] | Peak hours: [RANGE]
  • [compact histogram]
  • Sessions: N total | Avg length: Nm | Longest: Nm
Work Breakdown
  • [category]: N commits (NN%)
  • ...
Hotspots
  • path/to/file — N commits [HOTSPOT if >50%]
  • ...
Contributor Highlights
  • [Author]: N commits, +N/-N lines, focused on [top files], primarily [categories]
  • ...
PR Summary (if available)
  • Merged: N | Size dist: S/M/L/XL | Median review turnaround: Xh
Week-over-Week (if available)
  • Commits: +/-N% | Lines: +/-N% | Focus: +/-N.NN
Observations
  • [2-4 bullet points identifying patterns, achievements, and areas worth attention]
  • Based on data only — no speculation about intent or quality judgments about individuals

Constraints

  • Read-only: no code modifications, no branch changes, no git operations that alter state
  • No hardcoded timezone: always detect from date +%Z
  • No hardcoded branch: always detect dynamically via git symbolic-ref or git remote show
  • No individual performance judgments: author breakdown is for recognition, not evaluation
  • Path scope respected: all git commands must include -- $PATH_SCOPE when a scope is provided
  • Snapshot storage: .engineering-retros/ only, never .context/retros/

© Mathews-Tom, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/engineering-retro of Mathews-Tom/armory.

  • SKILL.md
  • evals/cases.yaml

Open the folder on GitHubat commit 4594fb7

Compare with similar skills

Engineering Retro next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Engineering Retro compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Engineering Retro this skillMathews-Tom/armory328—~2.3kAutomated safety check: PassMIT
Weekly Engineering Retrogarrytan/gstack136k—~2.4kAutomated safety check: PassMIT
Gitea Workflowjwynia/agent-skills166—~3.8kAutomated safety check: PassMIT
Dough Story Wrap Upterryyin/lizard2.5k—~4.3kAutomated safety check: PassCustom licence
Retrokoolamusic/claudefiles130—~2.8kAutomated safety check: PassMIT
ObituaryFactory-AI/cursed-plugins106—~1.2kAutomated safety check: NotesApache-2.0

Similar skills

  • Builds a weekly engineering retrospective from git history: commit counts, per-person contributions, work patterns and code quality numbers over a chosen window.

    136k GitHub stars~2.4k tokensUpdated today
    Product & Project ManagementAuto-check passed
  • Gitea Workflow

    jwynia/agent-skills

    Orchestrate agile development workflows for Gitea repositories using the tea CLI.

    166 GitHub stars~3.8k tokensUpdated 7 mo ago
    Product & Project ManagementAuto-check passed
  • Dough Story Wrap Up

    terryyin/lizard

    Closes one completed feature story, bounded retrospective correction, or context-only planless execution using available execution context.

    2.5k GitHub stars~4.3k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Retro

    koolamusic/claudefiles

    A skill your agent uses when a user completes a phase, sprint, milestone, or meaningful unit of work and needs a retrospective.

    130 GitHub stars~2.8k tokensUpdated 2 days ago
    Product & Project ManagementAuto-check passed
  • Obituary

    Factory-AI/cursed-plugins

    Retrospective on deprecated and end-of-life code. An agent skill from Factory-AI/cursed-plugins.

    106 GitHub stars~1.2k tokensUpdated 6 mo ago
    Product & Project ManagementAuto-check: notes
  • Collab Proof

    alirezarezvani/claude-skills

    A skill your agent uses when you want to understand what Claude contributed vs what you drove in a session.

    28k GitHub stars~3.6k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed

More from Mathews-Tom/armory

All 80 skills in this repo
  • Architecture Reviewer

    Mathews-Tom/armory

    Architecture reviews across 7 dimensions (structural, scalability, enterprise readiness, performance, security, ops, data) with scored reports.

    328 GitHub stars~4.6k tokensUpdated 2 days ago
    Auto-check passed
  • Concept To Image

    Mathews-Tom/armory

    Turn concepts into static HTML visuals exported as PNG or SVG files via HTML/CSS/SVG.

    328 GitHub stars~2.6k tokensUpdated 2 days ago
    Auto-check passed
  • Watch

    Mathews-Tom/armory

    A skill your agent uses when analyzing an existing video URL or local recording: "watch this video", "analyze youtube video", "summarize this video", "youtube transcript", "find this moment", "what…

    328 GitHub stars~2.8k tokensUpdated 2 days ago
    Auto-check passed
  • Code Refiner

    Mathews-Tom/armory

    Deep code simplification and refactoring preserving behavior across Python, Go, TypeScript, Rust.

    328 GitHub stars~3.1k tokensUpdated 2 days ago
    Auto-check passed
  • Concept To Video

    Mathews-Tom/armory

    Turn concepts into animated explainer videos using Manim (Python) with MP4/GIF output, audio overlay, multi-scene composition.

    328 GitHub stars~4.9k tokensUpdated 2 days ago
    Auto-check passed
  • Decision Map

    Mathews-Tom/armory

    Maps the unresolved architecture, policy, and scope decisions that must be answered before planning can start: one durable decision ticket per question on the issue tracker, typed and blocker-linked…

    328 GitHub stars~2.7k tokensUpdated 2 days ago
    Auto-check passed

Works with

Questions about Engineering Retro

What does Engineering Retro do?

Git-based engineering retrospective analyzing commits, PRs, and velocity over configurable windows with monorepo path scoping. Engineering Retro is an agent skill from Mathews-Tom/armory. Git-based engineering retrospective analyzing commits, PRs, and velocity over configurable windows with monorepo path scoping.

When should I use Engineering Retro?

Engineering Retro fits situations like: : retrospective; what did we ship; engineering retro; commit analysis.

How do I install Engineering Retro in Claude Code?

Run `npx skills add Mathews-Tom/armory --skill engineering-retro -a claude-code`. Or copy the skill folder (skills/engineering-retro in Mathews-Tom/armory) into .claude/skills/engineering-retro in your project. Claude Code loads it when a task matches its description.

How do I install Engineering Retro in Codex?

Run `npx skills add Mathews-Tom/armory --skill engineering-retro -a codex`. Or copy the skill folder (skills/engineering-retro in Mathews-Tom/armory) into .agents/skills/engineering-retro in your project. Codex loads it when a task matches its description.

Can I use Engineering Retro in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Mathews-Tom/armory --skill engineering-retro -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/engineering-retro, .gemini/skills/engineering-retro, .github/skills/engineering-retro and .opencode/skills/engineering-retro in your project.

What does Engineering Retro need to run?

Going by SKILL.md and its folder, Engineering Retro needs the command-line tools its instructions call (git and gh).

Does Engineering Retro access the network?

SKILL.md contains no URLs. Its commands use git and gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Engineering Retro safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Engineering Retro use?

Engineering Retro is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Engineering Retro use?

About 2.3k tokens (SKILL.md is roughly 9.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Engineering Retro?

Skills that share tags, products or a category with Engineering Retro: Weekly Engineering Retro (garrytan/gstack, 136k stars), Gitea Workflow (jwynia/agent-skills, 166 stars), Dough Story Wrap Up (terryyin/lizard, 2.5k stars) and Retro (koolamusic/claudefiles, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Engineering Retro?

Mathews-Tom (a GitHub user) maintains it in Mathews-Tom/armory, which has 328 GitHub stars. The repository holds 80 skills in this directory. The repository was last updated on October 6, 2026.

Source: Mathews-Tom/armory on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.