Przejdź do treści
Biblioteka skilli
Programowanie · Pisanie

git-commit-assistant

/git-commit-assistant

Generuje komunikaty commitów na podstawie przygotowanych zmian i historii repozytorium, dopasowuje się do istniejących konwencji, zaczyna od intencji i dopisuje stopkę współautora Quest.

Repozytorium
quest ↗
Licencja
Unlicense
Ostatnia zmiana repozytorium
20.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 20.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Unlicense, otwarta.

Co robi i kiedy

Generuje komunikaty commitów na podstawie przygotowanych zmian i historii repozytorium, dopasowuje się do istniejących konwencji, zaczyna od intencji i dopisuje stopkę współautora Quest.

Oryginalny opis (EN)

Generates commit messages by inspecting staged changes and repo history. Matches existing conventions (Conventional Commits or plain English), leads with intent, and appends the Quest co-author trailer. Use when the user asks for a commit message, help with git commit, or when reviewing staged changes for commit.

Jak działa

  1. Before Writing
  2. Rules
  3. Formatting
  4. Approval
  5. Output
Sekcje z nagłówków SKILL.md, w oryginale · 114 linii, 581 słów
Podgląd SKILL.md
---
name: git-commit-assistant
description: Generates commit messages by inspecting staged changes and repo history. Matches existing conventions (Conventional Commits or plain English), leads with intent, and appends the Quest co-author trailer. Use when the user asks for a commit message, help with git commit, or when reviewing staged changes for commit.
---

# Git Commit Assistant

Generate a single commit message from the current staged diff. Output only the final commit message (no markdown, no emojis).

---

## Before Writing

1. Run `git diff --cached` to see what actually changed.
2. Run `git log --oneline` (or `git log --oneline -20`) to see existing commit style and conventions.

---

## Rules

### Match the room

- If the repo uses Conventional Commits (`feat:`, `fix:`, `docs:`, etc.), follow that.
- If it uses plain English, use plain English.
- Never impose a new convention on the repository.

### Categorize honestly

- **add** = something new
- **update** = enhancement to existing behavior
- **fix** = broken behavior is now correct
- **refactor** = behavior unchanged
- Do not inflate scope. A typo fix is not a feature.

### Lead with intent, not mechanics

- The diff shows *what* changed.
- The commit message should explain *why*.
- Prefer intent-focused subjects (e.g. "Fix race condition in session cleanup") over implementation details.

### Subject line

- Imperative mood
- ~50–72 characters
- Clear, specific, and accurate

### Body

- Optional. Use only if the intent is not obvious from the subject.
- Explain motivation, constraints, or tradeoffs.
- Wrap lines at ~72 characters.
- Do not speculate or invent context.

### Truthfulness

- Do not fabricate broader motivation.
- If intent is unclear, describe only what is visible in the diff.
- Precise but narrow beats confident but wrong.

---

## Formatting

1. Subject line
2. Blank line (if body exists)
3. Body (optional)
4. Blank line
5. Trailer

### Trailer (required)

Always append a trailer in this format:

```
Quest/Co-Authored by
<model lines — one per model that participated>
in collaboration with <human author identity>
```

Each model line uses standard `Co-Authored-By:` format:

```
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Codex <noreply@openai.com>
```

Rules:

- **Only include models that actually participated** in the work being committed. Do not list a model that was not involved.
- If model participation is unclear, do not ask by default. Include only the current model when it clearly participated, and omit any other model you cannot verify.
- If the work was done through Quest, check quest artifacts first to identify participating models.
- If generating a squash commit for a PR, you may also check PR comments for clearly attributable model participation.
- Do not require PR metadata in non-PR contexts. If attribution remains uncertain after available checks, omit the unverified model.
- Use the specific model label (e.g., "Claude Opus 4.6", "Codex mini") when known from the session or quest artifacts.
- Known model email mappings:
  - Claude → `noreply@anthropic.com`
  - Codex / OpenAI → `noreply@openai.com`
  - OpenCode → `noreply@opencode.ai`
- Resolve `<human author identity>` from local git config when available:
  - Prefer `git config user.name` + `git config user.email` and format as `Name <email>`
  - If only a GitHub username can be inferred from git config or the remote URL, use that username
  - If no human identity can be verified, use `the repository author`
- The `in collaboration with` line is always present and always last.

Never omit the trailer.

---

## Approval

Always show the intended commit message to the user and wait for explicit approval before executing `git commit`. Do not commit automatically. Present the message as a plain text block and ask the user to confirm.

---

## Output

Output only the final commit message. Do not use markdown. Do not use emojis.

Wersje

W bazie nie ma innych skilli o nazwie git-commit-assistant.

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

  • 100commit-message
    Generuje opisowe komunikaty commitów na podstawie analizy diffów git, w formacie conventional commits.
  • 100commit-message
    Generuje komunikaty commitów w formacie conventional commits i pomaga przy tworzeniu commitów git.
  • 100git-commit-generation
    Generuje czytelne komunikaty commitów w konwencji conventional na podstawie zmian w stage lub ostatnich diffów repozytorium.
  • 100create-commit-message
    Generuje komunikat Conventional Commit ze zmian przygotowanych w git, gdy trzeba napisać lub sformatować commit.
  • 100commit-message-creation
    Generuje komunikaty commitów zgodne ze standardami projektu i Conventional Commits, gdy staged zmiany wymagają opisu albo przeglądu historii.
  • 100git-commit
    Generuje komunikaty commitów w konwencji Conventional Commits dla projektów w Javie po zakończeniu 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.