Logo von 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.

Übersicht

Herausgeberrshdhere
Repositorycommit-skill
Skill-Namecommit-message
Sterne
213
Forks
13
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von rshdhere auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Commit Message in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/rshdhere/commit-skill/tree/main/.claude/skills/commit-message
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

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
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Commit Message in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Commit Message automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Commit Message nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

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

Häufig gestellte Fragen

Was macht der KI-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.

Warum Commit Message in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Commit Message besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Commit Message in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/rshdhere/commit-skill/tree/main/.claude/skills/commit-message ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Commit Message nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Commit Message verwenden?

So viele Sie möchten. In TypingMind können Sie Commit Message mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Commit Message kostenlos?

Ja. Der Skill wird von rshdhere auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇