smithery.ai

save

Automatically add all changes, commit with generated message, and push to GitHub. Quick workflow for saving and syncing all your work.

First seen Mar 21, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Version1.0.0
More metadata
author
custom
version
1.0.0
argument-hint
["optional-commit-message"]

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,239 B
  • docs SUMMARY.md 146 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 4 installs

SKILL.md

Save and Push to GitHub

Automatically save all your changes and push them to GitHub with a single command.

How It Works

  1. Check current repository status and changes
  2. Analyze the changes to generate an appropriate commit message
  3. Add all changes to staging
  4. Create commit with generated (or provided) message
  5. Push to remote repository

Workflow Steps

When /save is invoked:

  1. Check Status: Run git status to see all untracked and modified files
  1. Analyze Changes: Run git diff to understand what changed
  1. Review Commit History: Run git log -5 --oneline to understand the project's commit message style
  1. Generate Commit Message: Based on the diff analysis, create a concise commit message that:

- Summarizes the nature of changes (feature, fix, refactor, docs, etc.) - Is concise (1-2 sentences) - Follows the project's commit style - If user provided an argument, use that as the commit message instead

  1. Stage All Changes: Run git add . to stage all changes
  1. Create Commit: Run `git commit -m "$(cat <<'EOF'

[Generated or provided message]

Co-Authored-By: Claude Sonnet 4.5 <[email protected]> EOF )"`

  1. Push to Remote: Run git push to push changes to remote repository
  1. Confirm Success: Run git status to verify everything was pushed successfully

Usage

/save

Or with a custom commit message:

/save "Add new feature for user authentication"

Important Notes

  • All unstaged and untracked files will be added automatically
  • A commit message will be generated based on the changes unless one is provided
  • Changes will be pushed to the current branch
  • If push fails (e.g., need to pull first), inform user and suggest next steps
  • Never skip the Co-Authored-By tag

Error Handling

If any step fails:

  • Inform the user clearly what went wrong
  • Suggest corrective actions
  • Don't proceed to next steps if a critical step fails