Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

coding-standards

/coding-standards

Pisze, aktualizuje i sprawdza plik CODING_STANDARDS.md i zamienia błędy z sesji lub przeglądu w reguły kodowania.

Repozytorium
skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
11.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
3
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.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

Pisze, aktualizuje i sprawdza plik CODING_STANDARDS.md i zamienia błędy z sesji lub przeglądu w reguły kodowania.

Oryginalny opis (EN)

Use when writing, updating, or auditing CODING_STANDARDS.md, or when a mistake from a session or review should become a coding rule.

Jak działa

  1. Read what exists
  2. Collect the evidence
  3. Sort each candidate
  4. Write each rule
  5. Prune the file
  6. Check the standards
  7. Return the result
Sekcje z nagłówków SKILL.md, w oryginale · 81 linii, 638 słów
Podgląd SKILL.md
---
name: coding-standards
description: Use when writing, updating, or auditing CODING_STANDARDS.md, or when a mistake from a session or review should become a coding rule.
metadata:
  reference:
    - "https://github.com/mattpocock/skills/blob/main/skills/engineering/retro/SKILL.md"
    - "https://github.com/mattpocock/skills/blob/main/docs/engineering/retro.md"
---

# Keep the coding standards

`CODING_STANDARDS.md` holds the coding rules that belong to one repository and that no automated check can enforce. Each rule exists because a real mistake showed the need for it.

## Read what exists

Read the root `CODING_STANDARDS.md`, `AGENTS.md`, and `GLOSSARY.md` when they exist, and every file the standards point to. Then read how the repository checks its code: its check scripts, its hooks, and its CI workflows.

Finish when you can list every existing rule and every check the repository runs.

## Collect the evidence

For each candidate rule, name the mistake that shows the need for it, such as a session the user pointed to, a review comment that keeps coming back, or a mistake that got merged. Link or quote the mistake.

Drop a candidate that has no evidence. Drop general best practices, because the global instructions in [adelrodriguez/instructions](https://github.com/adelrodriguez/instructions) already cover them. A global rule belongs in the file only as an exception that the repository makes to it.

Finish when every remaining candidate has its evidence linked or quoted.

## Sort each candidate

For each candidate, ask whether a check the repository already runs could catch the mistake automatically. If it could, add the check there instead of writing a rule, using the tools the repository already has. If catching it needs a tool the repository does not have, propose the tool to the user instead of adding it.

Write a rule only for a judgement call that no check can make, such as consistency across files, choosing between two valid shapes, or matching the surrounding style.

Finish when every candidate is marked as a check or a rule, and every check is added or proposed.

## Write each rule

Create `CODING_STANDARDS.md` at the repository root if it does not exist. Keep only a one-line pointer to it in `AGENTS.md`, and move any coding rule you find in `AGENTS.md` into the standards.

Group rules under a heading for each domain, and give each rule this format:

````markdown
## <Domain>

### <Rule name>

<One sentence that states the rule.> <One sentence with the reason.>

Spot it: <what a violation looks like in a diff>.

```<language>
// Avoid
<code from the repository that breaks the rule>

// Prefer
<the same code following the rule>
```
````

Take both examples from the repository's own code. Keep a rule's heading once it exists, because findings and comments cite rules by heading. Write the rules with the `writing-for-agents` skill.

Finish when every new rule has a heading, a statement, a reason, a "Spot it" line, and examples from the repository, and `AGENTS.md` points to the file.

## Prune the file

Prune on every change, and on its own when the user asks for an audit. Delete a rule when any of these is true:

- A check now enforces it.
- The code it guarded no longer exists.
- It keeps flagging code that is correct.
- It repeats `AGENTS.md`, the global instructions, or another rule.

Once the file passes about 1,000 lines, move whole domain sections into `docs/` and leave a one-line pointer in their place.

Finish when you have checked every rule against the four conditions.

## Check the standards

- Every new rule has evidence and is a judgement call that no check could enforce.
- No rule repeats `AGENTS.md`, the global instructions, or another rule.
- Every heading that existed before still exists, unless you deleted its rule.
- `AGENTS.md` has one line that points to the file and no coding rules.
- Every example comes from the repository's code.
- Use the `unslop` skill on the prose.

## Return the result

List each rule you added, changed, or deleted, with its evidence or the reason for the deletion. List each check you added or proposed, and each change to `AGENTS.md`.

Wersje

RepozytoriumWynikLicencja
Ta strona · adelrodriguez/skills100MIT
zereight/gitlab-mcp100MIT
shinpr/ai-coding-project-boilerplate100MIT
dotnet/winforms100MIT
nokri-mohammed/claude-team100MIT
MARUCIE/openclaw-foundry100MIT
kid-sid/codex-spellbook100MIT
shinpr/ai-coding-project-boilerplate96MIT
affaan-m/ECC95MIT

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

  • 90cpp-coding-standards
    Podpowiada standardy kodowania C++ według wytycznych Core, przy pisaniu, przeglądzie i refaktoryzacji kodu.
  • 100coding-standard
    Tworzy i aktualizuje standardy kodowania, konwencje, reguły i wytyczne bieżącego projektu, także przez przekształcanie istniejących dokumentów w standardy.
  • 100writing-code
    Stosuje standardy kodowania Gather V2 przy pisaniu, refaktoryzacji i przeglądzie kodu, sprawdzając zgodność ze standardami.
  • 95cpp-coding-standards
    Stosuje standardy kodowania C++ oparte na C++ Core Guidelines przy pisaniu, przeglądzie i refaktoryzacji kodu w nowoczesnym, bezpiecznym i idiomatycznym stylu.
  • 95cpp-coding-standards
    Pisze, przegląda i refaktoryzuje kod C++ zgodnie z wytycznymi C++ Core Guidelines, z naciskiem na bezpieczeństwo i idiomy.
  • 96java-coding-standards
    Podaje standardy kodowania w Javie dla usług Spring Boot: nazewnictwo, niezmienność, użycie Optional, strumienie, wyjątki, generyki i układ projektu.

Uwagi i zgłoszenia

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