engineering-retro

Featured

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".

Code & Development 313 stars 46 forks Updated 4 days ago MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
83
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# 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|...

Details

Author
Mathews-Tom
Repository
Mathews-Tom/armory
Created
5 months ago
Last Updated
4 days ago
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category