Agent skill
ship
Stage all changes, commit, and push. Use when user asks to "ship", "commit and push", "add all and push", or requests staging all changes, committing, and pushing.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/other/ship-helderberto-skills
SKILL.md
Ship Changes
Context
Run in parallel:
git status(never -uall)git diff HEADgit log --oneline -10
Workflow
- Review all changes from status and diff
- Analyze recent commit style from log
- Check for quality check commands:
- If
package.jsonexists, check forlintandtestscripts - Run available checks in parallel:
npm run lint,npm test - If no package.json, skip quality checks
- If
- If checks fail: report errors, STOP — do not commit or push
- Generate commit message based on changed files matching repo style
- Stage all files:
git add -A - Commit with HEREDOC format
- Push:
git push(current branch) - Run
git statusafter to verify
Rules
- Stage ALL changes with
git add -A - Generate message from changed files, match repo style
- Only run npm commands if package.json exists with those scripts
- NEVER push if lint or tests fail
- NEVER force push (
-for--force) - NEVER skip hooks
- NEVER commit secrets
- Push to current branch only
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?