用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/andrem-sec/psc-comet --skill retro命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | retro |
| description | Engineering retrospective from git history — velocity, quality, patterns, and team breakdown |
A data-driven engineering retrospective built entirely from git history. No self-reporting, no surveys: just what the code record actually shows. Think of git history as the project's heartbeat monitor: it does not lie about when work happened, how long sessions ran, or what the fix-to-feature ratio looked like.
Without a protocol, retrospectives become opinion-driven: whoever speaks first sets the narrative, recent events crowd out patterns from earlier in the period, and growth suggestions feel personal rather than evidence-based.
Retro grounds every claim in a commit hash. Praise references a specific decomposition in commit abc1234. A growth suggestion references three separate incidents from the data, not a general feeling.
/retro # Last 7 days (default)
/retro 24h # Last 24 hours
/retro 14d # Last 14 days
/retro 30d # Last 30 days
/retro compare # Current window vs prior same-length window
Windows use midnight-aligned dates in the user's local timezone.
Run these in parallel:
git log --since="<window>" --no-merges --pretty=format:"%h|%ae|%ad|%s" --date=shortgit log --since="<window>" --no-merges --numstat: LOC added/removed per filegit log --since="<window>" --no-merges --pretty=format:"%ad" --date=format:"%H": hourly distributiongit log --since="<window>" --no-merges --pretty=format:"%ae": per-author commit countsgit shortlog -sn --since="<window>" --no-merges: contributor ranking*.test.*, *_test.*, *spec*, tests/): count test LOC vs production LOCCo-Authored-By: Claude trailers: AI-assisted commit countTarget length: 2000-4000 words.
Praise must reference specific commits: "the decomposition in abc1234" not "good refactoring this week."
Growth suggestions are framed as investment, not criticism: "investing time in test coverage for the auth module would reduce the recurrence of the regression pattern visible in commits xyz and abc" not "not enough tests."
AI-assisted commits are labeled separately from solo commits throughout the output.
Save a JSON snapshot to context/retros/[YYYY-MM-DD].json with raw metrics. This is what /retro compare and trend sections read from in future runs.
Do not produce a retrospective without running the git queries first. Opinion without data is not a retro: it is a guess.
Do not include merge commits as work commits. They are PR boundaries, not effort indicators.
Do not make growth suggestions that cannot be traced to a specific data point. If you cannot cite the commit or pattern that supports it, do not say it.
Do not skip the snapshot. The retro's value compounds over time through trend comparison, and the snapshot is what enables that.