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.zipInstalls 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.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
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
-
Review all uncommitted changes
git status git diff git diff --cachedRead every changed file's diff to understand the full scope of changes.
-
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.
- Modified
-
Run the final advisory review
Before committing, run the repo-managed
code-quality-reviewskill 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. -
Stage and commit each group
For each logical group:
git add <relevant files> git commit -m "title here" -
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.
Pattern Example type(scope): descriptionfeat(reply modal): add textarea -
Never omit the scope.
feat: add textareais wrong.feat(reply modal): add textareais correct. -
Keep titles short. If more context is needed, add a commit body — but don't repeat the title.
-
Use
perf:for performance optimizations, notfix:.
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
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.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| commit (this skill) | 0 | 4mo | Review | Beginner |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| dependency-upgrade | 26 | 5mo | Review | Intermediate |
| git-commits | 21 | 4mo | No flags | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by bitsocialnet
View all by bitsocialnet →You might also like
resolve-conflicts
antinomyhq
Use this skill immediately when the user mentions merge conflicts that need to be resolved. Do not attempt to resolve conflicts directly - invoke this skill first. This skill specializes in providing a structured framework for merging imports, tests, lock files (regeneration), configuration files, and handling deleted-but-modified files with backup and analysis.
dependency-upgrade
wshobson
Manage major dependency version upgrades with compatibility analysis, staged rollout, and comprehensive testing. Use when upgrading framework versions, updating major dependencies, or managing breaking changes in libraries.
git-commits
bonny
Create well-structured git commits in logical chunks following best practices
git-advanced-workflows
wshobson
Master advanced Git workflows including rebasing, cherry-picking, bisect, worktrees, and reflog to maintain clean history and recover from any situation. Use when managing complex Git histories, collaborating on feature branches, or troubleshooting repository issues.
github-multi-repo
ruvnet
Multi-repository coordination, synchronization, and architecture management with AI swarm orchestration
git-workflow-enforcer
CrazyDubya
Ensures commits follow conventional commits, branch naming conventions, and PR templates. Use when creating commits, branches, or PRs, or when user mentions git workflow.