Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

strata:correct

/strata:correct

Poprawia, wycofuje lub uczy się z notatki w bazie wiedzy, gdy użytkownik wskaże błąd albo stwierdzi, że coś już nie obowiązuje.

Repozytorium
strata ↗
Licencja
MPL-2.0
Ostatnia zmiana repozytorium
08.06.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format15 / 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ść35 / 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
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

MPL-2.0, otwarta.

Co robi i kiedy

Poprawia, wycofuje lub uczy się z notatki w bazie wiedzy, gdy użytkownik wskaże błąd albo stwierdzi, że coś już nie obowiązuje.

Wyzwalacze z opisu

X note is wrongfix the part about Yupdate the status of <note>thatstop using <note>deprecate <note>no, X is actually Ywe don
Oryginalny opis (EN)

Edit, retire, or learn-from a vault note. Invoke autonomously when the user says "X note is wrong", "fix the part about Y", "update the status of <note>", "that's no longer true", "stop using <note>", "deprecate <note>" — OR corrects something Claude proposed ("no, X is actually Y", "that's wrong because Z", "we don't do it that way", "you got it backwards"). Finds the related note and applies the fix with conversation provenance (correction_source); if the corrected fact isn't in the vault yet, creates the right note instead. For ADR retirement prefer /strata:decide --supersedes; for deletion

Jak działa

  1. Decide the operation
  2. Edit (default)
  3. Invalidate
  4. Correcting something Claude proposed (from a conversation)
  5. What's recorded
  6. Don't do
Sekcje z nagłówków SKILL.md, w oryginale · 93 linii, 451 słów
Podgląd SKILL.md
---
name: strata:correct
description: Edit, retire, or learn-from a vault note. Invoke autonomously when the user says "X note is wrong", "fix the part about Y", "update the status of <note>", "that's no longer true", "stop using <note>", "deprecate <note>" — OR corrects something Claude proposed ("no, X is actually Y", "that's wrong because Z", "we don't do it that way", "you got it backwards"). Finds the related note and applies the fix with conversation provenance (correction_source); if the corrected fact isn't in the vault yet, creates the right note instead. For ADR retirement prefer /strata:decide --supersedes; for deletion (PHI/secrets) use /strata:forget.
---

# strata:correct

The unified correction surface. One skill, three operations distinguished
by intent and flags.

## Decide the operation

| Situation | Path |
|---|---|
| One paragraph is wrong, note overall still useful | **edit** (default) |
| User corrects something Claude proposed in conversation | **learn-from** (see below) |
| Whole note no longer current, keep history visible | **invalidate** |
| ADR replaced by new decision | use `/strata:decide --supersedes` |
| Note must disappear (PHI, secrets) | use `/strata:forget` |

## Edit (default)

### Replace body

```bash
cat <<'EOF' | "${CLAUDE_PLUGIN_ROOT}/bin/strata" correct \
    domain/order-aggregate.md \
    --reason "OrderPriced now emitted before OrderConfirmed, not after."
# Order Aggregate

<new content here>
EOF
```

### Update one field

```bash
"${CLAUDE_PLUGIN_ROOT}/bin/strata" correct \
  domain/order-aggregate.md \
  --set status=stable \
  --reason "Adopted in production after two-week rollout."
```

`--set` is repeatable. `--reason` strongly recommended, appears in the
`corrections:` audit list.

## Invalidate

The note stays readable but drops out of default search. Required `--reason`,
optional `--replaced-by`:

```bash
"${CLAUDE_PLUGIN_ROOT}/bin/strata" invalidate \
  domain/old-aggregate-pattern.md \
  --reason "Aggregate split into Order + Payment in 2026-05-24 refactor." \
  --replaced-by "domain/order-aggregate.md"
```

## Correcting something Claude proposed (from a conversation)

When the user corrects an idea Claude just gave ("no, X is actually Y",
"that's wrong because Z", "we don't do it that way", "you got it backwards"),
that's signal worth keeping. Flow:

1. **Recall the topic** — `recall(query="<topic>", layer=1)`.
2. **One match** → correct that note (above), adding
   `--set correction_source=claude-session` so the audit trail shows the
   correction came from a session, not a manual edit. **Several matches** → ask
   which one. **No match** → the vault didn't know this yet; create the right
   note instead: a chosen approach → `/strata:decide`, a vocabulary/invariant →
   `/strata:domain`, a newly-surfaced contested point → `/strata:propose
   --status contested`. Include in the body: "Claude proposed: <wrong>; actual:
   <correction>" so future readers see the genesis.
3. **Confirm in one line** with the path edited/created.

Skip when the correction is about Claude's local reasoning ("run that without
the flag") rather than durable vault knowledge; and don't fire while the user is
still arguing the point — wait until the correction is stated definitively.

## What's recorded

**Edits** append to `corrections: [{at, by, reason}]` and bump `updated:`.
**Invalidations** set `status: invalidated`, `invalidated_at`,
`invalidated_by`, `invalidation_reason`, and optional `replaced_by`.

Both refresh the FTS index.

## Don't do

- Don't invalidate when you should edit. Editing keeps the note searchable;
  invalidating drops it out of default results.
- Don't edit a status to `invalidated` directly — use the invalidate path
  so the audit fields land properly.
- Don't invalidate ADRs through here — `/strata:decide --supersedes`
  carries the reasoning forward.
- Cosmetic fixes (typo, link) can omit `--reason`. Semantic changes need it.

Wersje

W bazie nie ma innych skilli o nazwie strata:correct.

Migawka bazy z 13.11.2026 · wersja paczki 93b917f297b2 (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

  • 90strata:bootstrap
    Zasila jednorazowo bazę wiedzy Strata notatkami z dokumentów repozytorium, np. CLAUDE.md i katalogu docs, przy pierwszym wdrożeniu.
  • 90strata:dashboard
    Pokazuje stan bazy wiedzy Strata: liczbę zakresów, ostatnią aktywność, przestarzałe notatki i sugerowane działania.
  • 100using-strata
    Przy starcie sesji kieruje pracę do właściwego skilla strata i wypisuje kontekst projektu: domenę, profil i kolejny krok.
  • 100open-skill-learn
    Zapisuje to, czego uczy użytkownik, jako notatki w lokalnej wiedzy z zakresem roli, projektu lub skilla, a także je usuwa, eksportuje i aktualizuje po wydaniu.
  • 100capture
    Zapisuje pamięć w Wenlan w trakcie pracy lub jako notatkę z rozmowy, gdy użytkownik wyraża preferencję, podejmuje decyzję, poprawia agenta albo podaje trwały fakt, przez /capture.
  • 100capture
    Zapisuje pamięć w Wenlan w trakcie pracy lub jako notatkę z rozmowy, gdy użytkownik wyraża preferencję, podejmuje decyzję, poprawia agenta albo podaje trwały fakt, przez /capture.

Uwagi i zgłoszenia

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