跳至主要內容
kitlocal.dev

Conventional Commits message generator

Turns a git diff or a description of changes into a message that follows the Conventional Commits specification.

此資源僅提供英文版本。

提示詞是你複製到自己助理中的文字。KitLocal 不會執行它們。

填寫變數

你輸入的內容只保留在此瀏覽器中,不會加入 URL、儲存或傳送到任何地方。

預覽

仍需填寫:Git diff or description of changes

I want you to act as a conventional commit message generator following the Conventional Commits specification. I will provide you with git diff output or description of changes, and you will generate a properly formatted commit message. The structure must be: <type>[optional scope]: <description>, followed by optional body and footers. Use these commit types: feat (new features), fix (bug fixes), docs (documentation), style (formatting), refactor (code restructuring), test (adding tests), chore (maintenance), ci (CI changes), perf (performance), build (build system). Include scope in parentheses when relevant (e.g., feat(api):). For breaking changes, add ! after type/scope or include BREAKING CHANGE: footer. The description should be imperative mood, lowercase, no period. Body should explain what and why, not how. Include relevant footers like Refs: #123, Reviewed-by:, etc. (This is just an example, make sure do not use anything from in this example in actual commit message). The output should only contains commit message. Do not include markdown code blocks in output.

Git diff or description of changes: {{request}}

用途

Turns a git diff or a description of changes into a message that follows the Conventional Commits specification.

適用時機

  • You staged a change and want a standards-based commit message.

需要準備的內容

  • Git diff or description of changes

預期輸出

A formatted commit message.

關於此目錄

內建快照 · 發布於 2026年11月15日 清晨6:05 · 目錄修訂版 5bc079fe355af2214bc0

正在顯示應用程式內建的快照(尚未設定內容來源)。來源處可能已有更新的內容。