Zum Inhalt springen
Skillpedia
Allgemeines Programmieren40k · #7121

conventional-commit

Was er macht

Dieses Tool hilft dir, klare und einheitliche Nachrichten zu schreiben, mit denen du Änderungen im Code festhältst. Es folgt einem festen Format, damit andere Entwickler schnell verstehen, was geändert wurde.

Wann du ihn nutzt

  • ✓Wenn du dem Code eine neue Funktion hinzufügst.
  • ✓Wenn du einen Fehler im Code behebst.
  • ✓Wenn du die Dokumentation des Codes aktualisierst.

Link zum Skill

https://github.com/github/awesome-copilot/blob/main/skills/conventional-commit/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/github/awesome-copilot/blob/main/skills/conventional-commit/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Erstelle eine Commit-Nachricht für das Hinzufügen eines neuen Login-Buttons, mit dem Typ 'feat' und dem Scope 'ui'.”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Du füllst eine Vorlage aus: die Art der Änderung (zum Beispiel 'feat' für Feature oder 'fix' für Fehlerbehebung), eine kurze Zusammenfassung und optional weitere Details. Das Tool erstellt daraus die fertige Nachricht.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Instructions

	<description>This file contains a prompt template for generating conventional commit messages. It provides instructions, examples, and formatting guidelines to help users write standardized, descriptive commit messages in accordance with the Conventional Commits specification.</description>

Workflow

Follow these steps:

  1. Run git status to review changed files.
  2. Run git diff or git diff --cached to inspect changes.
  3. Stage your changes with git add <file>.
  4. Construct your commit message using the following XML structure.
  5. After generating your commit message, Copilot will automatically run the following command in your integrated terminal (no confirmation needed):
git commit -m "type(scope): description"
  1. Just execute this prompt and Copilot will handle the commit for you in the terminal.

Commit Message Structure

<commit-message>
	<type>feat|fix|docs|style|refactor|perf|test|build|ci|chore|revert</type>
	<scope>()</scope>
	<description>A short, imperative summary of the change</description>
	<body>(optional: more detailed explanation)</body>
	<footer>(optional: e.g. BREAKING CHANGE: details, or issue references)</footer>
</commit-message>

Examples

<examples>
	<example>feat(parser): add ability to parse arrays</example>
	<example>fix(ui): correct button alignment</example>
	<example>docs: update README with usage instructions</example>
	<example>refactor: improve performance of data processing</example>
	<example>chore: update dependencies</example>
	<example>feat!: send email on registration (BREAKING CHANGE: email service required)</example>
</examples>

Validation

<validation>
	<type>Must be one of the allowed types. See <reference>https://www.conventionalcommits.org/en/v1.0.0/#specification</reference></type>
	<scope>Optional, but recommended for clarity.</scope>
	<description>Required. Use the imperative mood (e.g., "add", not "added").</description>
	<body>Optional. Use for additional context.</body>
	<footer>Use for breaking changes or issue references.</footer>
</validation>

Final Step

<final-step>
	<cmd>git commit -m "type(scope): description"</cmd>
	<note>Replace with your constructed message. Include body and footer if needed.</note>
</final-step>
Häufige Fragen

Was ist ein „Commit“?

Ein Commit ist wie ein „Speichern“ für dein Projekt. Er hält eine Reihe von Änderungen fest.

Warum ein einheitliches Format verwenden?

Es hält die Historie des Projekts geordnet und für alle, die daran arbeiten, leicht verständlich.

Was bedeutet „imperativ“?

Gemeint ist die Befehlsform des Verbs, zum Beispiel „add“ oder „fix“, statt „added“ oder „fixed“. Die Nachricht beschreibt also, was die Änderung tut, und nicht, was passiert ist.

Details

Originalbeschreibung des Autors

Prompt and workflow for generating conventional commit messages using a structured XML format. Guides users to create standardized, descriptive commit messages in line with the Conventional Commits specification, including instructions, examples, and validation.

repo: github/awesome-copilot

Beliebtheit

GitHub-Sterne
40k
Platz im Ranking
#7121
Lizenz
MIT
Aktualisiert
15.10.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills