Agent Skill
2/7/2026commit
Stages all changes, creates a commit with a meaningful message, and pushes to the remote. Use when the user wants to commit and push their work.
B
boringhappy
0GitHub Stars
1Views
npx skills add BoringHappy/CodeMate
SKILL.md
| Name | commit |
| Description | Stages all changes, creates a commit with a meaningful message, and pushes to the remote. Use when the user wants to commit and push their work. |
name: commit description: Stages all changes, creates a commit with a meaningful message, and pushes to the remote. Use when the user wants to commit and push their work. context: fork
Git Commit and Push
Stages changes, commits with a descriptive message, and pushes to the remote repository.
Current State
Git status:
!git status --short
Recent commits for style reference:
!git log --oneline -5
Current branch:
!git branch --show-current
Diff of changes:
!git diff --stat
Instructions
- Review the changes shown above
- Stage all changes using
git add -A - Create a commit with a clear, descriptive message that:
- Uses imperative mood (e.g., "Add feature" not "Added feature")
- Is concise but descriptive
- Follows the style of recent commits if a pattern exists
- Push to the remote using
git push
If the branch has no upstream, use:
git push -u origin $(git branch --show-current)
Prerequisites
- Must be run in a git repository
- Must have changes to commit
- Must have push access to the remote
Skills Info
Original Name:commitAuthor:boringhappy
Download