Skip to content
Back to skills

Harness Retro

ASecurity

Record a harness lesson (a mistake, a wasted CI round, a gate that did not fire, or a costly tool pattern) as a shared immutable record before finishing, or review open lessons into verified fixes or refutations when asked or when `pnpm lessons` says a review is due.

  • 141 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 26, 2026
development

Security analysis

A100/100

Scanned September 26, 2026

npx -y skills add wlsdks/ontology-atlas --skill harness-retro --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Harness Retro?

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

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

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: harness-retro
description: Record a harness lesson (a mistake, a wasted CI round, a gate that did not fire, or a costly tool pattern) as a shared immutable record before finishing, or review open lessons into verified fixes or refutations when asked or when `pnpm lessons` says a review is due.
---

# Harness retro

A lesson in `docs/records/lessons/` is shared by every person and agent, and it
changes the harness only after someone has verified it. Records are immutable:
every verdict is a new file. Not for product taste or a typo already fixed.

## Record

Write one lesson from what you already saw; do not investigate further.

```sh
cat > <scratch>/lesson.md <<'EOF'
**Observed**: what happened, with the command and its output, or file:line.
**Cost**: time, tokens, or CI rounds; measured, or "unknown".
**Suspected cause**: one or two sentences, or "unknown".
**Proposed change**: skill|rule|hook|script|gate|none, then the smallest durable fix.
EOF
pnpm record:new -- --kind=lesson --type=<mistake|tool-efficiency|gate-gap|process> \
  --area=<short-area> --slug=<subject> --input=<scratch>/lesson.md
```

`tool-efficiency` marks a tool pattern with a cheaper form. A recurrence of a
lesson listed by `pnpm lessons -- --area=<area>` is a new lesson citing the
earlier id. Commit the file with your work.

## Review

For each open lesson, oldest first:

1. Reproduce it once or find its recorded evidence. If the cause is something
   else, record `refuted` with the real cause.
2. Record the verdict, one `**Evidence**:` line:
   `pnpm record:new -- --kind=lesson-status --lesson=<id> --status=<verified|refuted|wontfix> --input=<file>`
3. Fix a verified lesson the smallest durable way: delete or correct the
   misleading instruction; one line in the skill or path-scoped rule loaded at
   that moment; a script fix; a hook or gate, then `/gate-probe`. Resident
   `AGENTS.md` text only when nothing narrower is loaded then.
4. After the fix is committed, record `--status=fixed` citing the commit SHA or
   pull request number.

`pnpm lessons -- --check` validates the template, verdict order, and published
records. Concurrent verdicts stay visible until a new record names both.

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.

Comments

Loading comments…

Newsletter

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