gstack-openclaw-retro
Skill này làm gì
Skill này tóm tắt công việc kỹ thuật gần đây của một nhóm từ lịch sử commit và viết bản rà soát. Skill dành cho trưởng nhóm kỹ thuật và lập trình viên muốn nhìn lại đều đặn những gì đã phát hành và công việc diễn ra thế nào.
Khi nào nên dùng
- ✓Khi bạn hỏi tuần này nhóm kỹ thuật của bạn đã phát hành gì.
- ✓Khi bạn muốn bản rà soát kỹ thuật hằng tuần từ lịch sử commit.
- ✓Khi bạn muốn so sánh công việc tuần này với giai đoạn trước.
Liên kết skill
https://github.com/garrytan/gstack/blob/main/openclaw/skills/gstack-openclaw-retro/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Viết bản rà soát kỹ thuật của tôi cho tuần này. Tổng kết những gì đã phát hành, và cho mỗi thành viên một lời khen cùng một điểm cần phát triển.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Agent đọc lịch sử commit trong khoảng thời gian bạn chọn, xem các mẫu công việc và tín hiệu chất lượng code, rồi viết bản tổng kết kèm nhận xét theo từng người. Khoảng thời gian mặc định là bảy ngày.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
Weekly Engineering Retrospective
Generates a comprehensive engineering retrospective analyzing commit history, work patterns, and code quality metrics. Team-aware: identifies the user running the command, then analyzes every contributor with per-person praise and growth opportunities.
Arguments
- Default: last 7 days
24h: last 24 hours14d: last 14 days30d: last 30 dayscompare: compare current window vs prior same-length window
Instructions
Parse the argument to determine the time window. Default to 7 days. All times should be reported in the user's local timezone.
Midnight-aligned windows: For day units, compute an absolute start date at local midnight. For example, if today is 2026-03-18 and the window is 7 days, the start date is 2026-03-11. Use --since="2026-03-11T00:00:00" for git log queries. For hour units, use --since="N hours ago".
Step 1: Gather Raw Data
First, fetch origin and identify the current user:
git fetch origin main --quiet
git config user.name
git config user.email
The name returned by git config user.name is "you" ... the person reading this retro. All other authors are teammates.
Run ALL of these git commands (they are independent):
# All commits with timestamps, subject, hash, author, files changed
git log origin/main --since="<window>" --format="%H|%aN|%ae|%ai|%s" --shortstat
# Per-commit test vs total LOC breakdown with author
git log origin/main --since="<window>" --format="COMMIT:%H|%aN" --numstat
# Commit timestamps for session detection and hourly distribution
git log origin/main --since="<window>" --format="%at|%aN|%ai|%s" | sort -n
# Files most frequently changed (hotspot analysis)
git log origin/main --since="<window>" --format="" --name-only | grep -v '^$' | sort | uniq -c | sort -rn
# PR numbers from commit messages
git log origin/main --since="<window>" --format="%s" | grep -oE '[#!][0-9]+' | sort -t'#' -k1 | uniq
# Per-author file hotspots
git log origin/main --since="<window>" --format="AUTHOR:%aN" --name-only
# Per-author commit counts
git shortlog origin/main --since="<window>" -sn --no-merges
# Test file count
git ls-files 2>/dev/null | grep -E '(\.test\.|\.spec\.|_test\.|_spec\.)' | wc -l
# Test files changed in window
git log origin/main --since="<window>" --format="" --name-only | grep -E '\.(test|spec)\.' | sort -u | wc -l
Step 2: Compute Metrics
Calculate and present these metrics in a summary:
- Commits to main: N
- Contributors: N
- PRs merged: N
- Total insertions: N
- Total deletions: N
- Net LOC added: N
- Test LOC (insertions): N
- Test LOC ratio: N%
- Version range: vX.Y.Z → vX.Y.Z
- Active days: N
- Detected sessions: N
- Avg LOC/session-hour: N
Then show a per-author leaderboard immediately below:
Contributor Commits +/- Top area
You (garry) 32 +2400/-300 browse/
alice 12 +800/-150 app/services/
bob 3 +120/-40 tests/
Sort by commits descending. The current user always appears first, labeled "You (name)".
Step 3: Commit Time Distribution
Show hourly histogram in local time:
Hour Commits ████████████████
00: 4 ████
07: 5 █████
...
Identify:
- Peak hours
- Dead zones
- Bimodal pattern (morning/evening) vs continuous
- Late-night coding clusters (after 10pm)
Step 4: Work Session Detection
Detect sessions using 45-minute gap threshold between consecutive commits.
Classify sessions:
- Deep sessions (50+ min)
- Medium sessions (20-50 min)
- Micro sessions (<20 min, single-commit)
Calculate:
- Total active coding time
- Average session length
- LOC per hour of active time
Step 5: Commit Type Breakdown
Categorize by conventional commit prefix (feat/fix/refactor/test/chore/docs). Show as percentage bar:
feat: 20 (40%) ████████████████████
fix: 27 (54%) ███████████████████████████
refactor: 2 ( 4%) ██
Flag if fix ratio exceeds 50% ... signals a "ship fast, fix fast" pattern that may indicate review gaps.
Step 6: Hotspot Analysis
Show top 10 most-changed files. Flag:
- Files changed 5+ times (churn hotspots)
- Test files vs production files in the hotspot list
- VERSION/CHANGELOG frequency
Step 7: PR Size Distribution
Estimate PR sizes and bucket them:
- Small (<100 LOC)
- Medium (100
Câu hỏi thường gặp
Nó có thể bao quát những khoảng thời gian nào?
Mặc định là bảy ngày, và cũng có thể là 24 giờ, 14 ngày hoặc 30 ngày.
Nó có bao gồm cả nhóm không?
Có. Nó phân tích từng người đóng góp và đưa ra nhận xét riêng cho mỗi người.
Nó có so sánh các giai đoạn không?
Có. Tùy chọn so sánh đặt cửa sổ hiện tại đối chiếu với cửa sổ trước đó.
Chi tiết
Mô tả gốc của tác giả
Weekly engineering retrospective. Analyzes commit history, work patterns, and code quality metrics with persistent history and trend tracking. Team-aware with per-person contributions, praise, and growth areas. Use when asked for weekly retro, what shipped this week, or engineering retrospective.
repo: garrytan/gstack
Độ phổ biến
- Sao GitHub
- 139k
- Vị trí xếp hạng
- #715
- Giấy phép
- MIT
- Cập nhật
- 2/11/2026
Bình luận
- …
Thêm skill từ kho mã này
autoplan
139kGiúp agent của bạn rà soát một kế hoạch từ nhiều góc độ trong một lượt chạy, gồm sản phẩm, thiết kế, kỹ thuật và trải nghiệm lập trình viên.
benchmark
139kGiúp agent của bạn phát hiện suy giảm hiệu năng web bằng cách đo tốc độ trang trước và sau một thay đổi.
browse
139kGiúp agent của bạn mở một trình duyệt web thật, nhấp qua một luồng trang, chụp ảnh màn hình và kiểm tra lỗi trong console.
hackernews-frontpage
139kGiúp agent của bạn thu thập trang chủ Hacker News hiện tại, với thứ hạng, tiêu đề, liên kết, điểm và số bình luận của từng bài.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.