@diegosouzapw/ship
BQuickly add, commit, and push changes to the current branch
Install
agr install @diegosouzapw/ship --target claudeWrites 2 files into .claude/skills/, pinned to git-00d063ac.
- .claude/skills/ship/SKILL.md
- .claude/skills/ship/metadata.json
Document
name: ship description: Quickly add, commit, and push changes to the current branch
ship
Quickly add, commit, and push changes to the current branch.
Arguments
message(optional): Commit message. If not provided, will prompt the user for one.
Instructions
- Run
git statusto check the current state of the repository - If there are no changes to commit, inform the user and exit
- Parse the commit message from args:
- If args starts with
-mor--message, extract the message after the flag (removing quotes if present) - 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
git add .to stage all changes - 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
git pushto push the changes to the remote - 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
Trustgrade B
- passBody integrity
Whether the stored document is plausibly the kind of file the artifact declares, rather than something fetched by mistake.
- passType matchnot applicable to this artifact type
Whether the artifact is really the kind of thing its metadata claims it is.
- passFreshness
How long since the source repository was last pushed to.
- passPrompt injection
Scans the artifact's own text for instructions aimed at your agent rather than at you.
- warnLicenseno SPDX license detected
Whether the source repository declares an SPDX license permissive enough to redistribute.
How the grade is calculated
Each check contributes 0 points when it passes, 1 when it warns, and 2 when it fails. The total maps to a letter:
- Aevery check passed
- Bone warning
- Ctwo warnings
- Dprompt injection or body integrity failed, or three warnings
- Fone of those failed, and something else is wrong
These are automated hygiene checks, not a security audit, and not a dependency or vulnerability scan. A grade of A means nothing was flagged — not that the artifact is safe.
Versions
git-00d063acf63d2026-07-31