Stages, reviews, and commits code changes using Conventional Commits standards.

Install

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

Installs to .claude/skills/commit-bitsocialnet

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.

Commit current work by reviewing diffs, splitting into logical commits, and writing standardized messages. Use when the user says "commit", "commit this", "commit current work", or asks to create a git commit.
209 chars✓ has a “when” trigger
Beginner

Key capabilities

  • Review diffs for logical grouping
  • Format commit messages to Conventional Commits
  • Stage specific files for commits
  • Perform quality checks before committing

How it works

It reviews uncommitted changes, groups them into logical units, and enforces standardized commit message formatting.

Inputs & outputs

You give it
Uncommitted changes
You get back
Local git commit

When to use commit

  • Splitting complex diffs into logical commits
  • Formatting commit messages to Conventional Commits standards
  • Ensuring code quality before committing changes
  • Staging specific files for a focused commit

About this skill

Commit Current Work

Workflow

  1. Review all uncommitted changes

    git status
    git diff
    git diff --cached
    

    Read every changed file's diff to understand the full scope of changes.

  2. Group changes into logical commits

    If diffs are unrelated, split into multiple commits. Each commit should cover one logical unit of work.

    Example — two unrelated changes in the working tree:

    • Modified src/components/reply-modal.tsx (UI fix)
    • Modified src/stores/use-settings-store.ts (new setting)

    These should be two separate commits, not one.

  3. Run the final advisory review

    Before committing, run the repo-managed code-quality-review skill on the final intended diff, including staged, unstaged, and untracked files. Consider only high-confidence findings. Apply them only when the active task authorizes edits; otherwise report them and continue with the requested commit. This review is advisory and must not become a hard gate.

  4. Stage and commit each group

    For each logical group:

    git add <relevant files>
    git commit -m "title here"
    
  5. Display the commit title to the user wrapped in backticks (inline code).

Commit Message Rules

  • Title format: Conventional Commits with a required scope. The scope should be a short, human-readable name for the area of the codebase affected.

    PatternExample
    type(scope): descriptionfeat(reply modal): add textarea
  • Never omit the scope. feat: add textarea is wrong. feat(reply modal): add textarea is correct.

  • Keep titles short. If more context is needed, add a commit body — but don't repeat the title.

  • Use perf: for performance optimizations, not fix:.

Constraints

  • Only commit when instructed. Do not commit subsequent changes unless explicitly told to.
  • Never push — only commit locally.
  • Never amend commits that have been pushed to a remote.

When not to use it

  • When the user wants to push changes immediately
  • When the user wants to amend pushed commits

Prerequisites

git

Limitations

  • Local commits only
  • No pushing to remote

How it compares

It enforces strict Conventional Commit formatting with required scopes, unlike standard git commit workflows.

Compared to similar skills

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

SkillInstallsUpdatedSafetyDifficulty
commit (this skill)04moReviewBeginner
resolve-conflicts818moReviewIntermediate
dependency-upgrade265moReviewIntermediate
git-commits214moNo flagsBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry