agentleFS
sanand0sanand0/skills/post-mortem/SKILL.md

post-mortem

Skill1 starsChanged 21 days agoMITView on GitHub

Run when the task reveals a costly, recurring, or likely-generalizable failure, inefficiency, or misalignment. Skip one-offs and complexity alone.

14 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use debug-mantra, management-talk 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.
  • thananonSkill

    debug-mantra

    Four-mantra debugging discipline — reproduce, trace the fail path, falsify the hypothesis, cross-reference every breadcrumb. Recite the mantra block verbatim at the start of any debugging session, then apply the four steps in order before proposing any fix. Trigger on /debug-mantra and proactively whenever debugging starts — user reports a bug, says something is broken/throwing/failing, asks to debug/diagnose/investigate an issue, or pastes a stack trace or error log.

    Also in 4 projects that use this

  • thananonSkill

    management-talk

    Rewrite engineer-to-engineer content for engineering-org leadership (VPs, directors, PMs, release managers, execs in an engineering-savvy company) and shape it for the channel it is going to — JIRA comment, Slack post, async standup line, email, or meeting talking-points. Trigger when the user asks to write/rewrite for management / exec / VP / director / PM / release manager, asks for an "executive summary / leadership update / status update", says "make this less technical / less jargony", or asks for a slack / email / standup / meeting version of work originally written engineer-to-engineer.

    Also in 4 projects that use this

  • jpsweeney97Skill

    scrutinize

    Use when the user explicitly wants a harsher-than-normal critical review of a plan, design, draft, argument, decision, or code artifact. Trigger on requests like "scrutinize this", "be brutal", "tear this apart", "assume this is wrong", "reject until proven otherwise", or "review this with maximum scrutiny". Challenge the premise first, then run two passes that search for flaws, omissions, weak assumptions, second-order effects, edge cases, and hidden dependencies. Do not use for routine code review, collaborative editing, or balanced feedback when the user did not ask for an adversarial stance.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 13 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run a blameless post-mortem on this conversation so far (post any previous post-mortems) to improve future performance.

    line 6
  2. Very specific:

    Instead, ... (what generalizable change should the USER make to the prompts, skills, tools, environment, ...

    line 20
  3. Very specific:

    Write into ~/Documents/data/agents/post-mortem-${date -u +%Y%m%dT%H%M%SZ}.md.

    line 22

“Common” is measured: kept by at least 6 in 10 of the 13 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

Run a blameless post-mortem on this conversation so far (post any previous post-mortems) to improve future performance.

List every:

  • failure (commands, network, sandbox / permissions, ...)
  • inefficiency (more steps, slow execution)
  • mis-alignment (e.g. I needed something else, you took shortcuts, compromised quality / readability / completeness)

Ignore one-offs. Pick only those that'll likely recur.

For each, document for the user (who may forget the context later), in 1 line each:

  • I ... (what you did, with context, and how)
  • This ... (what happened, with practical impact)
  • Instead, ... (what generalizable change should the USER make to the prompts, skills, tools, environment, ... to prevent similar issues)

Write into ~/Documents/data/agents/post-mortem-${date -u +%Y%m%dT%H%M%SZ}.md. This UTC timestamp format is Windows/NTFS-safe (no colons) and sorts chronologically.

Example:

---
task: Verify the WhatsApp scraper using CDP
agent: codex (or copilot or claude)
path: /home/sanand/...
session: session ID
---

- I initially relied too much on ad hoc live scripts.
  This was fast, but let to repeated custom scripts, inconsistent metrics across runs, extra time spent distinguishing true parser issues from script-quality issues.
  Instead, instruct me to create dedicated verification scripts up-front and prefer it over inline shell heredocs for future CDP validation.
- I added inline JS tests for media before I updated the shared HTML fixture.
  This conflicts with the user's explicit "HTML test set first" request and was less representative than the parser/test surface.
  Instead, create a pre-check SKILL.md that enforces a checklist before executing user actions.
 - ...

NOTE: The "Instead, ..." changes are:

  • meant for the USER to make - not for you.
  • focused on the root cause / general problem, not the specific instance.

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.