Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

conventional-commits

/conventional-commits

Prowadzi przez pisanie komunikatów commitów w stylu Conventional Commits oraz przegląd historii commitów.

Repozytorium
contracts ↗
Licencja
BSD-3-Clause
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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

BSD-3-Clause, otwarta.

Co robi i kiedy

Prowadzi przez pisanie komunikatów commitów w stylu Conventional Commits oraz przegląd historii commitów.

Oryginalny opis (EN)

Guide for writing conventional commit messages. Use when committing changes, writing commit messages, or reviewing commit history.

Jak działa

  1. Commit Message Format
  2. Subject Line Rules
  3. Verb Selection
  4. Type
  5. Scope
  6. Examples
  7. Granularity
  8. What to Avoid
  9. Breaking Changes
  10. Commit Linting
Sekcje z nagłówków SKILL.md, w oryginale · 121 linii, 530 słów
Podgląd SKILL.md
---
name: conventional-commits
description: Guide for writing conventional commit messages. Use when committing changes, writing commit messages, or reviewing commit history.
license: BSD-3-Clause
metadata:
  author: axone.xyz
  version: "1.0"
---

# Conventional Commits

## Commit Message Format

```text
<type>(<scope>): <verb> <subject>
```

One line only. No body. No footer (except for breaking changes).

## Subject Line Rules

- **Imperative mood, present tense**
- **Short, dense, unambiguous**
- **Describes the intent**, not the implementation
- **One line only**
- No capitalization at start
- No period at end

## Verb Selection

> ⚠️ **Avoid weak verbs**: `add`, `remove`, `change`, `update`, `modify`

Use **precise, action-oriented verbs**:

| Verb | Use When |
| - | - |
| `enforce` | Adding constraints or rules |
| `introduce` | Bringing in new concepts/APIs |
| `implement` | Building out functionality |
| `prevent` | Blocking undesired behavior |
| `fix` | Correcting bugs |
| `refactor` | Restructuring without behavior change |
| `clarify` | Improving readability/naming |
| `align` | Making consistent with standards |
| `tighten` | Strengthening validation/constraints |
| `harden` | Security or robustness improvements |
| `validate` | Input/state verification |
| `handle` | Managing edge cases |
| `support` | Enabling new use cases |
| `ensure` | Guaranteeing invariants |
| `document` | Documentation work |

## Type

| Type | Description | Triggers |
| - | - | - |
| `feat` | New feature | Minor version bump |
| `fix` | Bug fix | Patch version bump |
| `docs` | Documentation only | No release |
| `style` | Formatting, whitespace | No release |
| `refactor` | Code restructuring | No release |
| `perf` | Performance improvement | Patch version bump |
| `test` | Adding/updating tests | No release |
| `build` | Build system, dependencies | No release |
| `ci` | CI/CD configuration | No release |
| `chore` | Maintenance tasks | No release |

## Scope

- **Mandatory when it adds clarity**
- Short, meaningful, domain or component oriented
- Use contract names **without `axone-` prefix**: `gov`, `logic`
- Other examples: `workflow`, `dependabot`, `README`, `make`, `deps`
- **If unsure, omit it**

## Examples

See [examples](./references/examples.md) for comprehensive good and bad examples.

Quick reference:

```text
feat(gov): introduce quadratic voting mechanism
fix(handlers): prevent overflow in vote counting
refactor(state): clarify storage key naming
test(gov): validate error paths for unauthorized access
build(deps): enforce abstract-sdk 0.26.1
```

## Granularity

Rule: **One commit = one intention**

| Instead of... | Prefer... |
| - | - |
| One big mixed commit | Multiple focused commits |
| `feat: implement X and fix Y` | Two separate commits |
| Tests bundled with feature | Separate `test:` commit |
| Build changes with feature | Separate `build:` commit |

## What to Avoid

- ❌ Generic messages hiding what changed
- ❌ Explanations or rationale in the message
- ❌ Marketing language or inflated wording
- ❌ Multiple intentions in one commit
- ❌ Vague subjects like "improve", "update", "fix issue"

## Breaking Changes

Use `!` after type/scope:

```text
feat(msg)!: restructure ExecuteMsg variants
refactor(api)!: enforce stricter validation schema
```

## Commit Linting

Commits are validated using [commitlint](https://commitlint.js.org/). Ensuring lint passes is **mandatory**.

Validate locally:

```bash
npm i -g @commitlint/cli @commitlint/config-conventional
echo "feat(gov): introduce voting mechanism" | commitlint --extends @commitlint/config-conventional
```

Pliki w paczce (2)
  • SKILL.md 4 KB
  • references/examples.md 2 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · axone-protocol/contracts100BSD-3-Clause
skyf0xx/hedgehog100MIT
adobe/spectrum-web-components100Apache-2.0
DaRacci/nix-config100MIT
pantheon-org/tekhne100MIT
dgalarza/claude-code-workflows100MIT
hankunpeng/skills100MIT
tuliosousapro/SaaS-blueprint100MIT
vanara-agents/skills100Apache-2.0

Migawka bazy z 28.10.2026 · wersja paczki 9c1c8701d360 (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100conventional-commit
    Tworzy komunikaty commitów w formacie Conventional Commits przy zatwierdzaniu zmian w kodzie i porządkowaniu historii gita.
  • 100commit-message
    Generuje komunikaty commitów w formacie conventional commits i pomaga przy tworzeniu commitów git.
  • 100commit
    Tworzy komunikaty commitów według konwencji Sentry: conventional commits z odwołaniami do zgłoszeń Sentry.
  • 90Conventional Commits
    Podaje wzorce Conventional Commits, czyli spójne i czytelne maszynowo komunikaty commitów.
  • 100git-commit-format
    Stosuje reguły formatowania conventional commit przy generowaniu komunikatów i tworzeniu commitów.
  • 100generating-conventional-commits
    Generuje komunikaty commitów zgodne ze specyfikacją conventional commits na podstawie analizy zmian 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.