Skip to content
Back to skills

Retro It

ASecurity

Turn mistakes from a work item or session into fixes to the environment (checks, lint rules, standards, skill issues) so they are caught next time.

  • 3 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 14, 2026
ai-agentsgo

Security analysis

A100/100

Scanned November 14, 2026

npx -y skills add rshingleton/do-it --skill retro-it --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Retro It?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Retro It
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rshingleton-retro-it/badge)](https://www.skillsdirectory.com/skills/rshingleton-retro-it)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: retro-it
description: Turn mistakes from a work item or session into fixes to the environment (checks, lint rules, standards, skill issues) so they are caught next time.
disable-model-invocation: true
argument-hint: "[work id | audit report path | session]"
---

# retro-it

Fix the environment, not the code. A mistake that happened once and will
happen again belongs in a check, a standard or a skill, not in a reminder.

## 1. Gather

Read whichever apply, newest first:

- **Audit reports:** `docs/planning/<id>/audit-report.md` or the plan's
  `## Audit` section; take the **Guardrail candidates** and every Must
  finding. A work item already shipped: its changelog entry and ADR
  execution notes.
- **Sweep reports:** `docs/reference-audit/*.md`.
- **The session:** failed checks, hook blocks, review findings, corrections
  the user made, steps that took several tries.

## 2. Classify each mistake

| Kind | Signal | Fix |
|------|--------|-----|
| Mechanical | A pattern a regex or linter could decide (a banned call, an import shape, a file location) | A `.compliance-rules/checks.json` rule (see the `guard-it` skill's format) or a rule in the repo's own lint config, whichever the repo already runs |
| Judgement | Needs reading the code around it (naming, layering, matching the surrounding style) | One line in the repo's standards doc (`CODING_STANDARDS.md`, `STANDARDS.md`, or the file `setup-it` named), which `prove-it` reviews against |
| Process | A do-it step misled the agent, asked needlessly, or missed a case | An issue against the do-it skills, filed with `log-it` |
| Navigation | The agent could not find something it needed | A pointer in `AGENTS.md` or a `docs/reference/` page (offer `/map-it <area>`) |

Prefer the mechanical fix whenever one exists. A mistake that needs no
change (a one-off, already covered) is dropped with one line of why.

Before proposing a check, look for one that already exists but is unwired
(a lint rule disabled, a script CI never runs): wiring it is the fix.

## 3. Propose

One numbered list, most costly mistake first. Each item:

- **What happened:** the mistake, with its file and line or command.
- **Fix:** the exact rule, line or issue text.
- **Would have caught:** the concrete case, shown failing against the rule.
- **Cost:** false positives it may raise, if any.

End the turn. Write only the items the user picks.

## 4. Apply

- Checks: write and prove the rule as [guard-it](../guard-it/SKILL.md)'s "Add
  a mechanical rule" says (format, fires on the case, does not flood), or
  add it to the repo's own lint config and run the linter the same two ways.
- Standards: append the line in the doc's existing format.
- Issues: call the Skill tool with "log-it" (`source: retro-it`).

> Retro on <scope>: <N> fixes applied (<checks>, <standards>, <issues>).
> Skipped / Not checked / Risk.
> **Next:** <commit them with the work, or on their own>.

## Rules

- Edits only environment files (`.compliance-rules/`, lint config,
  standards docs, `AGENTS.md`); never product code.
- `AGENTS.md` gets pointers, not rules: rules go where they are enforced.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.