No slash command · from colin-shipping
Uses glab CLI for GitLab MRs, issues, pipelines, and API tasks. Bundles scripts for MR context, ship, and CI failure analysis.
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: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Prefer glab over browser workflows. Prefer bundled scripts over multi-step chat archaeology.
| Need | Script |
|---|---|
| Full MR context (view+notes+discussions+versions+diff) | bun "${CLAUDE_SKILL_DIR}/mr-context.ts" --project G/R --mr N --out-dir .tmp/mr-N |
| Create/update MR + optional note (commit-and-push path) | bun "${CLAUDE_SKILL_DIR}/ship-mr.ts" --project G/R --title "…" --description-file body.md [--note-file note.md] |
| Failed CI for branch/MR | bun "${CLAUDE_SKILL_DIR}/ci-fail.ts" --project G/R --branch B --out-dir .tmp/ci |
Each prints a JSON summary on stdout; large payloads stay on disk. Do not re-fetch the five MR endpoints one-by-one when mr-context covers it. Do not load this whole skill for a routine ship — run ship-mr.ts.
Detailed flag encyclopedia and edge cases: reference.md.
git remote / URL) and target (MR iid, branch, pipeline).glab with --output json + jq.glab api for gaps. :fullpath / :id resolve from cwd git remote — run inside the repo or pass numeric project id / -R.--yes, --title, …)..tmp/.glab mr view <iid> -R <project> --output json
glab mr list --source-branch "$(git branch --show-current)" -R <project> --output json
glab mr note <iid> -R <project> -m "text"
glab ci list --per-page 3 --output json
glab api "projects/:fullpath/merge_requests/<iid>/discussions?per_page=100" # paginate!
mr-context.ts paginates.-f is not file upload. -f [email protected] sends the literal string @body.md. Use --input + Content-Type: application/json for raw JSON bodies, --form "file=@path" for multipart uploads.ship-mr.ts does this).markdown / url fields — never full_path (breaks rendering). Verify with glab api /markdown from inside the repo.PRIVATE-TOKEN curl (session-only routes; you get a 302 to sign-in). To download an MR image: cd <repo> && glab api projects/<numeric-id>/uploads/<secret>/<file> > out (see reference.md). A 404 Project Not Found means glab ran outside the repo, not that the file is missing.Fetch version SHAs first; post via discussions API with position (+ line_range if multi-line). Verify "type": "DiffNote". One comment per issue. Suggestion blocks: multi-line needs ```suggestion:-N+M — see reference.md.
Surface auth/access errors; say when no MR/pipeline matches; re-fetch after mutations when confirmation matters.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub colinmollenhour/dotfiles --plugin colin-shipping34 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./colin-commit-and-pushCommit, push, and open/update a Github PR or GitLab MR (unless otherwise specified)/colin-critiqueMulti-model spec critique — surfaces inconsistencies, gaps, naming issues, and inferior design/colin-feature-exportCreate an implementation guide for a feature in this repo so you can port it to another repo