Simplifies git commits with conventional formatting.

Install

mkdir -p .claude/skills/commit-s && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16550" && unzip -o skill.zip -d .claude/skills/commit-s && rm skill.zip

Installs to .claude/skills/commit-s

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Quick git commit with auto-generated or specified message. Use when user wants to create a git commit with /commit-s.
117 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Stage all changes with `git add .`
  • Review staged changes with `git diff --staged`
  • Create git commit with specified message
  • Generate concise commit message from staged changes

How it works

The skill checks git status, stages changes, reviews them, and then creates a git commit using either a specified message or an auto-generated one following conventional commit standards.

Inputs & outputs

You give it
Optional commit message or current git state with staged/unstaged changes
You get back
Git commit with a message and confirmation of files changed

When to use commit-s

  • Creating git commits
  • Staging code changes
  • Formatting commit messages

About this skill

Commit Skill (/commit-s)

Create a git commit with staged or specified changes.

Input

  • $ARGUMENTS: Optional commit message
  • Current git state: staged and unstaged changes

Process

Step 1: Check Git Status

Run git status to see current state of the repository.

Step 2: Stage Changes

If nothing is staged:

  • Run git add . to stage all changes

Step 3: Review Changes

Run git diff --staged to review what will be committed.

Step 4: Create Commit

If $ARGUMENTS is provided:

  • Use it directly as the commit message
  • Run git commit -m "$ARGUMENTS"

If no message provided:

  • Analyze staged changes with git diff --staged
  • Generate a concise commit message following the format below
  • Run git commit -m "message"

Commit Message Format

  • Start with type: feat:, fix:, docs:, refactor:, test:, chore:
  • Be concise but descriptive (max 72 chars for first line)
  • Example: feat: add user authentication with JWT

Output

Show a brief confirmation:

✓ Committed: [commit message]
  [number] files changed

Guidelines

  • Never commit sensitive files (.env, credentials, secrets)
  • Create descriptive commit messages that explain the "why" not just the "what"
  • Keep first line under 72 characters
  • Use imperative mood ("add feature" not "added feature")

When not to use it

  • When the user does not want to create a git commit
  • When the user does not explicitly use `/commit-s`
  • When the task involves committing sensitive files

Limitations

  • Never commits sensitive files
  • Requires git repository
  • Focuses on creating a single commit

How it compares

This skill automates the git commit process, including staging and message generation based on conventional standards, which simplify version control compared to manual staging and message crafting.

Compared to similar skills

commit-s side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
commit-s (this skill)03moReviewBeginner
tmux203moReviewIntermediate
jira116moNo flagsBeginner
triaging-issues52moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry