Przejdź do treści
Biblioteka skilli
AI i agenci · Przegląd i audyt

brain-retro

/brain-retro

Zapisuje, co poszło źle przy skilu na prawdziwej pracy, i proponuje jedną zmianę, która to naprawi.

Repozytorium
brain-template ↗
Licencja
MIT
Ostatnia zmiana repozytorium
03.11.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
2
Skrypty
0
Komentarze HTML
2
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 03.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • SKILL.md zawiera komentarze HTML (2). Nie widać ich w podglądzie Markdown, a model je czyta.

Co robi i kiedy

Zapisuje, co poszło źle przy skilu na prawdziwej pracy, i proponuje jedną zmianę, która to naprawi.

Oryginalny opis (EN)

Record what went wrong when a skill failed on real work, or when work fit no skill, or which skills go unused, and propose the one change that fixes it: an edit to the brain's own skill, a missing gate rule, a missing router rule, or an upstream suggestion. Use when a skill just went wrong on real work, when output was written without its skill running, when the same kind of input went to different skills, when a router fell through to its default, or to review which skills are used. Does NOT write or edit the skill itself, which is brain-write-skill, and does NOT edit template-owned files, wh

Jak działa

  1. Where this sits
  2. When it fires
  3. Sequence
  4. The fix table
  5. Unclassified work
  6. Rules
  7. Done when
Sekcje z nagłówków SKILL.md, w oryginale · 109 linii, 1 132 słów
Podgląd SKILL.md
---
name: brain-retro
description: "Record what went wrong when a skill failed on real work, or when work fit no skill, or which skills go unused, and propose the one change that fixes it: an edit to the brain's own skill, a missing gate rule, a missing router rule, or an upstream suggestion. Use when a skill just went wrong on real work, when output was written without its skill running, when the same kind of input went to different skills, when a router fell through to its default, or to review which skills are used. Does NOT write or edit the skill itself, which is brain-write-skill, and does NOT edit template-owned files, which is brain-upstream."
---

# brain-retro

A failure on real work is the cheapest moment to improve the brain, because the cause is still in
view. This skill writes the failure down and proposes the one change that would have prevented it.
It never makes that change itself: the skill that owns the file does, so the change is placed in the
routing map, linted and gated like any other.

## Where this sits

<!-- where:begin — generated by _meta/brain routing sync; do not edit -->
**Runs after:** `brain-setup`

**Hand to next:** `brain-upstream` · `brain-write-mod` · `brain-write-skill`

**Reserved output:** writing `docs/RETRO-LOG.md` needs this skill to have run.

**Reserved output:** writing `docs/UNCLASSIFIED-LOG.md` needs this skill to have run.
<!-- where:end -->

**Call it directly when:** a skill just went wrong, output was written without its skill, the same
kind of input was routed differently, or a router returned its default; nothing needs to run first.

## When it fires

- A skill went wrong on real work: wrong output, a skipped step, the person had to correct it.
- Output was written while the skill that owns it never ran, or a skill was read and imitated
  instead of invoked. `_meta/brain gate status` shows which skills ran this session.
- The same kind of input went to different skills on different occasions.
- A router fell through to its `default` (which is this skill unless the brain says otherwise), or
  work came in that no skill fits.
- A periodic look at what the brain is used for: `_meta/brain usage` lists each skill's runs and the
  skills that never ran. A skill unused for months is a candidate to merge or remove, and the
  busiest are where an improvement pays most; propose one change for the person, as below.

Run it right after the failure, on what actually happened. A retro about a hypothetical has no
evidence to test the fix against.

## Sequence

1. **Say what happened** in two lines: the skill (or none), the input, what it did, what it should
   have done. Take it from the output and the conversation. When the cause is not clear, ask the
   person rather than guess: a wrong cause produces a fix to the wrong thing.
2. **Pick the fix** from the table below. One failure gets one change, the smallest that would have
   prevented it. Needing two changes for one failure means the cause is not pinned yet.
3. **Write one row**: a failure goes in `docs/RETRO-LOG.md`, work no skill fit goes in
   `docs/UNCLASSIFIED-LOG.md`. Read `references/logs.md` for both row formats. Write the row before
   proposing anything, so the failure is on record even when the fix is declined.
4. **Propose the change** in one or two lines: which file, what changes, and why it would have caught
   this case. Hand it on only on the person's yes.
5. **Hand it on** to the skill the table names and let it do the work. Do not make the edit here:
   that skill places, checks and gates the change, and for a skill file the gate refuses it anyway.
6. **Close the row** if the change lands in this session: Status `fixed <YYYY-MM-DD>`, or
   `upstream <id>` once `brain-upstream` has written its entry; a declined fix gets
   `declined: <reason>`. Otherwise it stays `open`, which is honest.

## The fix table

| What happened | The one change | Made by |
| --- | --- | --- |
| The brain's own skill (its prefix is in `brain.json`) went wrong | One concrete edit to that skill: the missing step, rule or reason | `brain-write-skill`, on a yes |
| A `brain-*` skill went wrong, or the fault is in `_meta/` | An upstream suggestion; in the template's own checkout (`role` `template`, `local/` present), a direct edit | `brain-upstream`; in the template, `brain-write-skill` for a skill |
| Output written while its skill never ran, or a skill imitated rather than invoked | A gate rule on that output's path in `brain.json` `gates` | `brain-write-skill` |
| The same kind of input went to different skills | A rule and a `cases` entry in that router's `rules.json`, or a router where the entry point has none | `brain-write-skill` |
| A router fell to `default` although an existing skill fits | A router rule for that skill (a `RETRO-LOG.md` row) | `brain-write-skill` |
| No skill fits the work, including a router `default` with nothing that fits | An `UNCLASSIFIED-LOG.md` row saying what a skill would need | this skill |
| The same kind of unclassified row appears a second time | A new skill, suggested to the person | `brain-write-skill` |

**Why a gate and not a reminder:** a skill imitated from memory skips its `references/` silently,
and "always call the skill" is exactly the instruction that gets talked past. A gate rule does not
depend on the judgement that failed.

**Why a rule and not a better reading:** routing by reading is what sent the same input to different
skills. A router decides by rule (`_meta/brain route <router>/rules.json --set <field>=<value>`), so
the fix is the rule, plus a case that pins this input to its skill so a later edit cannot undo it.
Never re-route by judgement instead.

When the cause was a wrong stored fact rather than the skill, the fix is that practice, through
`brain-write-practice`; the skill was right to trust it.

## Unclassified work

Before writing an `UNCLASSIFIED-LOG.md` row, read the log for the same kind of work and fill
`Seen before` with the earlier row's date, or `no`. At the second occurrence, suggest
`brain-write-skill` for a skill that covers both rows: two real cases say what the skill needs, one is
a guess. Recording the row does not do the work; say so, and carry on as the person chooses.

## Rules

- Log, propose, hand on. Never edit a skill, `brain.json`, a `rules.json` or a template-owned file
  from here.
- `RETRO-LOG.md` is history: never rewrite an old row except its Status. `rename-skill` leaves it
  alone for the same reason.
- A row holds no secret, no `.env` value and nothing `.brain-private` lists; the pre-commit guard
  refuses those anyway.
- Commit through `brain-sync`.

## Done when

- One row for this failure is in `docs/RETRO-LOG.md` or `docs/UNCLASSIFIED-LOG.md`, in the format of
  `references/logs.md`.
- The row names one change, or reads `open` because the cause is not pinned yet.
- The person said yes or no to the change, and on a yes it went to the skill the table names.
- The row's Status matches what happened: `open`, `fixed <date>`, `upstream <id>` or
  `declined: <reason>`.
- An unclassified row says whether it was seen before; a second occurrence produced a suggestion
  for `brain-write-skill`.
- The log change is handed to `brain-sync` to commit.
Pliki w paczce (2)
  • SKILL.md 7 KB
  • references/logs.md 3 KB

Wersje

W bazie nie ma innych skilli o nazwie brain-retro.

Migawka bazy z 13.11.2026 · wersja paczki 621c261d0a89 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100brain-upstream
    Zapisuje propozycję zmiany pliku zarządzanego przez szablon jako sugestię w docs/UPSTREAM.md, bez prywatnych szczegółów, i przywraca lokalne zmiany.
  • 100brain-write-skill
    Tworzy lub zmienia własne skille bazy brain, tak by pasowały do konwencji: nazwa, opis tego, czego nie robi, reguły i bramka wyjścia.
  • 95solo-retro
    Ocenia jakość przebiegu potoku po jego zakończeniu: analizuje logi, wskazuje, co poszło źle, i podsumowuje wnioski.
  • 90agents-reflect
    Po sesji przegląda, co poszło dobrze i źle, i zamienia każdą lekcję w konkretną zmianę w skillu albo w linii AGENTS.md.
  • 100retro
    Przegląda bieżącą sesję i zamienia powtarzane błędy w kilka drobnych poprawek do CLAUDE.md, pamięci lub skilli po zatwierdzeniu.
  • 95learn-from-session
    Analizuje sesje Claude Code, wskazuje, co poszło dobrze lub źle, i proponuje poprawki w skillach z wysoką pewnością.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.