Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

Conventional Commits

/Conventional Commits

Podaje wzorce Conventional Commits, czyli spójne i czytelne maszynowo komunikaty commitów.

Repozytorium
spec2ship ↗
Licencja
MIT
Ostatnia zmiana repozytorium
12.07.2026

Ocena i bezpieczeństwo

90/ 100Klasa: dobry
Format15 / 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 12.07.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

Podaje wzorce Conventional Commits, czyli spójne i czytelne maszynowo komunikaty commitów.

Wyzwalacze z opisu

write commit messagecreate conventional commitformat git commitfollow commit conventionsstructure commit message
Oryginalny opis (EN)

This skill should be used when the user asks to 'write commit message', 'create conventional commit', 'format git commit', 'follow commit conventions', 'structure commit message'. Provides Conventional Commits patterns for consistent, machine-readable commit messages.

Jak działa

  1. Purpose
  2. When to Use This Skill
  3. Core Concepts
  4. Format
  5. Types Quick Reference
  6. Scope Conventions
  7. Breaking Changes
  8. Commit Message Examples
  9. Footer Conventions
  10. Integration with S2S
Sekcje z nagłówków SKILL.md, w oryginale · 152 linii, 573 słów
Podgląd SKILL.md
---
name: Conventional Commits
description: "This skill should be used when the user asks to 'write commit message', 'create conventional commit',
  'format git commit', 'follow commit conventions', 'structure commit message'.
  Provides Conventional Commits patterns for consistent, machine-readable commit messages."
version: 0.1.0
---

# Conventional Commits

## Purpose

Conventional Commits is a specification for adding human and machine readable meaning to commit messages. This skill provides patterns for consistent, informative commit messages.

## When to Use This Skill

- Writing commit messages for changes
- Formatting commits for changelog generation
- Indicating breaking changes
- Referencing issues in commits
- Following team commit conventions

## Core Concepts

- **Type**: Category of change (feat, fix, docs, etc.)
- **Scope**: Optional area affected (auth, api, ui)
- **Breaking Change**: Indicated by `!` or `BREAKING CHANGE` footer
- **Machine Readable**: Enables automated changelog and versioning

## Format

```
<type>[optional scope]: <description>

[optional body]

[optional footer(s)]
```

## Types Quick Reference

| Type | When to Use | Example |
|------|-------------|---------|
| `feat` | New feature | `feat: add user login` |
| `fix` | Bug fix | `fix: resolve login timeout` |
| `docs` | Documentation only | `docs: update API readme` |
| `style` | Formatting, no code change | `style: fix indentation` |
| `refactor` | Code change, no feature/fix | `refactor: extract auth service` |
| `perf` | Performance improvement | `perf: cache user queries` |
| `test` | Adding/fixing tests | `test: add login unit tests` |
| `build` | Build system changes | `build: update webpack config` |
| `ci` | CI configuration | `ci: add deploy workflow` |
| `chore` | Other changes | `chore: update dependencies` |
| `revert` | Revert previous commit | `revert: undo login changes` |

## Scope Conventions

Scope indicates the area of change:

```
feat(auth): add password reset
fix(api): handle null response
docs(readme): update installation steps
refactor(core): simplify validation logic
```

Common scopes:
- `auth`, `api`, `ui`, `db`, `core`
- Component/module names
- Feature names

## Breaking Changes

Indicate breaking changes with `!` or footer:

```
feat!: remove deprecated API endpoints

BREAKING CHANGE: The /v1/users endpoint has been removed.
Use /v2/users instead.
```

Or with footer:
```
feat(api): update response format

BREAKING CHANGE: Response now uses camelCase keys.
```

## Commit Message Examples

### Simple Feature
```
feat: add email notification on signup
```

### Feature with Scope
```
feat(auth): implement OAuth2 login with Google

- Add OAuth2 flow for Google provider
- Store refresh tokens securely
- Update user model for external providers
```

### Bug Fix with Issue Reference
```
fix(api): prevent duplicate user creation

Race condition allowed duplicate signups with same email.
Added database constraint and application-level check.

Fixes #123
```

### Breaking Change
```
feat(api)!: change authentication to JWT

Previous session-based auth replaced with stateless JWT.
All clients must update to include Bearer token.

BREAKING CHANGE: Session cookies no longer work.
Clients must use Authorization header with JWT.

Migration guide: .s2s/guides/jwt-auth.md
```

### Documentation
```
docs: add architecture decision records

- Create ADR template in .s2s/decisions
- Document database selection (ADR-001)
- Document API versioning (ADR-002)
```

## Footer Conventions

| Footer | Purpose | Example |
|--------|---------|---------|
| `Fixes #N` | Close issue | `Fixes #123` |
| `Refs #N` | Reference issue | `Refs #456` |
| `BREAKING CHANGE` | Breaking change | See above |
| `Co-authored-by` | Credit co-author | `Co-authored-by: Name <email>` |
| `Reviewed-by` | Credit reviewer | `Reviewed-by: Name <email>` |

## Integration with S2S

In Spec2Ship projects:
- Git config in `.s2s/config.yaml`:
  ```yaml
  git:
    commit_convention: "conventional"
  ```
- Branch naming: `feature/F{NN}-{slug}`
- Reference plan IDs in commits when relevant
- Use scope matching component/feature name

Wersje

W bazie nie ma innych skilli o nazwie Conventional Commits.

Migawka bazy z 28.10.2026 · wersja paczki 6ab0a21f3d37 (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

  • 100commit-message
    Generuje komunikaty commitów w formacie conventional commits i pomaga przy tworzeniu commitów git.
  • 100commit-helper
    Pomaga pisać komunikaty commitów zgodne ze specyfikacją Conventional Commits i formatować je, gdy zapisujesz zmiany w git.
  • 84generate-commit-message
    Pisze dobrze zbudowane komunikaty commitów Git zgodne z konwencją conventional commits na podstawie zmian.
  • 100commit-message
    Generuje opisowe komunikaty commitów na podstawie analizy diffów git, w formacie conventional commits.
  • 100conventional-commits
    Prowadzi przez pisanie komunikatów commitów w stylu Conventional Commits oraz przegląd historii commitów.
  • 95git-commits
    Pisze jasne komunikaty commitów i tytuły pull requestów według Conventional Commits, poprawiając historię zmian.

Uwagi i zgłoszenia

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