Commit Staged

Git commit commands for staged-only commits

goodluckz 8b84a9a 746 B Updated

File contents

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.

goodluckz/claude-code-config/tree/main/skills/commit-staged commit 8b84a9a903

Frequently asked questions

npx skillmds@latest add goodluckz/commit-staged