Skip to content
Agentmart
Submit a tool

ship

End-to-end git workflow: commit changes, push to branch, and open a PR.

Skill by tezansahu

IndexedGPL-3.0★ 16
Write a review

Chalk Labs

Need help deploying ship?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/tezansahu-ship

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

End-to-end git workflow: commit changes, push to branch, and open a PR. Handles both staged and unstaged changes. When files are staged, commits them directly. When nothing is staged, discovers all changed files, groups them logically, and creates progressive commits before pushing and opening a PR. Triggers on: "/ship", "ship these changes", "commit push and PR", "commit the staged stuff and open a PR", "push and PR", "create commits from staged changes and raise a PR", "ship it". Do NOT trigger for plain commit-only requests (/commit) or general git questions.

Use cases: productivity

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/ship

What's inside

Skill name
ship
Description
End-to-end git workflow: commit changes, push to branch, and open a PR. Handles both staged and unstaged changes. When files are staged, commits them directly. When nothing is staged, discovers all changed files, groups them logically, and creates progressive commits before pushing and opening a PR. Triggers on: "/ship", "ship these changes", "commit push and PR", "commit the staged stuff and open a PR", "push and PR", "create commits from staged changes and raise a PR", "ship it". Do NOT trigger for plain commit-only requests (/commit) or general git questions.
License
GPL-3.0
Instructions
116 lines in SKILL.md · view on GitHub

Files (3)

  • SKILL.md
  • staged-workflow.md · references/
  • unstaged-workflow.md · references/

SKILL.md (first lines)

## Overview

Ship all pending work: commit, push, and open a crisp PR. Works in two modes:

| Mode | Trigger | Behavior |
|------|---------|----------|
| **Staged** | Files are staged (`git diff --staged` is non-empty) | Single commit of staged files |
| **Auto-group** | Nothing staged, but unstaged/untracked changes exist | Discover → group → progressive commits |

## Workflow

### 1. Detect mode & prepare

```bash
git diff --staged --name-status
```

- **Non-empty** → **Staged mode**: follow [references/staged-workflow.md](references/staged-workflow.md)
- **Empty** → check for unstaged/untracked changes:
  ```bash
  git status --porcelain
  ```
  - **Non-empty** → **Auto-group mode**: follow [references/unstaged-workflow.md](references/unstaged-workflow.md)
  - **Empty** → nothing to ship. Stop and tell the user.

### 2. Resolve branch

```bash
git rev-parse --abbrev-ref HEAD
```

- **On `main` (or `master`)**: create a new feature branch:
  ```bash
  git checkout -b u/tezansahu/<camelCaseDescriptor>
  ```
  Derive `<camelCaseDescriptor>` from the changes (e.g., `addShipSkill`, `fixLatencyMetrics`, `authAndDocs`). Always camelCase, always `u/tezansahu/` prefix.
- **On a feature branch**: stay on it.

### 3. Commit

Use Conventional Commits prefixes (`feat:`, `fix:`, `docs:`, `chore:`, `refactor:`, `test:`, `perf:`). Focus on **why**, not just what.

```bash
git commit -m "$(cat <<'EOF'
<type>: <concise 1-line summary>

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
EOF
)"
```

Use the exact model name matching the current session (default: `Claude Sonnet 4.6`).

- **Staged mode**: single commit of all validated staged files.
- **Auto-group mode**: progressive commits — stage and commit one group at a time per the approved plan. Verify each with `git log -1 --oneline` before moving to the next.

**Hard rules:**
- Never `--amend` — always create a new commit
- Never `--no-verify` — if a hook fails: diagnose, explain to user, propose fix, wait for confirmation, then create a new commit
- Verify after commit: `git log -1 --oneline`

### 4. Push

```bash
# Check if upstream is set:
git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null

# No upstream (new branch):
git push -u origin <branch>

# Upstream already set:
git push
```

Never force-push.

### 5. Open PR

Analyze all commits on the branch:

```bash
git log main..<branch> --oneline
```

```bash
gh pr create --title "<concise title under 70 chars>" --body "$(cat <<'EOF'
## Summary
- <bullet 1>
- <bullet 2 if needed>

## Test plan
- [ ] <what to verify>

---
Co-authored with [GitHub Copilot](https://github.com/features/copilot)
EOF
)"
```

**PR rules:**
- Title: short, factual, under 70 chars
- Summary: 1–3 bullets — what changed and why. For multi-commit PRs, summarize the overall change
- Test plan: concrete checkboxes, not boilerplate
- Footer: `Co-authored with [GitHub Copilot](https://github.com/features/copilot)` when running as Copilot; `Co-authored with [Claude Code](https://claude.com/claude-code)` for Claude Code sessions

Return the PR URL to the user.

## Secret files

In both modes, warn and exclude these from staging/committing:
- `.env`, `.env.*`
- `credentials.json`, `**/credentials.json`
- `*.pem`, `*.key`, `*.p12`, `*.pfx`
- Any file matching common secret patterns

From tezansahu/ai-garage, GPL-3.0.

More from tezansahu/ai-garage

Signals

Stars
16
Forks
8
Open issues
1
Last commit (this folder)
Jul 7, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
GPL-3.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from tezansahu

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get ship running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying ship?

CallGet help
Cite this page

ship skill. Agent Mart. https://agentmart.dev/skills/tezansahu-ship (last updated 2026-10-24)