lesson
/lesson
Zamienia poprawkę lub powtarzający się błąd w zabezpieczenie: regułę, skrypt, test albo wpis w zasadach, jako ostatnią opcję.
- Autor
- iantsai86 ↗
- Repozytorium
- ian ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 09.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 09.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Zamienia poprawkę lub powtarzający się błąd w zabezpieczenie: regułę, skrypt, test albo wpis w zasadach, jako ostatnią opcję.
Oryginalny opis (EN)
Turn a correction or a repeated mistake into something that prevents it - a guard rule, a script or lint check, a test, or, last, text in a playbook or principle. Use when the user corrects the agent, when a mistake happens twice, or after a task that went wrong.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 15 linii, 232 słów
Podgląd SKILL.md
---
name: lesson
description: Turn a correction or a repeated mistake into something that prevents it - a guard rule, a script or lint check, a test, or, last, text in a playbook or principle. Use when the user corrects the agent, when a mistake happens twice, or after a task that went wrong.
---
# Lesson
1. **Name the mistake class** in one sentence, with its evidence: the moment in the conversation, the commit, or the review comment. A one-off slip is not a class. Two occurrences, or one that did real damage, is.
2. **Pick the highest level that would have stopped it**, and say why each higher level doesn't work.
1. Guard: a command pattern the hook asks about (`${CLAUDE_PLUGIN_ROOT}/hooks/guard.py`).
2. Check: a script or lint rule that fails on the mistake (`${CLAUDE_PLUGIN_ROOT}/scripts/`, or the repo's own linter config).
3. Test: a test that fails when the behavior regresses.
4. Text: a playbook step or a principle. Use text only for judgment calls nothing can check.
3. **Decide where it lives.** It goes in ian when it holds for any repo. It goes in the repo (its agent instructions, lint config, or tests) when it is specific to that repo. Repo-specific facts never go into ian.
4. **Implement it, then prove it.** Run the new check against the bad version and paste the failure (P2 or higher).
5. **If you changed ian:** work in a checkout of the ian repo, not the installed copy. Update the matching principle's "Enforced by" line, run `python3 scripts/check_skills.py` and `python3 -m pytest -q` there, and bump `version` in `.claude-plugin/plugin.json`.
**Report:** the mistake class and its evidence, the chosen level and why each higher level fails, and the proof.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · iantsai86/ian | 86 | MIT |
| rohitg00/agentmemory | 100 | Apache-2.0 |
| ramonk2o/storymaker | 100 | MIT |
| foxrun-ai/foxrun | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 2d237ac9faaa (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
- 90learn
Zamienia poprawkę albo powtórny błąd w strukturę, która go zapobiega, i sprawdza, czy ją wychwytuje. - 90learning
Zamienia powtarzający się błąd w najmniejszą trwałą poprawkę, np. linię w CLAUDE.md, regułę lub hook, i proponuje usunięcie przestarzałych reguł. - 100learning-to-rule-or-skill
Zamienia powtarzający się wniosek, błąd lub udany wzorzec w nową regułę albo skill, także po zakończeniu zadania, by zapisać wnioski z pracy. - 90mistake-to-constraint
Zamienia powtarzający się błąd w najsilniejszą barierę: typ, test, lint lub regułę zapisaną w CONSTRAINTS.md. - 90correction-to-skill
Zamienia poprawkę użytkownika w datowaną regułę w pliku skilla lub instrukcji, w tej samej sesji, i mówi, gdzie ją zapisał. - 100skill-maintenance
Zamienia poprawkę błędu agenta w regułę we właściwym skillu, przez ten sam przegląd co kod, i okresowo porządkuje skille.