Skip to main content
ClaudeWave
Skill201 repo starsupdated 3mo ago

push

The push skill automates Git workflow by reviewing staged and unstaged changes, updating relevant documentation files, creating imperative-mood commit messages under 50 characters, and pushing changes to the remote repository while excluding secret files. Use this skill to streamline code commits with consistent messaging and documentation updates across a project repository.

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

SKILL.md

# Commit and Push Changes

## Current State

- Git status: !`git status`
- Staged changes: !`git diff --cached`
- Unstaged changes: !`git diff`

## Your Task

1. Review all changes (both staged and unstaged)
2. **Update documentation if appropriate:**
   - `agents.md` - Update if pipeline, findings, or project status changed
   - `README.md` - Update if user-facing docs need to reflect changes
3. Stage all relevant changes with `git add`
4. Create a clear, concise commit message that summarizes what was changed and why
5. Commit the changes
6. Push to the remote repository

Follow these commit message guidelines:
- Use imperative mood ("Add feature" not "Added feature")
- Keep first line under 50 characters
- Focus on the "what" and "why", not the "how"

**Important:** Do not commit files that contain secrets (.env, credentials, etc.)