Przejdź do treści
Biblioteka skilli
Programowanie · Automatyzacja

qstack-encode-lessons-in-structure

/qstack-encode-lessons-in-structure

Zamienia powtarzającą się poprawkę lub instrukcję w najsilniejszą praktyczną barierę strukturalną: typ, schemat, lint, sprawdzenie lub skrypt, gdy ten sam błąd wraca.

Repozytorium
qstack ↗
Licencja
MIT
Ostatnia zmiana repozytorium
18.10.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
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 18.10.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 powtarzającą się poprawkę lub instrukcję w najsilniejszą praktyczną barierę strukturalną: typ, schemat, lint, sprawdzenie lub skrypt, gdy ten sam błąd wraca.

Oryginalny opis (EN)

Turn a recurring correction or repeated instruction into the strongest practical structural guardrail. Use when the same mistake returns, prose is being repeated, or a rule could become a type, schema, lint, check, or script.

Jak działa

  1. Route the lesson
Sekcje z nagłówków SKILL.md, w oryginale · 34 linii, 250 słów
Podgląd SKILL.md
---
name: qstack-encode-lessons-in-structure
description: >
  Turn a recurring correction or repeated instruction into the strongest
  practical structural guardrail. Use when the same mistake returns, prose is
  being repeated, or a rule could become a type, schema, lint, check, or script.
license: MIT
---

# Encode lessons in structure

Text asks every future reader to notice, remember, and comply. A structural
mechanism applies the lesson without relying on memory.

## Route the lesson

1. Identify the concrete correction and evidence that it recurs. Keep a true
   one-off as local context instead of turning it into a universal rule.
2. Choose the strongest practical mechanism:
   - a state or type that cannot represent the invalid case;
   - a schema, lint, banned API, or CI check that fails before merge;
   - one canonical helper or generator that removes duplicate choices;
   - a runtime boundary check with a clear failure;
   - a written instruction only when human judgment is irreducible.
3. Implement the mechanism only when the user's request authorizes that edit.
   Otherwise propose the exact target and expected failure behavior.
4. Remove prose or duplicate paths that the new mechanism supersedes. Keep one
   source of truth, but only after proving the mechanism covers the old rule.
5. Exercise the known failure and show that the mechanism catches it.

Route recurring fixes to a local skill or tool and systemic rules to the
smallest shared layer that can enforce them. Recording a lesson without a
mechanism that enforces it does not stop the next occurrence. Do not invent
recurrence; cite the correction or failure that shows the pattern. Analysis
alone does not authorize edits, commits, pushes, publishing, deployment, or
external messages.

Adapted from Lauren Tan's PStack
[`principle-encode-lessons-in-structure`](https://github.com/cursor/plugins/blob/60c641e4fad674784b30abcf9f8915dea39df38d/pstack/skills/principle-encode-lessons-in-structure/SKILL.md)
at commit `60c641e4fad674784b30abcf9f8915dea39df38d` under the MIT License.
See [third-party notices](../../THIRD_PARTY_NOTICES.md).
Pliki w paczce (2)
  • SKILL.md 2 KB
  • agents/openai.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie qstack-encode-lessons-in-structure.

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

  • 96principle-encode-lessons-in-structure
    Zamienia powtarzającą się poprawkę w regułę zapisaną w narzędziu: linter, metadane, sprawdzenie działania lub skrypt.
  • 96principle-encode-lessons-in-structure
    Zamienia powtarzającą się instrukcję lub korektę w trwały mechanizm: lint, flagę metadanych, kontrolę w czasie działania albo skrypt.
  • 96principle-encode-lessons-in-structure
    Zamienia powtarzającą się uwagę na regułę w kodzie: lint, flagę, sprawdzenie w czasie działania albo skrypt zamiast tekstu.
  • 90mistake-to-constraint
    Zamienia powtarzający się błąd w najsilniejszą barierę: typ, test, lint lub regułę zapisaną w CONSTRAINTS.md.
  • 100principle-encode-lessons-in-structure
    Zamienia powtarzającą się poprawkę w sprawdzenie, które pęka przy naruszeniu, np. regułę lintera, typ, asercję lub skrypt, zamiast w kolejną notatkę.
  • 96principle-encode-lessons-in-structure
    Zamienia powtarzającą się instrukcję w regułę: linter, flagę metadanych, sprawdzenie w czasie działania albo skrypt zamiast kolejnego akapitu.

Uwagi i zgłoszenia

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