Skip to main content
ClaudeWave
Skill1.4k repo starsupdated 1mo ago

commit

The commit skill stages and creates a Git commit by examining staged changes, generating a concise summary message, and executing the commit command. Use this when ready to save modifications to version control, optionally providing context arguments to inform the commit message content.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/Windy3f3f3f3f/claude-code-from-scratch /tmp/commit && cp -r /tmp/commit/.claude/skills/commit ~/.claude/skills/commit
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Commit Skill

1. Run `git diff --staged` and `git status` to see what's changed
2. Write a concise commit message summarizing the changes
3. Run `git commit -m "<message>"`

If no files are staged, tell the user to stage files first.
Arguments passed to this skill are used as additional context for the commit message.