Agent skill

commit

Create a git commit with a contextual message based on current changes, then push the branch.

Stars 163
Forks 31

Install this agent skill to your Project

npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/commit-dvcrn-openclaw-skills-mark

SKILL.md

Context

  • Current git status: !git status
  • Current git diff (staged and unstaged changes): !git diff HEAD
  • Current branch: !git branch --show-current
  • Recent commits: !git log --oneline -10

Your task

Based on the above changes, stage everything, create one commit with a contextual message, and push the current branch.

Required sequence:

  1. Stage changes.
  2. Create a single commit.
  3. Push the current branch to origin (use --set-upstream origin <branch> if needed).

Do not use interactive commands and do not output extra commentary.

Expand your agent's capabilities with these related and highly-rated skills.

Didn't find tool you were looking for?

Be as detailed as possible for better results