helderberto/agent-skills

ship

Commit and push changes with a pre-launch gate (validate-code + safe-repo) by default. `--fast` skips the gate.

First seen Feb 13, 2026

Installation

$ npx skills add helderberto/agent-skills --skill ship

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 helderberto/agent-skills · top by installs.

npx skills add helderberto/agent-skills

Browse all from helderberto/agent-skills

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

Repository health

Stars 14
License LICENSE
Default branch main
Open issues 0
Status Active

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 2,160 B
  • docs SUMMARY.md 123 B

History

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

SKILL.md

Ship Changes

Ship runs a pre-launch gate before committing. By default: validate-code + safe-repo. The gate ensures nothing broken or unsafe leaves the working tree.

Arguments

  • --fast — skip the pre-launch gate. Only for hotfixes, disposable branches (spike/prototype/CI), or when the gate already passed manually this session. Never on main/release. State the reason in the commit body.

Workflow

Phase 1 — Pre-launch gate (skipped if --fast)

  1. Validate code: invoke the [validate-code](../validate-code/SKILL.md) skill. Auto-fixes formatting, verifies types, runs tests.

- If validate-code returns FAIL → report errors, STOP. Do not commit or push.

  1. Sensitive data scan: invoke the [safe-repo](../safe-repo/SKILL.md) skill against the staged + unstaged diff only (not the whole repo).

- If sensitive data found → report findings, STOP. Do not commit or push.

Phase 2 — Commit

  1. Review all changes from status and diff
  2. Analyze recent commit style from log
  3. Group changed files by logical concern using [commit grouping rules](../commit/SKILL.md#grouping-rules)
  4. For each group: stage specific files by name, commit with HEREDOC format
  5. If all changes form one logical unit, stage files by name (never git add -A or git add .)

Phase 3 — Push

  1. Push: git push (current branch)
  2. Run git status after to verify

Rules

  • Pre-launch gate runs by default; only skip via --fast with a stated reason; never --fast on main/release branches
  • Group changes into atomic commits when they serve distinct purposes
  • NEVER force push (-f or --force)

Error Handling

  • If git push is rejected (non-fast-forward) → run git pull --rebase then retry push once
  • If pre-commit hook fails → fix reported issues, re-stage, create a NEW commit (never --amend)
  • If --fast is used → log "Pre-launch gate skipped via --fast" in agent output for traceability