Agent skill

commit

Auto-commit with smart branching. Use when asked to commit, push changes, or prepare a merge request.

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/mir/maratai/tree/main/claude-maratai-dev/skills/commit

SKILL.md

  1. Observe local changes using git commands.
  2. If the current branch is master:
    1. Create a new branch with short descriptive name
    2. Move all the changes to the newly created branch
  3. Add the changes to prepare commit in the next step (git add .)
  4. Commit with a short, concise, descriptive commit message
  5. Check that all files are committed. Fix that if it is not true.
  6. Push the new branch
  7. Review all the changes made in this branch (not only latest commit)
  8. Create a proposal to the user to do a short concise merge request using the glab utility, describing all the changes made in the branch.
  9. If $ARGUMENTS mentions "mr" then create an mr. If "$ARGUMETNS" mention automatic merge, then create MR with squash and automatic merge options.

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