Skip to content
Back to skills

Commit

ASecurity

Create a Conventional Commit from the user's changes, staging a coherent set only when nothing is staged; never amend or push unasked.

  • 210 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 24, 2026
ai-agentsgit

Security analysis

A100/100

Scanned October 24, 2026

npx -y skills add AlysisAi/AlysisCode --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/alysisai-commit/badge)](https://www.skillsdirectory.com/skills/alysisai-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: Create a Conventional Commit from the user's changes, staging a coherent set only when nothing is staged; never amend or push unasked.
---

Use when: The user asks to commit their changes, whether or not anything is staged yet.

Do not use when: There are no changes to commit, or the user asks to amend, squash, rebase, or push.

Treat commands below as suggestions; use the normal tool and approval flow.

1. Read repository instructions and inspect `git status --short`, `git diff --cached --stat`, and `git diff --stat`.
2. If the index already holds changes, commit only the staged content. Warn when unstaged edits make the staged result incomplete, but do not add them unless the user asks.
3. If nothing is staged, propose the smallest coherent set from the working tree that matches the request: name each path and why it belongs. Stage those paths explicitly with `git add <path>`; never use `git add -A`, `git add .`, or interactive staging. If the changes clearly belong to several commits, say so and commit only the first set, or ask.
4. Exclude secrets, credentials, generated or build output, debug artifacts, and unrelated edits from any staging you perform. Stop and report when the staged diff still contains a material concern.
5. Read the complete staged diff before writing the message. Base the message only on staged content.
6. Choose the narrowest accurate Conventional Commit type and optional scope. Write an imperative subject that describes the outcome; add a body only when it explains motivation, risk, or a breaking change.
7. Use `git commit` as a suggested command only after the staged scope and message are sound. If hooks fail, report the failure and keep the index intact; never bypass hooks unless explicitly asked.
8. Report the commit hash, subject, the paths committed, and any paths deliberately left out. Never amend or push unless the user asks.

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.