跳到正文
cccskills
免费在 GitHub 公开

retrospective

Reflect on pairing sessions from the AI perspective using the FAR framework (Friction, Ambiguity, Repetition), present observations conversationally, and anchor generalizable improvements as GitHub issues or comments.

中文简介正在准备中。当前显示原文说明。

PAIR-code/deliberate-lab星标 97(GitHub 97 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

包含的文件(1)

  • SKILL.md6.1 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Retrospective

A skill for AI coding agents to reflect on recent pairing sessions, capture operational learnings from the agent's perspective, and anchor generalizable improvements into concrete GitHub issues or comments—without in-flight scope creep.


When to use

Invoke this skill when:

  • Completing a Pull Request or major feature milestone before final sign-off.
  • Wrapping up an exploratory or pairing session.
  • The developer asks for reflection: "run a retro", "what friction did you hit?", "post-action review", "reflect on this session".

Core Principles

1. The AI Perspective: The FAR Lens

Analyze the pairing trajectory through three dimensions:

DimensionWhat the AI ExperiencesExamples in Deliberate Lab
FrictionTooling & environment failuresNon-zero exit codes, missing build artifacts (utils/dist), buffer truncations, misaligned Node versions.
AmbiguityContext & governance gapsUnderspecified worktree policies, unclear layer boundaries, missing decision records, conflicting instructions.
RepetitionToil & token inefficiencyMulti-step bash ceremonies that waste round-trips and should be scripted or automated.

2. The Triage Gate: Transient vs. Generalizable

Before recommending action, filter each observation:

"The cure may be worse than the disease."

  • Transient / Anomalous Friction: One-off edge cases, network blips, or temporary bootstrapping phases (e.g. working within an active stacked PR chain that temporarily alters symlinks).
    • Action: Mention it conversationally, but explicitly recommend not building tooling or over-engineering rules.
  • Generalizable / Systemic Friction: Friction that will predictably recur across future agent sessions or for other contributors (e.g. multi-remote CLI ambiguity, uncodified PR review protocols, missing build artifacts).
    • Action: Escalate to formal Anchoring.

3. The Cardinal Rule: Anchoring (No In-Flight Fixes)

[!CRITICAL] Never apply workflow, tooling, or governance fixes directly onto an active feature branch during a feature task.

Ad-hoc workflow fixes during feature work bloat PR diffs, mix concerns, and discard provenance. Instead, route generalizable insights to appropriate capture methods:

  1. New GitHub Issue (Most common):
    • For concrete bugs, missing tooling scripts, or independent fast-follow tasks.
    • Classify using Deliberate Lab's 6 repository layers (Decision 0004):
      • area:workspace (bare repo, worktrees, overview, sync, decisions, eval-pr)
      • area:git (branch policies, conventional commits, remotes, PR review protocols)
      • area:build (monorepo compilation, packaging, linting, formatting)
      • area:test (unit & integration tests, emulators)
      • area:ci-deploy (GitHub Actions, Cloud Build)
      • runtime:* (runtime:participant-ux, runtime:experimenter-ux, runtime:agents, runtime:backend)
  2. Comment on Existing Issue or PR:
    • For direct UX/design feedback, nuance, or implementation notes on the current feature.
  3. Decision Record (.agents/decisions/):
    • When the session yields an architectural trade-off, governance verdict, or engineering precedent (ADR 0001).

The Anti-Bloat Canon (ADR 0002)

Never default to expanding AGENTS.md with static troubleshooting checklists. Prioritize active script detection and stdout remediation over documentation prose.

4. Capturing Negative Decision Space (Overturned Proposals)

To prevent the "Groundhog Day" trap—where future agents repeatedly suggest the same obvious-sounding but unwanted mitigations—explicitly note proposals that the developer declined:

  • What the agent recommended.
  • Why the developer overturned it (e.g. premature abstraction, operational overhead exceeds benefit, transient anomaly).

Preserving this rationale in the retro discussion or resulting issue prevents future agents from retreading rejected ideas.


Trajectory Telemetry Mining

Ground the reflection in objective signals from the session transcript:

  1. User Course-Corrections: Direct user interventions steering architecture, correcting assumptions, or advising against editing a file. These are the highest-value signals of underlying context ambiguity.
  2. Command / Tool Failures: Non-zero exits, failed bash commands, or output truncation traps.
  3. Repetitive Operations: Multi-step terminal ceremonies repeated multiple times across the session.

Conversational Delivery (No Rigid Forms)

Do not output a rigid boilerplate report or fill out empty template sections. Instead, conduct the retrospective conversationally:

  1. Brief Debrief: Share a concise, candid summary of what the session felt like from the AI perspective:
    • What went smoothly.
    • What friction, ambiguity, or repetition occurred (and which are transient vs. generalizable).
    • Any overturned proposals (negative decision space).
  2. Actionable Recommendations: For the generalizable concerns, present concrete capture recommendations such as a new GitHub issue or comment on an existing issue.
  3. User Confirmation: Ask the developer whether they agree with the triage and want to file the recommended issues/comments.

Safety Rules

  • Zero In-Flight Code Changes: A retrospective never makes unreviewed code changes to the active feature code. It only produces conversational reflection and drafts capture items.
  • Fluff-Free: Avoid mechanical boilerplate headings (e.g. writing "User Course-Corrections: None"). Only report genuine signals.
  • Respect User Intent: Human course-corrections are authoritative; treat them as primary learning inputs.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

eval-pr

免费

Set up a git worktree to run and evaluate an upstream Pull Request locally in a flat worktree bare clone repository layout.

中文简介正在准备中。当前显示原文说明。

PAIR-code/deliberate-lab972026年10月25日 更新

gh

免费

Run GitHub CLI commands and inspect GitHub Issues and Pull Requests cleanly without PTY Glamour terminal truncation or comment-stripping traps.

中文简介正在准备中。当前显示原文说明。

PAIR-code/deliberate-lab972026年10月25日 更新

Evaluate Pull Requests for participant or experimenter UX changes, determine runtime behavioral impact, audit and synthesize Deliberate Lab's 7-part manual experiment test plans, and interactively co-author verification steps.

中文简介正在准备中。当前显示原文说明。

PAIR-code/deliberate-lab972026年10月25日 更新

Inspect the local Deliberate Lab workspace environment, Node.js version, bare repository worktrees, remotes, git status, and toolchain readiness.

中文简介正在准备中。当前显示原文说明。

PAIR-code/deliberate-lab972026年10月25日 更新

Deterministic synchronization of trunk, PR evaluation worktrees, and drift reporting in Deliberate Lab's bare repository workspace.

中文简介正在准备中。当前显示原文说明。

PAIR-code/deliberate-lab972026年10月25日 更新

查看 PAIR-code 的全部技能

报告此技能的问题