Agent skill

commit-staged

Git commit commands for staged-only commits

Stars 0
Forks 0

Install this agent skill to your Project

npx add-skill https://github.com/goodluckz/claude-code-config/tree/main/skills/commit-staged

SKILL.md

Commit Staged

Commit only staged changes without staging new files.

Context

  • Current git status: !git status
  • Staged changes only: !git diff --cached
  • Current branch: !git branch --show-current
  • Recent commits: !git log --oneline -10

Your task

Based on the staged changes shown above, create a single git commit.

IMPORTANT: Do NOT run git add. Only commit the already-staged changes using git commit.

You have the capability to call multiple tools in a single response. Create the commit using a single message. Do not use any other tools or do anything else. Do not send any other text or messages besides these tool calls.

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