← ClaudeAtlas

git-commit-onlylisted

Use when creating one local Git commit without pushing. Supports diff-based Conventional Commit type/scope/message generation, staged or requested change handling, segmented commit bodies for non-trivial changes, and safe commit-only workflows. Trigger for requests such as "commit this", "create a commit", "commit current changes without pushing", or local-only handoff.
YangsonHung/awesome-agent-skills · ★ 17 · Code & Development · score 78
Install: claude install-skill YangsonHung/awesome-agent-skills
# Git Commit Only ## Overview Create one focused local Conventional Commit from the current repository's staged or requested changes without pushing to any remote. The default output is one commit on the current branch. Analyze the actual diff, stage the requested change set, generate the commit message from the change content, and write a segmented body for non-trivial changes so reviewers can quickly see what changed by topic. This workflow handles local commit requests only. It does not push, merge branches, rewrite history, create pull requests, or publish changes. ## Conventional Commit Rules Base format: ```text <type>[optional scope]: <description> [body: optional only for trivial changes; required and segmented for non-trivial changes] [footer(s): required for breaking changes; optional for relevant issue references] ``` For this skill, the body is optional only for trivial commits. For non-trivial changes, write a segmented body and include a `Tests:` or localized equivalent section when tests, validators, hooks, or manual verification ran. Types: | Type | Use for | | --- | --- | | `feat` | New user-facing or product capability | | `fix` | Bug fix | | `docs` | Documentation-only change | | `style` | Formatting/style change with no logic impact | | `refactor` | Code restructure with no feature or bug fix | | `perf` | Performance improvement | | `test` | Test-only or test coverage change | | `build` | Build system, dependency, or packaging change | | `ci` |