agentleFS
kadaliaokadaliao/skills/debrief/SKILL.md

debrief

Skill0 starsChanged 4 months agoMITView on GitHub

Post-implementation learning loop that explains the key decisions behind completed work, then verifies the user's understanding with an interactive quiz. Trigger only when the user explicitly says /debrief, asks for a debrief, asks to be quizzed on a change, or accepts a wrap-up reminder; never auto-run otherwise. Always responds in the user's language.

30 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use brief, review and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • AnthropicSkill

    brief

    Generate contextual briefings for legal work — daily summary, topic research, or incident response. Use when starting your day and need a scan of legal-relevant items across email, calendar, and contracts, when researching a specific legal question across internal sources, or when a developing situation (data breach, litigation threat, regulatory inquiry) needs rapid context.

    Also in 3 projects that use this

  • SentrySkill

    review

    Fixture review skill.

    Also in 3 projects that use this

  • MicrosoftSkill

    handoff

    Compact the current conversation into a handoff document for another agent to pick up.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

5 rules. 0 are common, 4 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 27 edited versions we read keep these.

  • 4

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Always respond in the language the user is using.

    line 14
  2. Very specific:

    If the host supports temporary side tasks or conversations (for example, Codex's /side), recommend running the debrief there so the …

    line 18
  3. Distinctive:

    Treat this as a recommendation, not a prerequisite.

    line 19
  4. Distinctive:

    Do not restate the diff. Cover only what the diff cannot show:

    line 24
  5. Distinctive:

    All correct and no deviations: wrap up in one sentence, no elaboration.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 27 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Debrief: post-implementation learning loop

Purpose: after the AI finishes the work, the user learns how it was done. The deliverable is verified understanding, not a summary.

Always respond in the language the user is using.

Session placement

  • If the host supports temporary side tasks or conversations (for example, Codex's /side), recommend running the debrief there so the explanation and multi-turn quiz do not interrupt the main task.
  • Treat this as a recommendation, not a prerequisite. If the host lacks that capability or the user prefers the current conversation, continue here.
  • In a side conversation, use the completed task's actual context when available. If context was not carried over, inspect the relevant diff, files, and task evidence before explaining or quizzing.

1. Explain (one message, four sections, in order)

Do not restate the diff. Cover only what the diff cannot show:

  1. Why this path — the rejected alternatives and why they lost.
  2. Existing code paths this change depends on — which pre-existing code the correctness of this change rests on (give file:line). This is the biggest blind spot when reading diffs.
  3. Deviations from the plan — where the work departed from the original plan or common practice, and why.
  4. Decisions made on the user's behalf — choices the user never specified that the AI settled, listed one by one.

At most 5 lines per section; write "none" instead of padding.

2. Quiz (in-chat, one question at a time)

  • 3–5 questions, all drawn from decision points in the four sections above. No syntax or naming trivia, and no recall questions answerable verbatim from the explanation.
  • Good question shapes: "If condition X changed, where does this approach break first?" "Why not the more direct Y at point N?"
  • Ask one question at a time. If the host has an interactive question tool (e.g. Claude Code's AskUserQuestion), use it and include one plausible-but-wrong option; otherwise ask in plain text. Wait for the answer — never answer for the user, never dump all questions at once.
  • On a wrong answer: re-explain that point from a different angle, ask a variant question, and move on only after it is passed.

3. Wrap-up

  • List the knowledge points behind any wrong answers.
  • If there were wrong answers and the host has a long-term memory mechanism (a record-lesson-style skill, built-in agent memory), ask once whether to save them. Write only on an explicit yes, never automatically. Without a memory mechanism, hand the points to the user as a short list to record.
  • All correct and no deviations: wrap up in one sentence, no elaboration.

Boundaries

  • For small changes (docs-only, few-line patches), push back: "not worth a debrief."
  • The explanation and questions must come from what actually happened in this session; if context is thin, read the relevant diff/files first — never invent.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.