Install
mkdir -p .claude/skills/commit-hta218 && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17578" && unzip -o skill.zip -d .claude/skills/commit-hta218 && rm skill.zipInstalls to .claude/skills/commit-hta218
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 changes with well-crafted messages, grouping related files into separate commitsKey capabilities
- →Analyze staging state and unstaged changes
- →Group related file changes into logical commits
- →Draft concise and descriptive commit messages
- →Stage and commit files for each group individually
- →Verify that all changes are committed
- →Report each commit hash and summary
How it works
The skill analyzes the current Git status, groups related file changes into logical units, and then stages and commits each group with a well-crafted message. It ensures a clean and organized commit history.
Inputs & outputs
When to use commit
- →Cleaning up messy git commits
- →Grouping related feature changes
- →Preparing a clean pull request
About this skill
Workflow
-
Run these commands in parallel to understand the current state:
git status— see all tracked/untracked files and staging stategit diff— see unstaged changes
-
Analyze ALL changes (staged + unstaged) and determine what should be committed:
- If there are no changes at all, inform the user and stop
- Do NOT commit files that likely contain secrets (
.env, credentials, tokens, API keys). Warn the user if such files are present.
-
Group related file changes into logical commits:
- Do NOT lump all changes into a single commit
- Examine each changed file and understand what it does
- Group files that are part of the same logical change together (e.g., a component + its styles + its test = one commit)
- Each group becomes its own commit
- If only one logical change exists, one commit is fine
-
For each group, draft a commit message:
- Write natural, concise descriptions of what changed and why
- Do NOT use conventional commits format (no
feat:,fix:,chore:prefixes) - Do NOT add
Co-Authored-Byor any co-author trailers to commit messages - Keep the subject line under 72 characters
- If the user provided a message or instructions via arguments, incorporate or use that for the relevant commit(s)
-
For each group, stage and commit:
git add <specific files>for that group onlygit commit -m "message"- Repeat for each group in a logical order (foundational changes first)
-
Run
git statusafter all commits to verify everything is clean. -
Report the result: show each commit hash and summary.
User Arguments
$ARGUMENTS
When not to use it
- →When committing files that likely contain secrets
- →When using conventional commits format
Limitations
- →Does not commit files that likely contain secrets
- →Does not use conventional commits format
- →Does not add `Co-Authored-By` trailers
How it compares
This skill systematically organizes changes into logical, focused commits with descriptive messages, improving version history readability, unlike lumping all changes into a single, generic commit.
Compared to similar skills
commit side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| commit (this skill) | 0 | 1mo | Review | Beginner |
| resolve-conflicts | 81 | 8mo | Review | Intermediate |
| dependency-upgrade | 26 | 4mo | Review | Intermediate |
| openspec-onboard | 10 | 5mo | Review | Beginner |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by hta218
View all by hta218 →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.
openspec-onboard
studyzy
Guided onboarding for OpenSpec - walk through a complete workflow cycle with narration and real codebase work.
codex-cli-bridge
alirezarezvani
Bridge between Claude Code and OpenAI Codex CLI - generates AGENTS.md from CLAUDE.md, provides Codex CLI execution helpers, and enables seamless interoperability between both tools
skill-sync
KyleKing
Syncs Claude Skills with other AI coding tools like Cursor, Copilot, and Codeium by creating cross-references and shared knowledge bases. Invoke when user wants to leverage skills across multiple tools or create unified AI context.
git-commits
bonny
Create well-structured git commits in logical chunks following best practices