Commit message writer

GoalCoding · Write an Angular-style commit message from a diff.

Help me write a commit message for [code changes or diff]. Known material: [what changed and which modules]; audience: [fellow developers]. Follow the Angular convention with a type, scope, and short summary, adding a body and footer only when needed, and keep the summary under fifty characters; do not invent features not in the change, flag breaking changes, and offer two candidates when unsure.

Open this template in the optimizer →

Placeholders to fill in

  • code changes or diff
  • what changed and which modules
  • fellow developers

Placeholders stand for your own facts. Never invent figures, sources or credentials the model was not given.

How to use it

  1. Copy the template, or open the optimizer and it is filled in for you.
  2. Replace every placeholder in brackets with your own material.
  3. Add constraints such as length, audience, tone, and what must not change.
  4. Generate, then refine in three directions and copy the result.

Adapted from LobeHub agent “提交信息生成器” by cyicz123 (MIT)

More coding goals

Browse other tasks

Canonical version: https://www.prompt.dx3906.net/zh/templates/coding/purpose-commit-assistant