/colin-shipping:colin-commit-and-push Special instructionsfrom colin-shipping
Commits staged changes, pushes to a new or existing branch, and opens or updates a GitHub PR or GitLab MR. Automatically gathers git state, creates feature branches, and writes PR/MR bodies.
Ships in colin-shipping. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Gather the current state first. Run these in a single tool-turn batch:
git status
git diff HEAD --stat
git branch --show-current
git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo None
git remote -v
git log -n 3
gh pr status 2>/dev/null || glab mr view 2>/dev/null | head -n 10 || true
Based on that state and the context of this session:
Create a new branch if on main/master using {task-id}_{Screaming-Kebab-Case-short-description} when related to a task, else {feature|bug|other}/{Screaming-Kebab-Case-short-description}.
UNLESS instructed to push to main/master and IF the current remote tracking branch is main/master, then UNSET the upstream (git branch --unset-upstream) to avoid pushing the feature branch to main.
Stage files you created/modified/deleted. Do not add PLANS-*.md, SPECS-*.md, or pre-existing untracked plans unless specified.
Create a single commit with a message matching recent style (git log -n 3).
Push to origin unless a different remote is specified or already tracked. Never push a feature branch to main.
Write the PR/MR body and any commit note by loading colin-mr-description and following it. If the user or Special Instructions ask for a quick, fast, or simple PR/MR, skip that skill and write a short Summary and Test Plan instead.
Open or update the hosted review item with the ship script (do not Skill-load full glab-cli / gh-cli for the happy path):
GitLab (detect via git remote):
# Write MR body and optional AI commit note to files first
bun "${CLAUDE_SKILL_DIR}/../glab-cli/ship-mr.ts" \
--title "<title>" \
--description-file /abs/body.md \
--note-file /abs/note.md # omit if no note
Resolve CLAUDE_SKILL_DIR to this skill’s directory, including when installed in a plugin cache.
GitHub:
gh pr create --title "<title>" --body-file /abs/body.md
# or if PR exists:
gh pr edit <PR_NUMBER> --body-file /abs/body.md
gh pr comment --body-file /abs/note.md
For full PR context later, use gh-cli/pr-context.ts — not needed for ship.
colin-mr-description — including capturing new screenshots for any newly added user-visible features/states and recapturing existing screenshots affected by the update so ## Screenshots reflects the post-update functionality.glab-cli / gh-cli only if the ship script/API fails or you need inline discussions, uploads, or pagination edge cases.git status --short after push.
Remind the user to request review (do not run these):
gh pr edit <PR_NUMBER> --add-reviewer username1,username2glab mr update <MR_IID> --reviewer username1,username2Do as much as possible in one tool-turn batch. Reply with a short list of what you did plus the review-request reminder.
$ARGUMENTS
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
git-workflow, commit-push, pull-request, merge-request, github, gitlab
Other plugins' skills for the same job
34 skills in this plugin
/cclsp-fix-diagnosticsScan a codebase with the CCLSP MCP and fix reported diagnostics. Language- and project-agnostic. Use for "fix all the LSP errors", "check the workspace for errors", "fix diagnostics in <path>", or auditing a branch/PR/commit range for new errors. Default scope is the whole codebase, chunked. User can narrow to files, folders, commits, ranges, branches, PRs, or MRs./clickup-task-authoringAuthor a ClickUp task from a conversation, plan, review, incident, or spec as CUFM via cup task-sync. Covers the source-fidelity ledger, the house voice for task copy (plain verbs, declarative mood, paragraphs over lists, 5% length budget), rich description structure (banners, toggles, mermaid, tldraw, tables), open-decision blocks (question, AI Recommendation, two alternatives), title conventions, workspace Value Stream / Requested By / Bug-type rules, and the post-write audit. Use when creating or updating ClickUp task content (file a bug, write a ticket, turn this into a task). Load the clickup skill from `cup skill` for CUFM syntax and task-sync flags. Workspace IDs come from `cup` or a project ClickUp skill. Formerly clickup-tasks./cli-designDesign, implement, or review CLI UX: args, flags, help, output, errors, config, interactivity, and distribution.npx claudepluginhub colinmollenhour/dotfiles --plugin colin-shipping