Przejdź do treści
Biblioteka skilli
AI i agenci · Nauka i wyjaśnianie

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.

Licencja
MIT
Ostatnia zmiana repozytorium
27.10.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 27.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

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

disciplinebest practices.
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. 1. Understand Before Implementing
  2. 2. Write the Minimum
  3. 3. Change Only What's Needed
  4. 4. Define Success, Then Verify
Sekcje z nagłówków SKILL.md, w oryginale · 71 linii, 421 słów
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

RepozytoriumWynikLicencja
Ta strona · atc-net/atc-agentic-toolkit100MIT
imwhatiam/coding-discipline100MIT
jr2804/prompts100MIT
viktorbezdek/skillstack87MIT

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.

Uwagi i zgłoszenia

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