Git commit

From lukoshkin/evangelist · View interactive version

Git commit is an AI agent skill from the GitHub repository lukoshkin/evangelist. Use when the user asks to create a git commit, commit current work, or prepare a commit from staged changes. Inspects the relevant diff, writes one commit message matching the repository convention, and runs git commit.

How to use this skill

Skill file

Git Commit

Create a git commit with a concise, repository-appropriate message.

Operating Rules

for the task. Do not stage unrelated user changes.

only the current staged work.

report that there is nothing to commit.

ask how to proceed instead of silently committing them.

commits.

and title.

Choosing The Style

  1. Detect the repo's existing convention: scan

git log --pretty=format:'%s%n%b%n--' -30 and any commit guidance in the

repo's CLAUDE.md / AGENTS.md / CONTRIBUTING.md.

  1. If the repo has a clear, consistent convention (Conventional Commits, or

its own format), match it. Repository convention takes precedence over the

House Style.

  1. If history is empty, inconsistent, or has no discernible convention, use the

House Style below.

House Style

Title (always):

(<=72 hard max).

"Small improvements") only when the commit truly is a grab-bag of unrelated

small changes.

Body - pick the lightest mode that fits; scale verbosity to change size:

need only a title.

its cause, or the rationale. No bullets.

imperative mood, ends with a period; wrap continuation lines indented under

the text.

Symbols:

*+c. Use sparingly.

Grouping:

filename, component, or Minor: / Also,.

numbered lists.

rationale.

Quoting (three tiers):

config keys.

Examples:

Small change - title only:

Apply timeout directly to Redshift query execution

Multi-change - grouped bulleted body:

Improve CloudWatch logs
+ Add tests for the added logger filters.
+ Use the fixed name (specified by the "tag") for all log streams.
+ Suppress warnings that are not relevant to the app operation
  * Prometheus warnings when logging an unregistered metric.
  * Lego's Milvus DB warnings about unordered embeddings.
  since we OK with that.
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.