Skip to content
Back to skills

Commit

ASecurity

Stage and commit changes using Conventional Commits

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 12, 2026
documentationbashgitdocumentation

Security analysis

A100/100

Scanned September 12, 2026

npx -y skills add BuddiesOfBudgie/docs --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/buddiesofbudgie-commit/badge)](https://www.skillsdirectory.com/skills/buddiesofbudgie-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: Stage and commit changes using Conventional Commits
disable-model-invocation: false
allowed-tools: Bash(git *)
---

Create a git commit for the current changes following the Conventional Commits specification.

## Steps

1. Run these commands in parallel to understand the current state:
   - `git status` to see all changed and untracked files
   - `git diff` to see unstaged changes
   - `git diff --cached` to see already-staged changes
   - `git log --oneline -5` to see recent commit style

2. Analyze the changes and determine:
   - Which files should be staged (skip files that likely contain secrets like `.env`, credentials, etc.)
   - The appropriate Conventional Commit type and scope
   - A concise description of the change

3. Stage the relevant files by name (do NOT use `git add -A` or `git add .`)

4. Determine attribution - analyze the conversation context:
   - **Did Claude write or modify code/content** (generate implementations, write documentation, create components)? → Add `Assisted-by: Claude:<model-id>` trailer
   - **Did Claude only perform mechanical tasks** (committing, formatting, running commands) or did the human make all changes? → NO trailer
   - Never use `Co-Authored-By`

5. Craft the commit message using the types, scopes, and rules defined in [CONTRIBUTING.md](CONTRIBUTING.md#conventional-commits). Additional skill-specific rules:
   - Scope is optional but encouraged - use the most relevant area
   - If changes span multiple concerns, prefer a single commit with a clear summary over being overly granular
   - Always pass the commit message via a HEREDOC:

```bash
git commit -s -m "$(cat <<'EOF'
type(scope): description

Optional body.

Assisted-by: Claude:<model-id>
EOF
)"
```

6. After committing, run `git status` to verify success.

## Arguments

If `$ARGUMENTS` is provided, use it as guidance for the commit message or scope.

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 documentation →

Comments

Loading comments…

Newsletter

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