coding-discipline
/coding-discipline
Zawiera zasady ograniczające typowe błędy AI w kodowaniu: zrozumieć przed implementacją, pisać minimum, zmieniać tylko to, czego wymaga zadanie, i określać weryfikowalne kryteria sukcesu.
- Autor
- atc-net ↗
- Repozytorium
- atc-agentic-toolkit ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 27.10.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 27.10.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
Zawiera zasady ograniczające typowe błędy AI w kodowaniu: zrozumieć przed implementacją, pisać minimum, zmieniać tylko to, czego wymaga zadanie, i określać weryfikowalne kryteria sukcesu.
Wyzwalacze z opisu
Oryginalny opis (EN)
Behavioral guardrails that reduce common AI coding mistakes: understand before implementing, write the minimum that solves the problem, change only what the task requires, and define verifiable success criteria. Apply this skill whenever writing, reviewing, refactoring, editing, or debugging code in any language -- even when the user does not explicitly ask for "discipline" or "best practices." Bias toward caution over speed; use judgment on trivial tasks.
Jak działa
- 1. Understand Before Implementing
- 2. Write the Minimum
- 3. Change Only What's Needed
- 4. Define Success, Then Verify
Podgląd SKILL.md
---
name: coding-discipline
description: >
Behavioral guardrails that reduce common AI coding mistakes: understand before implementing, write the
minimum that solves the problem, change only what the task requires, and define verifiable success
criteria. Apply this skill whenever writing, reviewing, refactoring, editing, or debugging code in any
language -- even when the user does not explicitly ask for "discipline" or "best practices." Bias
toward caution over speed; use judgment on trivial tasks.
user-invocable: false
---
# Coding Discipline
Behavioral guardrails for working on code. They bias toward understanding, minimalism, precision, and
verification — the disciplines that separate a careful change from a sprawling one.
**Tradeoff:** these guardrails favor caution over speed. For trivial, unambiguous tasks, apply judgment
rather than ceremony.
## 1. Understand Before Implementing
**Don't assume. Don't hide confusion. Make tradeoffs visible.**
Before writing code:
- State your assumptions out loud. If a key one is uncertain, ask rather than guess.
- When a request has more than one reasonable interpretation, surface them — don't silently pick one.
- If a simpler path exists than the one requested, say so and push back when it's warranted.
- If something is genuinely unclear, stop and name exactly what's confusing instead of coding around it.
## 2. Write the Minimum
**The smallest code that solves the actual problem. Nothing speculative.**
- No functionality beyond what was asked.
- No abstractions for code that has a single caller.
- No "flexibility" or configuration that nobody requested.
- No error handling for conditions that cannot occur.
- If a solution runs long where it could be short, rewrite it shorter.
Sanity check: *would a senior engineer call this overcomplicated?* If yes, simplify before moving on.
## 3. Change Only What's Needed
**Touch what the task requires. Clean up only the mess you made.**
When editing existing code:
- Don't "improve" adjacent code, comments, or formatting that the task didn't touch.
- Don't refactor things that aren't broken.
- Match the surrounding style, even where you'd personally do it differently.
- Spot unrelated dead code? Mention it — don't delete it on your own initiative.
When your edits create orphans:
- Remove imports, variables, or functions that *your* change left unused.
- Leave pre-existing dead code alone unless asked to remove it.
The test: every changed line should trace directly back to the request.
## 4. Define Success, Then Verify
**Turn the task into something checkable. Loop until it passes.**
Restate vague tasks as verifiable goals:
- "Add validation" → write tests for the invalid inputs, then make them pass.
- "Fix the bug" → write a test that reproduces it, then make it pass.
- "Refactor X" → confirm the tests pass before and after.
For multi-step work, state a brief plan with a check per step:
```
1. [Step] -> verify: [check]
2. [Step] -> verify: [check]
3. [Step] -> verify: [check]
```
Strong success criteria let you iterate independently. Weak criteria ("make it work") force constant
back-and-forth.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · atc-net/atc-agentic-toolkit | 100 | MIT |
| imwhatiam/coding-discipline | 100 | MIT |
| jr2804/prompts | 100 | MIT |
| viktorbezdek/skillstack | 87 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 009b98169ecf (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
- 100coding-guidelines
Stosuje wytyczne zachowania ograniczające typowe błędy LLM w kodowaniu: unikanie nadmiernej komplikacji, punktowe zmiany, ujawnianie założeń i weryfikowalne kryteria sukcesu. - 100guidelines-karpathy
Zawiera wytyczne zachowania ograniczające typowe błędy LLM w kodowaniu: unikanie nadmiernej komplikacji, punktowe zmiany, jawne założenia i weryfikowalne kryteria sukcesu. - 100coding-guidelines
Stosuje wytyczne ograniczające typowe błędy LLM w kodzie: unikanie przekomplikowania, małe zmiany i jasne kryteria sukcesu. - 100behavioral-guidelines
Ogranicza typowe błędy modeli przy kodowaniu: unika komplikowania, wprowadza punktowe zmiany, ujawnia założenia i wyznacza sprawdzalne kryteria sukcesu. - 100coding-guidelines
Stosuje wytyczne zachowania ograniczające typowe błędy LLM przy pisaniu, zmienianiu i przeglądzie kodu, w tym implementacji, refaktoryzacji i poprawek błędów. - 90behavioral-guardrails
Ogranicza typowe błędy modeli przy kodowaniu: nadmierną złożoność, ukryte założenia i zbyt szerokie zmiany w kodzie.