Logo Retro

Retro

Tổ chức
Rune-kit
retro

Engineering retrospective. Analyzes commit history, work patterns, and code quality metrics with trend tracking. Per-person breakdowns, shipping streaks, and actionable improvements. Use when asked for "retro", "weekly review", "what did we ship", or "engineering retrospective".

Tổng quan

Nhà phát hànhRune-kit
Kho mãrune
Tên kỹ năngretro
Sao
88
Bản fork
26
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được Rune-kit công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Retro trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/Rune-kit/rune/tree/master/skills/retro
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Rune-kit/rune.git /tmp/rune
mkdir -p .claude/skills
cp -r /tmp/rune/skills/retro .claude/skills/retro
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Retro trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Retro ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Retro với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

retro

Purpose

Engineering retrospective engine. Analyzes git history, work patterns, and code quality signals to produce actionable retrospectives with per-person breakdowns, shipping streaks, and concrete improvement habits. Fills a gap in the Rune ecosystem — cook builds, review checks, but nothing reflects on HOW the team works.

Triggers

  • /rune retro — default 7-day retrospective
  • /rune retro 24h — daily standup review
  • /rune retro 14d — sprint retro (2 weeks)
  • /rune retro 30d — monthly review
  • /rune retro compare — current vs previous period side-by-side
  • /rune retro --business — cross-domain executive retrospective with HTML report (Business tier)
  • Called by audit (L2) for engineering health dimension
  • Auto-suggest: end of work week (Friday sessions)

Calls (outbound)

  • scout (L2): scan codebase for test file counts, project structure
  • plan (L2): when retro identifies systemic bottlenecks — hand findings to plan for next sprint (e.g., "fix ratio >50% → allocate debugging time in next phase")
  • journal (L3): retro findings → ADR entries for recurring team patterns
  • neural-memory (L3): recall past retro insights for trend comparison; save this retro's key insights for future sessions

Called By (inbound)

  • audit (L2): engineering velocity and health dimension
  • cook (L1): optional — after completing a multi-phase feature, suggest retro
  • rescue (L1): post-rescue retrospective
  • launch (L1): post-launch retrospective
  • User: /rune retro direct invocation

Data Flow

Feeds Into →

  • plan (L2): retro insights inform future sprint planning (e.g., "fix ratio too high → allocate debugging time")
  • journal (L3): retro findings → ADR entries for team patterns
  • neural-memory (external): retro insights → persistent cross-session memory

Fed By ←

  • git history: commits, authors, timestamps, file changes
  • .rune/retros/ history: previous retro JSON for trend comparison
  • neural-memory (external): past retro insights for pattern recognition

Feedback Loops ↻

  • retro ↔ plan: retro identifies bottlenecks → plan adjusts estimation and phase sizing → next retro measures improvement

Execution

Step 1 — Gather Raw Data

Run these git commands to collect metrics for the specified time window:

bash
# Core metrics (run in parallel)
git log --since="<window-start>" --format="%H|%an|%ae|%aI|%s" --shortstat
git log --since="<window-start>" --format="%H" --numstat
git log --since="<window-start>" --format="%aI" # timestamps for session detection
git log --since="<window-start>" --format="%an" | sort | uniq -c | sort -rn  # per-author
git shortlog --since="<window-start>" -sn  # author leaderboard

Time window alignment: For day/week units, align to midnight: --since="YYYY-MM-DDT00:00:00". This prevents partial-day skew.

Identify "You": git config user.name = current user. All others are teammates.

Also gather:

  • Test file count: find . -name "*.test.*" -o -name "*.spec.*" -o -name "*_test.*" | wc -l
  • .rune/retros/ for prior retro history (if exists)
  • TODOS.md for backlog health

Step 2 — Compute Summary Metrics

MetricHow to compute
CommitsCount from git log
ContributorsUnique authors
LOC added/removedSum from numstat
Test LOC ratiotest files LOC / total LOC changed
Active daysUnique dates with commits
SessionsDetected via 45-min gap threshold (Step 4)
LOC/session-hourTotal LOC / total session hours
Fix ratiofix: commits / total commits

Step 3 — Hourly Activity Histogram

Build an ASCII bar chart showing commit distribution by hour (local timezone):

Hour  Commits
 06   ██ 3
 07   ████ 7
 08   ██████ 12
 ...

Identify: peak hours, dead zones, bimodal patterns (morning + evening coder).

Step 4 — Session Detection

Group commits into sessions using a 45-minute gap threshold:

  • Commits within 45 min of each other = same session
  • Gap > 45 min = new session

Classify sessions:

  • Deep (50+ min): focused work blocks
  • Medium (20-50 min): moderate focus
  • Micro (<20 min): quick fixes, drive-bys

Step 5 — Commit Type Breakdown

Parse conventional commit prefixes and show percentage bar:

feat ████████████████ 45%
fix  ████████         22%
ref  ████             11%
test ████             11%
docs ██                5%
chore██                6%

Flag: if fix ratio > 50% → "High fix ratio suggests reactive mode. Consider investing in test coverage."

Step 6 — Hotspot Analysis

Top 10 most-changed files in the window:

FileChangesTest Coverage
src/auth/login.ts8✅
src/api/users.ts6❌

Flag: files with 5+ changes = churn hotspot — candidate for refactoring. Flag: hotspot files without test coverage = risk.

Step 7 — Focus Score & Ship of the Week

  • Focus Score = % of commits in top-changed directory. High focus (>60%) = deep work. Low focus (<30%) = context switching.
  • Ship of the Week = highest-LOC commit/PR with feat: prefix. Celebrate it.

Step 8 — Per-Person Breakdown

For each contributor:

Current user (deepest treatment):

  • Commits, LOC, areas of focus
  • Commit type mix (builder vs fixer vs maintainer)
  • Session patterns (deep vs micro ratio)
  • Test discipline (% of feat commits with corresponding test commits)
  • Biggest ship

Teammates (2-3 sentences each):

  • Summary of work areas and volume
  • Specific praise — anchored in actual commits (e.g., "Your auth refactor in 3 commits was surgically clean")
  • One growth opportunity — constructive, based on patterns (e.g., "8 of 12 commits were fixes — consider adding tests alongside features")

Step 9 — Trend Tracking (if prior retros exist)

Read most recent .rune/retros/*.json. Compute deltas:

MetricPreviousCurrentDelta
Commits4552+15% ↑
Test ratio0.180.24+33% ↑
Fix ratio0.550.38-31% ↓ (improving)
Deep sessions812+50% ↑

Step 10 — Shipping Streak

Query full history for consecutive days with at least 1 commit:

  • Team streak: any contributor committed
  • Personal streak: current user committed

Step 11 — Save Retro History

Write JSON snapshot to .rune/retros/{YYYY-MM-DD}.json:

json
{
  "date": "2026-03-20",
  "window": "7d",
  "metrics": {
    "commits": 52, "contributors": 3, "loc_added": 1850,
    "loc_removed": 620, "test_ratio": 0.24, "fix_ratio": 0.38,
    "active_days": 5, "sessions": 14, "deep_sessions": 8
  },
  "authors": ["user1", "user2"],
  "streak": { "team": 12, "personal": 5 },
  "summary": "Shipped auth overhaul + 3 bug fixes. Test ratio improving."
}

Step 12 — Write Narrative Report

Structure (~800-1500 words — concise, not a novel):

  1. Tweetable summary (1 sentence, <280 chars)
  2. Summary table (Step 2 metrics)
  3. Time & session patterns (Steps 3-4)
  4. Shipping velocity (Step 5 commit types)
  5. Code quality signals (Step 6 hotspots, test ratio)
  6. Focus & highlights (Step 7)
  7. Your week (current user deep dive from Step 8)
  8. Team breakdown (Step 8 teammates)
  9. Top 3 wins (specific, anchored in commits)
  10. 3 things to improve (specific, actionable)
  11. 3 habits for next week (concrete daily practices)
  12. Trends (Step 9, if available)

Tone: Encouraging but candid. Specific and concrete. Anchored in actual commits, not vague impressions. Every critique paired with a specific suggestion.

Milestone Progressive Analysis

At specific project milestones, retro automatically generates a deeper analysis with a different focal point per milestone. This goes beyond the standard weekly retro — it's a reflective checkpoint on the project's evolution.

Milestone Detection

Count total retro snapshots in .rune/retros/ (each represents ~1 retro session). Trigger milestone analysis when count reaches:

MilestoneRetro CountFocal PointDepth
First Month4Foundations — Are conventions solid? Is the architecture scaling? Are early decisions holding?Standard + foundation review
Quarter12Patterns — What recurring themes emerged? Which areas churn most? Is technical debt growing or shrinking?Standard + theme extraction
Half Year24Growth — How has the codebase evolved? Are the original architectural bets paying off? What would you do differently?Standard + architecture review
One Year50Maturity — Full project health assessment. Velocity trends over time. Team growth patterns. Knowledge distribution.Standard + full evolution timeline

Milestone Execution

When a milestone is detected (retro count matches a threshold for the first time):

  1. Announce: "🏁 Milestone: [name] ([count] retros). Generating deep analysis..."
  2. Load history: Read ALL .rune/retros/*.json snapshots (not just the most recent)
  3. Compute evolution metrics: Plot key metrics over time (commits/week, test ratio, fix ratio, session depth)
  4. Focal analysis: Generate the milestone-specific analysis based on the focal point column above
  5. Trend narrative: Write a 300-500 word narrative on how the project has evolved, anchored in actual data
  6. Save: Write milestone report to .rune/retros/{YYYY-MM-DD}-milestone-{name}.md

Milestone Report Structure

markdown
## Milestone: [name] — [date]

### Evolution Timeline
[ASCII chart or table showing key metrics across all retro snapshots]

### [Focal Point] Analysis
[300-500 words anchored in data — specific commits, files, metrics]

### What's Working
- [pattern that's improving, with evidence]

### What Needs Attention
- [pattern that's degrading, with evidence]

### Recommendations
- [1-3 concrete actions based on the focal analysis]

Rules

  • Milestone analysis is additive — it runs ON TOP of the standard retro, not instead of it
  • Each milestone triggers ONCE — check if .rune/retros/*-milestone-{name}.md already exists before generating
  • If retro history is sparse (gaps >30 days), note this in the report — trends may be unreliable
  • Milestone analysis does NOT count toward the retro's normal output — it's a separate artifact

Compare Mode

When invoked as /rune retro compare:

  1. Compute current period metrics (same as above)
  2. Compute previous same-length period (e.g., if current = 7d, previous = 7d before that)
  3. Side-by-side delta table
  4. Highlight biggest improvements and regressions
  5. Save only current-period snapshot

Self-Validation

SELF-VALIDATION (run before emitting report):
- [ ] All metrics computed from actual git data — no assumptions or estimates
- [ ] Per-person praise is anchored in specific commits (not generic "great work")
- [ ] Improvement suggestions are actionable (not "write more tests" but "add tests for the 3 hotspot files without coverage")
- [ ] Retro JSON saved to .rune/retros/ for trend tracking
- [ ] No code was modified — retro is read-only

Business Mode (--business)

When invoked as /rune retro --business, generate a cross-domain executive retrospective with HTML output. Requires Business tier (.rune/org/org.md should exist).

Business Data Sources

Pull from all installed domain packs:

  • Engineering: git history (commits, velocity, test ratio, fix ratio, hotspots)
  • Revenue (@rune-pro/sales): pipeline metrics, deal velocity, churn risk
  • Support (@rune-pro/support): ticket volume, SLA compliance, CSAT
  • Finance (@rune-pro/finance): burn rate, runway, budget variance
  • Compliance (@rune-pro/legal): framework status, audit dates, open items

Business Execution Steps

  1. Gather: Run standard retro Steps 1-10 for engineering data
  2. Org Context: Read .rune/org/org.md for team structure and governance level
  3. Cross-Domain KPIs: Aggregate metrics from domain signal history (.rune/signals/)
  4. Team Health: Score each team from org config on velocity, quality, morale
  5. Compliance: Check compliance frameworks from org security policies
  6. HTML Render: Load report-templates/retro-business.html from Business pack and populate all {{placeholder}} fields with computed data
  7. Save: Write HTML to .rune/retros/{YYYY-MM-DD}-business.html
  8. Also save JSON snapshot (same as standard retro) for trend tracking

Business Output

.rune/retros/2026-03-30-business.html  — Self-contained HTML report
.rune/retros/2026-03-30.json           — Machine-readable metrics

The HTML report includes: KPI cards with trend deltas, domain performance bars (engineering, revenue, support, finance), team health table, compliance status, key insights (wins + risks), and is printable to PDF via Ctrl+P.

Graceful Degradation

  • If no Business pack installed: skip business mode, fall back to standard retro
  • If domain data unavailable: show "No data" for that domain, don't fail
  • If .rune/org/org.md missing: use generic team structure, WARN in report

Constraints

  1. MUST NOT modify any code — retro is read-only analysis
  2. MUST anchor all observations in specific commits — no vague impressions
  3. MUST include per-person breakdown for teams with 2+ contributors
  4. MUST save JSON snapshot for trend tracking across retros
  5. MUST flag churn hotspots (5+ changes to same file)
  6. MUST flag high fix ratio (>50%) as reactive mode signal
  7. MUST include actionable habits — "test the hotspots" not "write more tests"

Sharp Edges

Failure ModeSeverityMitigation
Generic praise not anchored in commitsHIGHEvery praise MUST reference a specific commit or PR — "great auth refactor in 3 commits" not "good job this week"
Vague improvement suggestionsHIGH"Add tests for src/api/users.ts (6 changes, 0 tests)" not "consider writing more tests"
Counting merge commits as real workMEDIUMUse --no-merges flag to exclude merge commits from metrics
Timezone skew in hourly histogramMEDIUMConvert all timestamps to local timezone before bucketing
Retro on empty window (no commits)LOWDetect early and report: "No commits in the last {window}. Nothing to retro."
Discouraging tone for struggling weeksHIGHEven bad weeks have wins. Find the smallest positive signal and lead with it

Output Format

## Engineering Retro: [date range]

> [tweetable summary]

### Summary
| Metric | Value |
|--------|-------|
| Commits | N |
| ...     | ... |

### [remaining sections per Step 12]

### Top 3 Wins
1. [specific win anchored in commit]
2. [specific win]
3. [specific win]

### 3 Things to Improve
1. [specific, actionable]
2. [specific, actionable]
3. [specific, actionable]

### 3 Habits for Next Week
1. [concrete daily practice]
2. [concrete daily practice]
3. [concrete daily practice]

Done When

  • All git metrics gathered for specified time window
  • Summary metrics computed (commits, LOC, test ratio, fix ratio, sessions)
  • Per-person breakdown with specific praise and growth areas
  • Top 3 wins and 3 improvements identified (commit-anchored)
  • Retro JSON saved to .rune/retros/ for trend tracking
  • Narrative report emitted
  • No code was modified

Returns

ArtifactFormatLocation
Retrospective narrative reportMarkdown (~800-1500 words)inline
Retro JSON snapshotJSON.rune/retros/{YYYY-MM-DD}.json
Per-person breakdownMarkdown sectionsinline
Action items + habitsOrdered listsinline

Cost Profile

~3000-5000 tokens input (git history parsing), ~2000-4000 tokens output (narrative). Sonnet for analysis quality. Runs infrequently (weekly/sprint cadence).

Scope guardrail: retro is read-only — it analyzes and reports. It does NOT modify code, create PRs, or change any files except its own output artifacts in .rune/retros/.

Câu hỏi thường gặp

Kỹ năng AI Retro làm được gì?

Engineering retrospective. Analyzes commit history, work patterns, and code quality metrics with trend tracking. Per-person breakdowns, shipping streaks, and actionable improvements. Use when asked for "retro", "weekly review", "what did we ship", or "engineering retrospective".

Vì sao nên dùng Retro trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Retro là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Retro trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/Rune-kit/rune/tree/master/skills/retro. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Retro?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Retro với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Retro với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Retro có miễn phí không?

Có. Kỹ năng này được Rune-kit phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇