receiving-code-review
OBobra/superpowers298k2,631 new stars in the last 7 days
对一次 coding session 做 retrospective。
用户要求做一次 retrospective。你要针对 coding agent 的 environment 提出改进建议,以改善未来的运行结果。
调用 Skill 工具并指定 writing-for-agents,获取写作风格指南。
阅读用户指定 session 的 primary sources。这可能意味着在本机搜索 session logs。如果用户没有指定 session,默认使用当前 session。
在以下类别中寻找改进候选项。
package.json/build-tool 中的 lint/check scripts 以及 CI workflow),这样,如果某个检查已经存在但没有接入流程或悄悄失效,真正的发现就是这个问题,而不是重新发明一套检查。若 repo 完全没有 guardrail(没有 pre-commit hook,也没有运行 lint/typecheck/test command 的 CI job),这本身就是一项发现:未纳入 lint 的 repo 是长期存在的改进缺口,而不是理所当然的默认状态。当 agent 犯了本来可以被 automated check 捕获的错误,或 repo 完全没有 guardrail 时使用。CODING_STANDARDS.md 只用于真正的 judgement calls(跨文件一致性、"matches the surrounding style",以及任何 guardrail 都无法替代的判断)。当 reviewer agent 没有发现一个错误时使用。记住,所有工作都经过两个阶段:implementation 和 review。implementation agent 承受最大的 context pressure,负责探索、编写代码和调试失败。
review agent 承受最小的 context pressure:它收到的是 diff,因此不需要探索。它通常也不需要编写代码或调试。
因此,review agent 应负责施加 coding standards,而不是 implementation agent。
你可以访问 repo 中的几个 files:
CLAUDE.md/AGENTS.md:这些 files 会被推入在此 repo 工作的任何 agent 的 context window。应当极其节制地使用,通常只放指向其他 files 的 navigation pointers。CODING_STANDARDS.md:这个 file 在 review 时读取,而不是 implementation 时读取。如果 standards file 超过 1,000 行,应当在其中加入指向 docs folders 的 navigation pointers。writing-for-agents skill 中的建议。OBobra/superpowers298k2,631 new stars in the last 7 days
OBobra/superpowers298k2,631 new stars in the last 7 days
OBobra/superpowers298k2,631 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days
MAmattpocock/skills288k10,178 new stars in the last 7 days