coding-guidelines
/coding-guidelines
Odchudza komentarze w kodzie i upraszcza sygnatury funkcji, usuwając zbędne, historyczne i wielowartościowe zwroty.
- Autor
- smartcontractkit ↗
- Repozytorium
- chainlink-ccip-solana ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.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 13.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
Odchudza komentarze w kodzie i upraszcza sygnatury funkcji, usuwając zbędne, historyczne i wielowartościowe zwroty.
Oryginalny opis (EN)
Keep code comments concise and function signatures simple when writing, editing, or reviewing code. Use for a focused pass that removes redundant, verbose, or historical comments and multi-value returns from a diff.
Jak działa
SKILL.md bez nagłówków drugiego poziomu · 20 linii, 258 słów
Podgląd SKILL.md
--- name: coding-guidelines description: Keep code comments concise and function signatures simple when writing, editing, or reviewing code. Use for a focused pass that removes redundant, verbose, or historical comments and multi-value returns from a diff. --- # Comment discipline When writing or changing code: - Prefer clear names and structure to explanatory comments. Add a comment only if a reader would miss an important fact from the code and nearby types. - Explain current invariants, security boundaries, protocol requirements, or surprising behavior. State the reason directly and briefly. - Never describe the development journey: previous implementations, bugs that led to the change, review discussion, or claims about what the code "now" does. Put that context in the PR description. - Do not link Jira tickets or internal issue trackers in code comments. - Avoid comments that paraphrase the next line, justify a naming choice with counts or anecdotes, or use a paragraph for a local detail. - Preserve required license headers, public API documentation, and useful existing comments. Do not remove a comment that explains a real constraint merely to shorten the file. Before finishing, scan added and edited comments in the diff. Delete or shorten any comment that fails these rules; if the code is clear without it, delete it. # Function signatures - Do not return many values separated by commas. Beyond a value plus `error` or an `ok` bool, return a named struct so call sites read by field and never by position (avoid shapes like `a, _, _, b, ok := f()`). - Prefer pointer fields (`nil` = absent) over a companion bool, such as `add *Ref` instead of `ref Ref, add bool`. - When a function has many parameters of the same type, group them into an input struct.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · smartcontractkit/chainlink-ccip-solana | 90 | MIT |
| tech-leads-club/agent-skills | 100 | MIT |
| ajitta/karpathy-regula | 100 | MIT |
| ScotterMonk/AgentAutoFlow | 100 | CC0-1.0 |
| dennisdoomen/skills | 96 | MIT |
| k1-c/linear-tui | 95 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 2a21849532d8 (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
- 100code-comments
Pisze, przegląda i usuwa komentarze w kodzie oraz komentarze dokumentacyjne, także w diffach. - 95writing-code
Prowadzi przy pisaniu kodu produkcyjnego: logika, sygnatury i komentarze w zmienianych liniach, także przy ich porządkowaniu. - 100comment-cleanup
Czyści komentarze w plikach lub folderach: usuwa zbędne, powtarzające kod i kronikujące stare zmiany. - 100code-comment-style
Pisze i skraca komentarze w kodzie tak, by w 1-3 linijkach podawały powód lub niezmiennik. - 100code-comments
Pisze jasne, prostym językiem komentarze i dokumentację przy kodzie: nagłówki plików, dokumentację funkcji, decyzje architektoniczne i komentarze wyjaśniające, przydatne dla ludzi i asystentów AI. - 100review-guidelines
Sprawdza zmiany w kodzie pod kątem zgodności z wytycznymi z CLAUDE.md.