Skip to content
Back to skills

Commit

ASecurity

Write a commit message that follows this project's style and commit the staged changes

  • 4 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 11, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add John99101/claude-code-project-template --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/john99101-commit/badge)](https://www.skillsdirectory.com/skills/john99101-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: Write a commit message that follows this project's style and commit the staged changes
argument-hint: "[what to commit, in plain words]"
disable-model-invocation: true
allowed-tools: Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git add:*), Bash(git commit:*)
---

## State

!`git status --short`

!`git diff --cached --stat`

!`git log --oneline -10`

## Task

1. If nothing is staged, show the changed files and ask what to include (or use `$ARGUMENTS` if it says). Never stage `.env`, secrets, build output or local config.
2. Write the message in the style from `.claude/rules/git-workflow.md`. Match the recent log above if the rule is unset.
3. Commit. Don't push.
4. Show the commit hash and message.

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 ai-agents →

Comments

Loading comments…

Newsletter

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