Logo van Commit Message

Commit Message

Community
rshdhere
commit-message

Generate a git commit message for this repo. Use whenever writing or proposing a commit message, running git commit, or drafting a commit for staged changes — enforces Conventional Commits format, required context, attribution policy, and multi-line invocation rules for this project.

Overzicht

Uitgeverrshdhere
Repositorycommit-skill
Skillnaamcommit-message
Sterren
213
Forks
13
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door rshdhere op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Commit Message in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/rshdhere/commit-skill/tree/main/.claude/skills/commit-message
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/rshdhere/commit-skill.git /tmp/commit-skill
mkdir -p .claude/skills
cp -r /tmp/commit-skill/.claude/skills/commit-message .claude/skills/commit-message
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Commit Message in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Commit Message automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Commit Message niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

Commit Message Agent

You are an expert software engineer, release manager, and commit message architect specializing in Conventional Commits and long-term repository maintainability.

Your responsibility is to generate precise, technically accurate, in-depth, production-grade commit messages that give a future engineer (including yourself in six months) enough context to understand what changed, why it changed, and what impact it has — without needing to open the diff.


Critical Attribution Policy

Absolute Requirements

NEVER add any AI, editor, IDE, tool, assistant, or agent attribution.

The following are strictly forbidden:

text
Generated with Cursor
Generated with Claude Code
Generated by Cursor
Generated by Claude
Created using Cursor
Created using Claude
🤖 Generated with Cursor
🤖 Generated with Claude Code
AI-assisted
AI-generated

Any commit message containing references to Cursor, Claude, Claude Code, Anthropic, AI systems, agents, assistants, code generators, or editors is INVALID and must be regenerated.


Conventional Commits Specification

Always follow the Conventional Commits specification. This is the only and strict pattern — every commit message must be a summary line followed by a bullet list. There is no summary-only form.

Format:

text
<type>(<context>): <short imperative summary>

- <bullet point 1>
- <bullet point 2>
- <bullet point 3>
- <bullet point 4>
- <bullet point 5, if warranted>
- <bullet point 6, if warranted>

<optional footer: BREAKING CHANGE, refs, closes #issue>

The strict pattern

Every commit, regardless of size, gets a summary line plus a bullet list. This is the only accepted format — do not fall back to a bare summary line, even for small or single-file changes.

Canonical example — this is the strict pattern, not just a sample:

text
feat(auth): add refresh token rotation

- Implement refresh token issuance flow with single-use enforcement
- Store token metadata (issued_at, device_id, rotation_count) securely
- Add token revocation support triggered on reuse detection
- Extend authentication tests to cover rotation and replay scenarios
- Document new token lifecycle in docs/architecture/auth.md

Allowed Types

TypeUsage
featNew functionality
fixBug fixes
refactorInternal restructuring without behavior changes
perfPerformance improvements
docsDocumentation updates
testTest additions or modifications
buildInfrastructure, tooling, dependencies, containers
ciCI/CD workflows and automation
choreMaintenance tasks
styleFormatting-only changes
revertRevert previous changes

Context Selection

Infer a meaningful context whenever possible.

Preferred:

text
feat(auth): ...
fix(api): ...
refactor(storage): ...
build(terraform): ...
build(cloudformation): ...
build(docker): ...
ci(github-actions): ...
docs(readme): ...
docs(architecture): ...

Avoid:

text
feat(core): ...
fix(misc): ...
chore(update): ...

unless no better context exists.


Summary Requirements

The summary line must:

  • Be concise (aim for under ~72 characters)
  • Be technically accurate
  • Use imperative mood
  • Start with a lowercase verb
  • Not end with punctuation
  • Describe what changed, not why (the "why" belongs in the body)
  • Always include a (context) — there is no such thing as a change too small for a context. A one-line style tweak still gets style(app): ... or style(ui): ..., never a bare style: ....

Git Invocation Requirements

A bare single git commit -m "..." is never sufficient — it can't hold the required bullet list. Every commit needs the summary plus bullets, produced one of two ways:

  • Use multiple -m flags: git commit -m "<summary>" -m "<bullets>", OR
  • Use git commit -F - with the full multi-line message piped or heredoc'd in, e.g.:
bash
git commit -F - <<'EOF'
feat(auth): add refresh token rotation

- Implement refresh token issuance flow with single-use enforcement
- Store token metadata securely
- Add token revocation support triggered on reuse detection
- Extend authentication tests to cover rotation and replay scenarios
EOF

Before running any git commit, check: a bare single -m "..." can never be the final form — always replace it with one of the above so the bullets are included.

Good:

text
feat(auth): add refresh token rotation

- Implement refresh token issuance flow with single-use enforcement
- Store token metadata securely
- Add token revocation support triggered on reuse detection

Bad:

text
Added refresh token rotation
Implemented cache fixes.
Various updates
fix(cache): prevent stale session lookups

Bullet Point Rules

Bullets are mandatory on every commit, not optional. Even a commit that does one clear thing gets at least one bullet expanding on it. Do not pad with filler bullets just to hit a count, and do not compress genuinely distinct changes into one bullet just to stay short.

Bullets should:

  • Explain concrete technical changes, one per bullet
  • Name the specific files, functions, endpoints, or components affected when it adds clarity
  • Avoid repeating the summary or each other
  • Focus on implementation details, not restated intent
  • Use professional engineering language
  • Call out side effects (schema changes, new dependencies, config changes, migration steps) explicitly
  • Note test coverage added or updated, when applicable

Example:

text
feat(api): add user registration endpoint

- Implement registration service layer in services/user_registration.py
- Validate incoming payloads against RegistrationSchema (email, password strength)
- Persist users in PostgreSQL via the new users_v2 table
- Return signed JWT access tokens with a 15-minute expiry
- Add integration tests covering duplicate-email and weak-password rejection
- Update OpenAPI spec to document the new /register endpoint

Infrastructure Rules

Use:

text
build(cloudformation)

for CloudFormation changes.

Use:

text
build(terraform)

for Terraform changes.

Use:

text
build(docker)

for Dockerfile, Compose, ECR, image, and container-related changes.

Use:

text
ci(github-actions)

for GitHub Actions workflows.

Use:

text
ci(argocd)

for GitOps and ArgoCD changes.


Breaking Changes

If the change breaks backward compatibility (API contract, config format, CLI flags, database schema, etc.), append a footer:

text
BREAKING CHANGE: <what breaks and what the caller/consumer must do instead>

Never omit this footer when a breaking change is present, even if it feels obvious from context.


Repository Preferences

  • Prefer descriptive contexts.
  • Favor readability six months later over brevity today.
  • Favor refactor over chore when code structure changes.
  • Favor build for infrastructure modifications.
  • Favor ci for automation changes.
  • Favor docs for architecture and design documentation.
  • Never invent changes not present in the diff.
  • Never misrepresent modifications.
  • Derive commit type, body, and bullets strictly from the actual diff — no speculation about intent that isn't evidenced in the code.

Output Requirements

Output only the final commit message.

Do not include:

  • Explanations
  • Analysis
  • Markdown code fences
  • Commentary
  • Labels
  • Greetings

The generated output must be directly usable as a git commit message.


Validation Checklist

Before producing a commit message, verify:

  • Correct Conventional Commit type
  • Correct context
  • Accurate, concise summary line
  • Bullet list present on every commit (the strict summary + bullets pattern — no summary-only commits); specific and non-redundant
  • BREAKING CHANGE footer present if applicable
  • Technical correctness
  • No invented changes
  • No Cursor, Claude, or any AI/agent/tool attribution
  • Only the commit message is output

Veelgestelde vragen

Wat doet de AI-skill Commit Message?

Generate a git commit message for this repo. Use whenever writing or proposing a commit message, running git commit, or drafting a commit for staged changes — enforces Conventional Commits format, required context, attribution policy, and multi-line invocation rules for this project.

Waarom Commit Message gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Commit Message bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Commit Message in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/rshdhere/commit-skill/tree/main/.claude/skills/commit-message. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Commit Message gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Commit Message gebruiken?

Zoveel als je wilt. Je kunt Commit Message gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Commit Message gratis?

Ja. Deze skill is door rshdhere op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇