ワンクリックで
ship
Commit, push, create/merge PR, sync local default branch, delete branch. The standard "I'm done with this branch" workflow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Commit, push, create/merge PR, sync local default branch, delete branch. The standard "I'm done with this branch" workflow.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Use when looking for the next ticket to work on. Detects the project's ticket system (GitHub Issues, Jira, GitLab Issues, Azure Boards, etc.), fetches actionable open tickets that are unassigned or assigned to you, scores by severity/simplicity/value/blocking-power/dependencies, picks the best candidate, claims it by self-assigning (team-safe), branches, implements, tests, formats, and waits for review with a UI testing tip. Accepts an optional ticket ID argument (e.g., `/next-ticket 42`, `/next-ticket PROJ-42`) to skip evaluation and pick up a specific ticket directly.
Format, lint, test, commit, push, and create a pull request. The single "I'm done" command.
Compress markdown files into concise prose to save input tokens. Default mode reduces verbosity without losing information. With deep, verifies each section against the codebase first, removing stale or incorrect content before compressing. Trigger: /compress-markdown [deep] <filepath>
Craft a well-researched, well-structured ticket from a user-provided idea. Explores project context when available, researches prior art, asks clarifying questions only when options are too nuanced to auto-resolve, deduplicates against the existing backlog, and files one world-class ticket. Works for new or mature codebases.
Read PR review comments, validate against code, fix valid ones, push, resolve addressed threads, and explain unresolved ones.
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
| name | ship |
| description | Commit, push, create/merge PR, sync local default branch, delete branch. The standard "I'm done with this branch" workflow. |
| disable-model-invocation | true |
Complete the current branch by committing, pushing, merging, and cleaning up.
Resolve default branch (shared branch lifecycle contract from AGENTS.md):
BASE_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/origin/||')
if [ -z "$BASE_BRANCH" ]; then
git rev-parse --verify main >/dev/null 2>&1 && BASE_BRANCH=main || BASE_BRANCH=master
fi
Review uncommitted changes: Run git status and git diff to see what's uncommitted. If any files or changes look suspect, prompt the user and wait for confirmation before committing.
Commit: Stage and commit the confirmed changes with a Conventional Commits subject based on the diff. Pick the type from the work itself: feat: for new functionality, fix: for bugfixes, refactor: for restructuring without behavior change, docs: for documentation, style: for formatting, test: for tests, perf: for performance, build: for build-system changes, ci: for CI configuration, chore: for everything else. Only feat: and fix: drive a release-please bump, so misclassifying functional work as chore: silently skips its release.
Pre-push gate (build the publication inventory before any push):
BASE_BRANCH=$(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's|refs/remotes/origin/||')
if [ -z "$BASE_BRANCH" ]; then
git rev-parse --verify main >/dev/null 2>&1 && BASE_BRANCH=main || BASE_BRANCH=master
fi
git diff --name-status "$BASE_BRANCH"...HEAD lists every committed path the push will publish. Read this list..env, .env.*, *.pem, *.key, id_rsa*, *.p12, *.pfx, *credential*, *secret*, or *.sqlite*. The user must remove the path, add it to .gitignore, or explicitly confirm before push continues.Push: Push the current branch to origin with -u flag if not already pushed.
Create PR (if none exists): Create a PR using gh pr create. Use commit messages to generate the title and body. For forked repos, use --repo targeting the user's fork (origin), never upstream.
Resolve merge strategy: Read cached repository policy from $(git rev-parse --git-dir)/agents/repo-policy.json if present and fresh. If missing, stale, invalid, or for a different repository, refresh it with gh repo view --json nameWithOwner,mergeCommitAllowed,squashMergeAllowed,rebaseMergeAllowed,deleteBranchOnMerge and write the result back to the cache.
Merge PR: Choose the first allowed strategy in this order: --merge when mergeCommitAllowed is true, else --squash when squashMergeAllowed is true, else --rebase when rebaseMergeAllowed is true. Merge with gh pr merge <strategy>. For forked repos, use --repo targeting the fork. If no strategy is allowed, stop and report the repository merge policy.
Sync default branch: git checkout "$BASE_BRANCH" && git pull origin "$BASE_BRANCH"
Clean up: Delete the merged branch locally (git branch -D). Only delete the remote branch (git push origin --delete) if it still exists. Some repos auto-delete branches on merge.
Report: Confirm done with the merged PR URL.
$(git rev-parse --git-dir)/agents/repo-policy.json. Do not assume .git is a directory; always resolve it with git rev-parse --git-dir so worktrees are handled correctly.{
"schemaVersion": 1,
"repository": "owner/name",
"github": {
"mergePolicy": {
"mergeCommitAllowed": false,
"squashMergeAllowed": true,
"rebaseMergeAllowed": true,
"deleteBranchOnMerge": true,
"fetchedAt": "2026-04-15T16:55:00Z"
}
}
}
$BASE_BRANCH and no uncommitted changes, warn and stop.