retro

其他 社区 v2.0.0
解读按原文结构重写,命令、链接、术语均保留;右侧可核对作者原始 SKILL.md

retro 不是写故事——它把 git log 当成数据源,自动生成一份「面向高级 IC / CTO」的工程周报:每个贡献者都拿到「亮点 + 成长机会」,并且明确区分「你」(跑 retro 的人)和队友。

设计思路

作者把 AI coding 时代的 retro 重新定义:commits 可能由 AI 生成,但 review、推动方向、把握节奏的责任在人。所以 retro 既要量化(commit 数、测试 vs 生产 LOC、热点文件、提交时间分布),也要叙事(指明每个人做了什么、做得好的地方、可以更好的地方)。

参数与模式

/retro(默认 7d)、/retro 24h / 14d / 30d/retro compare(与上一同长度窗口对比)、/retro global(跨项目跨工具汇总,不要求在 git repo 内)。窗口对齐到本地午夜——按天 / 周用绝对起始日期 + T00:00:00,避免 git --since 的 wall-clock 偏移。

工作流

Step 0 检测平台(github / gitlab / 未知),定 base 分支;② Step 1 并行抓 4 类原始数据:commit 元数据 + shortstat、按 commit 拆 test vs 生产 LOC、提交时间序列、最频繁修改的 hotspot 文件;③ 合并 Prior Learnings(gstack-learnings-search);④ 读可选的 ~/.gstack/retro-context.md,把会议、日历、决策这些「git 历史看不到的事」纳入叙事;⑤ 按 Health Score Rubric 评分;⑥ 渲染团队总览 + 每人专属页("🚀 Your Week: [name] — [date range]")。

适合谁

  • 0–10 人小团队的工程负责人,每周一拿一份本周事实卷
  • 个人开发者 / Solo CTO,想看自己的工作量分布与代码健康度
  • 跨项目工作者,用 global 模式把多个仓库 + 多个 AI 工具的产出合并

不适合

  • 没有 git repo 也不需要跨项目汇总——这个技能根本无数据可读
  • 只想要 PR 范围的 review 总结:用 review / requesting-code-review 更准

配套

landing-report(PR 落地后写发布说明)、learn(从 retro 沉淀进 learnings.jsonl)、office-hours(按 retro 的 growth opportunities 安排 1:1)、global-engineering-retro(跨项目模式的展开)。

流狐档案 作者与许可取自来源;运行、权限和网络为流狐检测或估算
流狐分类
通用
作者声明 Agent
未找到明确声明;不据此推断已兼容或已测试
静态检查
88 / 100 · 启发式扫描,不代表运行安全
作者 / 版本 / 许可
@garrytan · v2.0.0 · 未声明 license
流狐 Token 估算
较高消耗
流狐接入估算
需简单配置
是否需要外部 API Key
未发现要求
检测到的系统要求
Windows
底层运行要求
Bun
检测到的文件与系统行为
  • 只读
  • 允许写入 / 修改
  • Shell 执行
检测到的网络行为
允许外网请求
安装命令数
无(仅作为资料)

档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。

需要注意: 未限定 allowed-tools,默认拥有全部工具权限。

输出预览 retro.preview
# Writing Style (skip entirely if EXPLAINLEVEL: terse appears in the preamble echo OR the user's current message explicitly requests terse / no-explanations output)

- Gloss curated jargon on first use per skill invocation, even if the user pasted the term.
- Frame questions in outcome terms: what pain is avoided, what capability unlocks, what user experience changes.
- Use short sentences, concrete nouns, active voice.
- Close decisions with user impact: what the user sees, waits for, loses, or gains.
- User-turn override wins: if the current message asks for terse / no explanations / just the answer, skip this section.
- Terse mode (EXPLAIN_LEVEL: terse): no glosses, no outcome-framing layer, shorter responses.

讨论

基于 GitHub Discussions。登录 GitHub 即可参与讨论、点赞、订阅更新。