Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

commit

/commit

Analizuje zmiany w staging i pisze komunikat conventional commit.

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

Analizuje zmiany w staging i pisze komunikat conventional commit.

Argumenty

/commit [scope hint] [--no-ticket]
Oryginalny opis (EN)

Analyze staged changes and write a conventional commit message. Use when staged changes are ready to commit or a message needs wording.

Jak działa

  1. Arguments
  2. Jira Configuration
  3. Steps
  4. Output
Sekcje z nagłówków SKILL.md, w oryginale · 98 linii, 387 słów
Podgląd SKILL.md
---
name: commit
description: Analyze staged changes and write a conventional commit message. Use when staged changes are ready to commit or a message needs wording.
argument-hint: "[scope hint] [--no-ticket]"
---

Analyze my staged changes and help me write a good commit message.

## Arguments

`$ARGUMENTS`

- If provided, use as a hint for the commit message or scope
- `--no-ticket`: Skip Jira ticket extraction and linking
- Examples: `/commit auth changes`, `/commit fix typo`, `/commit --no-ticket`

## Jira Configuration

Read Jira config from the project's `CLAUDE.md` if present (look for a
`## Jira` section with `Base URL` and `Ticket Pattern`). If absent, skip
linking and use a bare ticket reference.

- **Common ticket patterns**: `[A-Z]+-\d+` (e.g. `ABC-123`, `PROJ-456`)

## Steps

1. **Check staged changes**:

   ```bash
   git diff --cached --stat
   git diff --cached
   ```

2. **Analyze the changes**:

   - What files were modified?
   - What is the nature of the change? (feature, fix, refactor, docs, test, chore)
   - What is the scope/impact?

3. **Review recent commit style**:

   ```bash
   git log --oneline -10
   ```

4. **Extract Jira ticket from branch name** (skip if `--no-ticket`):

   ```bash
   git branch --show-current
   ```

   Extract ticket ID from branch name patterns:

   - `feature/BIL-123-description` → `BIL-123`
   - `fix/BIL-456-bug-fix` → `BIL-456`
   - `BIL-789/some-feature` → `BIL-789`
   - Common patterns: `[A-Z]+-[0-9]+` (e.g., `ABC-123`, `PROJ-456`)

   **If a ticket ID is found:**

   - Include ticket reference in commit message

5. **Generate commit message** following conventional commits format:

   ```
   <type>(<scope>): <description>

   - bullet point explaining a change
   - another bullet point if needed

   Refs: BIL-123
   ```

   Types: feat, fix, docs, style, refactor, test, chore, ci, perf

   Guidelines:

   - First line: type(scope): description
   - Type should be lowercase
   - Scope is the area/module affected (e.g., auth, api, ui)
   - Description should be concise, imperative mood, no period
   - Keep first line under 72 characters
   - Blank line after the first line
   - Bullet points describe specific changes made
   - **Ticket reference**: If ticket found and not `--no-ticket`, add on separate line:
     - Format: `Refs: TICKET-ID` or `Fixes: TICKET-ID` (for bug fixes)
     - Include the full URL only if a project CLAUDE.md `Jira` section provides a base URL:
       `Refs: TICKET-ID (<base_url>/TICKET-ID)`

6. **Present options**:
   - Provide 2-3 commit message options if the changes are ambiguous
   - Ask if they want to proceed with the commit

## Output

Present the suggested commit message(s) and ask if the user wants to:

- Use one of the suggestions
- Modify a suggestion
- Provide their own message

Do NOT actually run `git commit` unless explicitly asked.

Wersje

RepozytoriumWynikLicencja
Ta strona · edjchapman/claude-code-config100MIT
rmsaitam/skill-git-conventions100MIT
opsmill/infrahub100Apache-2.0
kdlbs/kandev100AGPL-3.0
vinta/hal-9000100MIT
restarter/lets-workflow100MIT
mickeyyaya/evolve-loop100Apache-2.0
friendlyinternet/nuxt-crouton100MIT
yonatangross/orchestkit100MIT

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

  • 96commit-message-generator
    Generuje zwięzły komunikat commita w konwencji conventional commits na podstawie zmian w staging.
  • 100conventional-commit
    Pisze wiadomość commita w formacie Conventional Commits dla zmian zaindeksowanych w Git i podsumowuje je.
  • 100create-commit-message
    Generuje komunikat Conventional Commit ze zmian przygotowanych w git, gdy trzeba napisać lub sformatować commit.
  • 100commit-staged
    Tworzy commit ze staged plików i pisze komunikat zmian, gdy prosisz o zacommitowanie, przygotowanie wiadomości lub wywołujesz commit-staged.
  • 100commit-message
    Tworzy komunikat Conventional Commits z faktycznego diffu w staging i wymaga oparcia go na rzeczywistych zmianach.
  • 100git-commit
    Zatwierdza przygotowane zmiany commitem z komunikatem w formacie conventional commit.

Uwagi i zgłoszenia

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