Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

correct

/correct

Zamienia błąd, który właściciel poprawił dwa razy, w sprawdzenie, które go odrzuca: najpierw struktura, potem hak lub lint, dalej test, a tekst na końcu.

Repozytorium
ccm-stack ↗
Licencja
MIT
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

100/ 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ść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 10.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 robi i kiedy

Zamienia błąd, który właściciel poprawił dwa razy, w sprawdzenie, które go odrzuca: najpierw struktura, potem hak lub lint, dalej test, a tekst na końcu.

Oryginalny opis (EN)

Turn a mistake the person corrected twice into a check that refuses it: structure, then hook or lint, then test, text last. Use for /ccm-stack:correct.

Jak działa

  1. Find the classes
  2. Fix each class at the highest level that works
  3. Prove each check
  4. Keep the table
Sekcje z nagłówków SKILL.md, w oryginale · 28 linii, 394 słów
Podgląd SKILL.md
---
name: correct
description: Turn a mistake the person corrected twice into a check that refuses it: structure, then hook or lint, then test, text last. Use for /ccm-stack:correct.
---

# Turn corrections into checks

Assume every contributor is an agent that saw only the files it opened, copies the nearest example, and takes the shortest path that works. A rule written in a document fails silently whenever an agent skips it. A check does not.

## Find the classes

Read recent commits and reverts, review comments, the agent instruction files (`CLAUDE.md`, `AGENTS.md`), saved memories of corrections, and comments that explain workarounds. Group mistakes into classes. A class counts when it happened twice.

## Fix each class at the highest level that works

1. **Structure: make it impossible.** One owner per piece of state, one supported way per task. Hide internals so the wrong import fails. Replace lists kept in sync by hand with one source. Delete the old way an agent would copy.
2. **A check that refuses.** A hook, a lint rule or a script whose error message names the file, function or command to use instead. If the bad pattern is already common, fail only when a change adds one more.
3. **A test of the behavior.** Fix or delete any test that stays green when the behavior breaks.
4. **Text last**, only for judgment calls nothing can check. Text still needs proof: add an eval case (the `evals` skill) that fails without the new text and passes with it.

In CCM Stack, a new hook-enforced rule is three edits: an entry in `rules.json`, a function in `lib/checks.js`, and two test cases in `test/checks.test.js` (one it refuses, one it allows). For a rule that is only yours, use your config instead: add it to `forbiddenCommands` with the message that says what to do.

## Prove each check

Break the code on purpose, or replay a real past mistake, and watch the check fail. A check that has never failed has never been tested. Then put the code back and watch it pass.

## Keep the table

Keep a table in the agent instruction file that pairs each rule with what enforces it: a hook, a lint, a test, or "text only". When the person corrects something already marked "text only", it is a repeat: raise its level in the same piece of work. Remove a rule once its mistake can no longer happen.

**Reply:** each class with its evidence, the level you chose, and why a higher level did not work.

Wersje

RepozytoriumWynikLicencja
Ta strona · ciro-maciel/ccm-stack100MIT
Calvin-LLC/skills100MIT
smarzban/agent-skills100MIT
SammyLin/skills100MIT
workerstack/repo100MIT
arjitj2/open-pstack100MIT
r3dbars/transcripted100MIT
haowjy/creative-writing-skills100Apache-2.0
workerstack/clients100MIT

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

  • 100agents-correct
    Znajduje błędy, które agenci powtarzają w repozytorium, i uniemożliwia każdy z nich kolejno przez architekturę, typy, lint, testy, a na końcu dokumentację.
  • 100setup
    Konfiguruje CCM Stack dla osoby: język, głos, menedżer pakietów, testowy adres e-mail, zakazane polecenia i rekomendacje.
  • 90mistake-to-constraint
    Zamienia powtarzający się błąd w najsilniejszą barierę: typ, test, lint lub regułę zapisaną w CONSTRAINTS.md.
  • 90taste-to-checks
    Zamienia powtarzającą się poprawkę błędu agenta w test, regułę lintera, hak lub krok CI, żeby błąd nie wracał.
  • 100heal
    Prowadzi samonaprawczą pętlę, gdy build, test, lint lub typecheck zawodzi: ponawia próby z różnymi strategiami, nie dwa razy tą samą, z ograniczoną liczbą prób.
  • 100design-it-twice
    Projektuje interfejs dwa razy: szkicuje dwa konkurencyjne rozwiązania i je porównuje, zanim wybierze się jedno.

Uwagi i zgłoszenia

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