mattpocock/skills

retro

从真实编程会话记录寻找能改善下一次Agent工作的环境问题,例如导航不清、检查没接入、规则堆积或工具调用浪费。重点是改进工作环境,而不是泛泛总结代码写得怎么样。

  • SKILL.md 已保存
  • 中文用法已整理
  • 安装与运行未实测
先判断是否解决你的问题

retro 是什么?

从真实编程会话记录寻找能改善下一次Agent工作的环境问题,例如导航不清、检查没接入、规则堆积或工具调用浪费。重点是改进工作环境,而不是泛泛总结代码写得怎么样。

中文说明由本站依据来源整理;英文原文保留在页面下方。

按客户端选择安装入口

怎么接入你的 Agent?

  1. 定位完整 Skill 目录

    打开本项目来源,核对 SKILL.md 及其引用的脚本和资料。

  2. 交给你正在用的 Agent

    在下面选择客户端,展开并复制安装指令,让 Agent 读取来源后选择安装方式。

  3. 确认识别,再做具体任务

    让 Agent 回报安装目录和识别到的名称 retro,然后按本页使用示例提供材料。

展开并复制给 Codex 的安装指令
发送给 Codex

安装并检查 retro

请在 Codex 的当前工作环境中安装并检查 retro 这个 Skill。

项目身份:mattpocock/skills / retro
来源:https://github.com/mattpocock/skills/blob/5863806dd4e15c63174bee4e7515a4256792ecfa/skills/engineering/retro/SKILL.md
已定位的源文件:skills/engineering/retro/SKILL.md

1. 先阅读真实 SKILL.md 和它引用的必要文件,确认触发条件、安装方式、依赖与权限;尊重源文件要求的审批步骤。
2. 按当前客户端支持的方式安装完整 Skill 目录,保留已有配置,不只复制一段提示词。涉及缺失凭证、目标目录或权限时先列出缺项并向我确认。
3. 安装后回读实际目录、Skill 名称和识别结果,说明哪些步骤已完成,哪些只是文档检查,不得把安装成功当作任务已经实测。
4. 如来源提供了可安全验证的示例,在我提供所需输入后做一个最小任务;创建、修改、删除、部署或发送内容前,按源文件和我的授权执行。
准备输入,再按步骤执行

装好以后,具体怎么用?

准备哪些材料

  • 指定要复盘的会话及可读原始记录;不指定时来源默认当前会话。还需仓库现有lint/check脚本、CI与协作规则,以及writing-for-agents写作参考。

会得到什么

  • 按证据排序的环境改进建议,包括适合自动检查、标准文档或导航指针的处置。

实际使用顺序

  1. 读取指定会话的一手记录,找出Agent实际在哪里走弯路或犯错。
  2. 核对已有检查是否只是没接线或静默失效,再决定新增检查;机械规则优先确定性自动检查,判断性规则才写编码标准。
  3. 评估导航指针、上下文体积、无效规则和信息访问,按严重程度提出具体候选,不把重复已有工具当作改进。
使用示例

从一个具体任务开始

本站根据源文件编写的使用示例,未在本站实际运行。示例中的文件由你提供。

安装并识别 Skill 后发送

复制一个具体任务

教学示例:用retro复盘刚才改Skills页面的会话,重点看为什么改了生成HTML后被覆盖。读会话记录和构建脚本,核对是否已有源文件约定与检查;给有证据的改进建议,先不改全局AGENTS或个人记忆。
预期结果

预期得到与真实失误对应的环境改进候选,而不是套用统一复盘清单;本例未运行。

使用前先看这些限制

使用条件与边界

  • 会话摘要只能提供线索,原文不完整时不能把所有推测都说成实际失误。
  • 该Skill末尾是呈现建议,不自动获得修改全局规则或个人记忆的授权。
需要核对时再展开原文

来源原文与资料状态

源文件
已保存 SKILL.md,抓取于 2026-11-16T12:36:35.145Z
中文使用说明
已针对下方源文件版本整理用途、用法和常见问题
安装与任务测试
本站未执行安装或任务测试
来源复核
本页中文用法已对照保存版本的完整 SKILL.md 阅读整理
展开 SKILL.md 原文、章节与历史收录资料

skills/engineering/retro/SKILL.md · 抓取时间 2026-11-16T12:36:35.145Z

以下保留源文件的 description、章节及摘录,供核对中文说明;完整文件通过上方链接打开。

抓取成功不代表已完成安装或任务测试。

来源 description(原文)

Conduct a retrospective on a coding session.

查看源文件章节 / Source sections
  • 原文:Steps
  • 参考 / Reference
  • 原文:Implementation vs Review
  • 原文:Files
原文:正文开头

The user has asked for a **retrospective**. You are suggesting improvements to the coding agent's **environment** to improve future runs.

原文:Steps

1. Call the Skill tool with `writing-for-agents` for the writing style guide. 2. Read the primary sources for the session the user specifies. This may mean searching through session logs on this machine. If the user doesn't specify a session, default to the current one. 3. Look for candidates for improvement in these categories. - **Navigation**: how easy was it for the agent to find the right files? Are there hidden dependencies between files? Would a **navigation pointer** make it easier? _Use when_ the session took a long time to find a piece of information. - **Automated checks**: are there automated checks that could catch errors the agent made? Linting, typing, tests, filesystem linters? Read the repo's own check command first (its `package.json`/build-tool `lint`/`check` scripts, its CI workflow), so a check that already exists but sits unwired or silently broken is the finding, not a reinvention. A repo with no **guardrail** (no pre-commit hook and no CI job running its lint/typecheck/test command) is itself a finding: an un-linted repo is a standing missed opportunity, not a neutral default. _Use when_ the agent made a mistake an automated check could have caught, or the repo has no guardrail at all. - **Coding standards**: should the **reviewer agent** be given a new rule to enforce? Should an existing rule be removed or clarified? Classify the violation first: a **mechanical** one (a fixed syntactic pattern, a banned API, an import shape, a file-location rule) gets a deterministic check, full stop: a custom rule in the repo's own linter, a new pre-commit hook, or a new CI job, whichever the repo's language and existing guardrail make cheapest. Default to building the check over writing the rule. Reserve `CODING_STANDARDS.md` for genuine **judgement calls** (cross-file consistency, "matches the surrounding style," anything no guardrail could ever substitute for). _Use when_ the reviewer agent failed to catch a mistake. - **Global AGENTS.md**: are there any steering instructions that should be moved to coding standards (or automated checks) instead? _Use when_ the AGENTS.md file is particularly large - in the repo OR the user's global scope. - **Tool

本段为节选,完整内容见源文件。

原文:Implementation vs Review

Remember that all work goes through two stages: implementation and review. The implementation agent has the most **context pressure**. They are responsible for exploration, writing code, and debugging failures. The review agent has the least context pressure - it receives a diff, so no exploration needed. It often does not need to write code or debug. This means that the review agent should be responsible for imposing coding standards, not the implementation agent.

原文:Files

You have access to several files in the repo: - `CLAUDE.md`/`AGENTS.md`: these files are pushed to the context window of any agent working in this repo. They should be used incredibly sparingly, usually only for **navigation pointers** to other files. - `CODING_STANDARDS.md`: this file is read during review, not implementation. Add **navigation pointers** to docs folders if the standards file gets more than 1,000 lines long. - Docs: use docs as references files, pointed to by other files. Look for existing docs before writing new ones. - Skills: use skills for docs (since their description goes into the agent's context window), or for user-invoked commands. Follow the advice in the `writing-for-agents` skill.

文件 SHA256:33fbc28568e3146f20fd908b12998bc0ab30aa4f4c87288199a40793efa94696

仓库许可证记录:MIT;repository-license-recorded-scope-unverified,查看来源。

SKILL.md原文description · 2026-11-16T12:36:35.145Z

Conduct a retrospective on a coding session.

查看历史简介来源

历史收录数据

来源仓库mattpocock/skills
Skill源路径skills/engineering/retro/SKILL.md

安装前请让使用的Agent先读取这个SKILL.md及其所在目录,确认依赖和所需权限。此页不生成未经来源验证的安装命令。

返回 Skills 目录,按任务继续筛选 · MCP与Skills教程与资源