install
source · Clone the upstream repo
git clone https://github.com/diegosouzapw/awesome-omni-skill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/diegosouzapw/awesome-omni-skill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/design/ship" ~/.claude/skills/diegosouzapw-awesome-omni-skill-ship-00d063 && rm -rf "$T"
manifest:
skills/design/ship/SKILL.mdsource content
ship
Quickly add, commit, and push changes to the current branch.
Arguments
(optional): Commit message. If not provided, will prompt the user for one.message
Instructions
- Run
to check the current state of the repositorygit status - If there are no changes to commit, inform the user and exit
- Parse the commit message from args:
- If args starts with
or-m
, extract the message after the flag (removing quotes if present)--message - Otherwise, treat the entire args string as the message (removing surrounding quotes if present)
- If args is empty or just whitespace, ask the user for a commit message using AskUserQuestion
- If args starts with
- Run
to stage all changesgit add . - Create a commit with the message using the git commit protocol from the system instructions:
- Format the message properly with a Co-Authored-By line at the end
- Use a heredoc for proper formatting:
git commit -m "$(cat <<'EOF'\n[message]\n\nCo-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>\nEOF\n)"
- Run
to push the changes to the remotegit push - Confirm success to the user with a summary of what was pushed (include commit message and branch)
Example Usage
/ship "Add new printer case study" /ship -m "Fix typography issues" /ship
Notes
- Always follow git safety protocols
- Show git status before committing
- Confirm successful push with the user
- If push fails, report the error clearly