Agent skill
commit
Commits changes in logical chunks with proper commit messages
Install this agent skill to your Project
npx add-skill https://github.com/yuheitomi/llm-instructions/tree/main/skills/commit
SKILL.md
Please help me commit my changes. Here's what I need you to do:
- First, check the current git status to see what files have been modified
- Analyze the changes and group them into 2-3 logical commits based on:
- File types (tests, docs, config, etc.)
- Feature areas (by directory/module)
- Purpose of changes
- Present the proposed commit chunks to the user and ask for confirmation before proceeding
- Create separate commits for each logical group with appropriate commit messages following conventional commit format
- Run typecheck or lint commands (if available in package.json) before committing to ensure code quality
- If '$ARGUMENTS' is provided, use it as the target branch name (otherwise default to 'main')
Make sure each commit message ends with:
🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>
git commit-prefixes:
- feat: "Adding new features or modifying functionality"
- fix: "Bug fixes or typo corrections"
- docs: "Adding documentation"
- style: "Formatting changes, import order adjustments, or adding comments"
- refactor: "Code refactoring without affecting functionality"
- test: "Adding or modifying tests"
- build: "Changes affecting build system or dependencies"
- ci: "Changes related to CI/CD"
- perf: "Performance improvements"
- security: "Security-related changes"
- docker: "Modifications to Dockerfile or container-related changes"
- chore: "Miscellaneous changes"
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
setup-react-app-config
Set up configuratin files for the React project (Biome, Shadcn/UI)
set-up-framework
Setup framework development environment using configuration from setup directory
gh-issue
Creates a new GitHub issue in the current repository
create-pr
Commits changes in logical chunks and creates a PR
set-up-llm-docs
Download LLM instruction documents from the repository
edit-article
Edit and improve articles by restructuring sections, improving clarity, and tightening prose. Use when user wants to edit, revise, or improve an article draft.
Didn't find tool you were looking for?