commit
npx skills add https://github.com/gendosu/agent-skills --skill commit
Agent 安装分布
Skill 文档
Commits staged changes with an appropriate commit message using the git-operations-specialist skill.
Core Guidelines
Before starting any task, read and follow /key-guidelines
Dependencies
- use git-operations-specialist skill
Instructions
IMPORTANT: Use the git-operations-specialist skill (via Skill tool) for ALL git-related operations in this command.
Analyze the staged changes and safely commit them with an appropriate commit message.
Required Execution Items
-
Check Staging Status: Run
git statusto confirm what changes are staged -
Review Staged Changes: Use
git diff --stagedto review the content of staged changes -
Create Commit: Commit the staged changes with an appropriate commit message
-
Verify Commit: Run
git statusafter committing to confirm the commit was successful
Commit Message Guidelines
- Follow the
.gitmessagetemplate format - Use appropriate commit type prefixes:
feat,fix,refactor,docs,style,test,chore - Write clear, concise messages that describe the change
â ï¸ Important Constraints
- Never use any
git addcommands â Only commit what is already staged - Use HEREDOC â Maintain proper formatting of commit messages
- Stage verification first â Always check what’s staged before committing
- Single commit â Create one commit for all currently staged changes
Example Usage
If you have already staged changes:
# Staged files:
- apps/api/src/routes/timeline.ts
- apps/api/src/types/timeline.ts
This command will create a single commit containing both files with an appropriate message like:
feat: ã¿ã¤ã ã©ã¤ã³APIã®ã«ã¼ãã¨åå®ç¾©ã追å