Skip to content
Back to skills

Commit

ASecurity

Make a commit in Git with an appropriate commit message for the currently staged changes.

  • 749 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added August 30, 2026
toolsbashgit

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned August 30, 2026

npx -y skills add dahlia/optique --skill commit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Commit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Commit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/dahlia-commit/badge)](https://www.skillsdirectory.com/skills/dahlia-commit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: commit
description: Make a commit in Git with an appropriate commit message for the currently staged changes.
metadata:
  internal: true
allowed-tools: Bash(git *)
---

Please make a commit with an appropriate commit message for the currently
staged changes.

Don't touch the staged changes, just create the commit.

The first line of the commit message should be a concise summary of the
changes (50 characters or less).  You shouldn't follow the conventional
commits, in other words, just write a normal commit message without any
special prefixes.

The second line of the commit message should be blank.

The rest of the commit message should provide more detailed explanations
about the changes, wrapped at 72 characters.

If you have some references like issues or pull requests, you can add
them in the body of the commit message, usually after a blank line.
Issues and pull requests should be referenced as full URLs instead of
#numbers, and you can put some verbs like “Fixes” or “Closes” before
the URLs.  For just references without any verbs, you can just put the
URLs in the body.

When running `git commit`, pass the commit message via a HEREDOC to
preserve newlines correctly.  Never use literal `\n` escape sequences
inside a quoted string, as they will appear as literal characters in
the commit message.  For example:

~~~~ bash
git commit -m "$(cat <<'EOF'
Summary line here

Detailed explanation here.
EOF
)"
~~~~

Don't put `Generated with [Claude Code](https://claude.ai/code)`, or
`Co-authored-by` trailers at the end of the commit message.  Instead,
use the `Assisted-by` trailer to indicate that the commit was generated by
an AI assistant, if necessary.  The format of the `Assisted-by` trailer should
be:

~~~~
Assisted-by: AGENT_NAME:MODEL_VERSION
~~~~

For example:

~~~~
Assisted-by: OpenCode:qwen3.6-plus
Assisted-by: Claude Code:claude-sonnet-4-6
Assisted-by: Gemini CLI:gemini-3.1-pro-preview
Assisted-by: Codex:gpt-5.4
~~~~

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.