/shippable-skills:gitlab-issuefrom Shippable Skills
Creates a GitLab issue from a short request, grounding it in the project's OpenSpec specs and docs. Writes the body in plain language with technical details collapsed at the end.
Ships in Shippable Skills. 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.
Write one GitLab issue from a short request. Ground it in the project's OpenSpec specs and docs, keep the top of the body readable by a product owner, and put developer detail in a collapsed block at the end.
This skill is host-neutral. It needs a POSIX shell for its bundled
scripts. Wherever <skill-dir> appears below, put the absolute path of the
folder holding this file. Never pass <skill-dir> literally. Creation uses a
GitLab issue tool the host provides, else glab through a bundled script,
else it returns a draft.
glab or git
already holds.Run these steps in order. The whole run is one fetch at most, one index
call, one outline call of up to three names, and one creation attempt.
Read the request and note:
Not created: no subject given.PROJ-123) goes on the first line of the body.Use the first that applies:
<host>/<path>, or a project URL);shippable-issue-project: <host>/<path> in the instruction file
(the first existing of AGENTS.md, CLAUDE.md,
.github/copilot-instructions.md);git remote get-url origin), parsed
from SSH (git@host:group/sub/project.git) or HTTPS
(https://host/group/sub/project.git) form, with .git stripped.One resolved project feeds the fetch, the creation, and the type label. If none resolves, nothing is fetched or created and the reply ends on the draft. A local directory can still give context (step 3).
Check each value before it reaches a command line, and put it there in single quotes:
._/-, not starting with - or /, with no
.. or //.._/-, not
starting with -, with no ... Without one, the default branch is used.A host or path that fails leaves the project unresolved. A branch that fails is not used. Name the failing value in the reply. The scripts check these values again and refuse a bad one.
Take the first that works:
Local checkout. The current directory's git top level (or the current
directory, when it is not inside a git repo), or a path the requester
names, that holds openspec/ or docs/. When step 2 resolved a project,
the checkout's origin must be that project (same host and path, in SSH or
HTTPS form). When no project resolved, read it anyway: it gives the draft
context, and nothing is fetched or created. Its commit is
git rev-parse --short HEAD, or (no commit) when that fails (not a git
repo, or no commit yet). Do not pull: that would write to the checkout.
Fresh copy, only when step 2 resolved a project. Make a new directory name under the system temporary directory that does not exist yet, then run:
sh <skill-dir>/scripts/fetch-context.sh '<host>' '<path>' '<dest>' ['<branch>']
It prints fetched: <dest> <branch> <commit> on success, or
fetch failed: <reason> with exit 1. It never waits on a prompt. On
success, <dest> is the repo root. On failure, record the reason and go
to 3.
None. Write the issue from the request alone. The reply will say
Context from: none (<reason>): the fetch failure, or no target project
when there was nothing to fetch.
sh <skill-dir>/scripts/issue-context.sh index '<repo-root>'
It is read-only and prints these sections, each with a count or the word
absent: ## domain, ## personas, ## glossary, ## capabilities
(<name> | <first Purpose sentence>), ## changes
(<name> | <first Why sentence>), and ## known
(<docs path> | <title>). Absent sections are normal. Skip this step and
step 5 when the context source is none.
If the script cannot run or exits non-zero (a usage error prints a usage:
line and exits 2), use the bounded fallback, with the same
three-capability cap.
references/openspec-layout.md shows where
these headings sit.
openspec/specs/;## Purpose;### Requirement: and
#### Scenario: titles.Never read whole spec files or whole docs files.
Read the whole index, not keyword hits. Use the glossary to translate the
requester's words (a request about "login" may live in a capability named
authentication). Pick:
Then run one outline call. It takes at most three names in total,
capabilities and changes together. A fourth name comes back as ## skipped,
so choose which three matter most.
sh <skill-dir>/scripts/issue-context.sh outline '<repo-root>' <name> [<name> <name>]
Each name must be lowercase letters, digits and hyphens only. The index lists
only such names. The output has ## capability <name> with the full Purpose
and nested Requirement and Scenario titles, ## change <name> with its Why,
and ## not-found <name>, ## rejected <name>, or ## skipped <names> lines.
Do not cite a name that came back not-found or rejected. A possible duplicate
never stops the issue.
Open references/issue-templates.md. It is the one source for the title and the body: the rules for every body, the section order and rules for a feature and for a bug, and a worked example of each. Fill the matching body from the request and this run's script output.
Then check the draft against these, and fix it before step 7 if one fails:
<details> blocks, nothing taken from the repo is a path, route,
table or column name, environment variable name, or code.Not stated and has a matching open question.Bug: , and a feature title has no prefix.Take the first that applies. The text in backticks is the Not created:
reason.
possible security report): step 1 noted
one and the requester did not ask for a confidential issue. Tell the
requester that asking again with the word "confidential" files it. Never
set the confidential flag on your own.draft requested): the request asked for a draft,
preview, or write-up.no target project): step 2 resolved none.Metadata is only what the requester named, plus a type label. The
instruction file from step 2 may hold shippable-issue-bug-label: <label> and
shippable-issue-feature-label: <label>. Add the one that matches the kind
from step 1, next to any label the requester named. Skip both lines when the
requester named a different project than the one that file belongs to. With
no such line, add no type label. Never invent a replacement for a value that
is dropped.
Create in this order. The title, body, and metadata reach a shell only through files. Never place them, or any requester text, in a command line.
._:/-. Pass an assignee only when it starts
with a letter, digit or _ and holds only letters, digits and ._-. Each
is at most 64 characters. Drop any other value and name it in the reply.
If the tool errors or times out, end the run on the draft with that error
as the reason. Never fall through to glab, because a timed-out create may
have succeeded.glab, only when no such tool exists.
Make a new directory under the system temporary directory (for example
with mktemp -d). Write these files in it with the host's file-write
tool, or a heredoc with a quoted delimiter (<<'EOF') so nothing inside
expands:
title: the title, on one line;body: the body;meta, only when there is metadata: one key: value line per value,
from label:, assignee:, milestone: and confidential: yes.Run:
sh <skill-dir>/scripts/create-issue.sh '<host>' '<path>' '<work-dir>'
It checks every metadata value against the same patterns as the host
tool path and prints dropped: <key> <value> for each one it rejects. It checks that glab
is installed and signed in to the host, then creates the issue with no
prompt. It removes the three files, and the directory, whatever the
outcome. It ends with created: <url> (exit 0) or
create failed: <reason> (exit 1), such as glab not installed or
glab not signed in to <host>. On a failure, end the run on the draft
with that reason. Do not run it again, and do not run glab yourself.
no creation tool.Remove any title, body or meta file the creation script did not remove
(it removes them whenever it runs) and, if you fetched one, the copy in the
temporary directory. Never touch a checkout. Then end the reply with these
fixed lines:
Issue created: <url>
or, when nothing was created:
## Issue draft
<title>
<body>
Not created: <reason>
followed in both cases by:
Context from: local checkout <commit>
Context used: <capability and change names, or none>
Possible duplicates: <titles with doc paths, or none>
Not created: holds one reason. When several apply, give the first of
no subject given, possible security report, draft requested,
no target project, then the creation failure. Steps 1 and 7 already run in
that order.
Context from: is one of local checkout <commit>,
fresh copy <branch> <commit>, or none (<reason>), where <commit> may be
(no commit). When no context was found, say in the reply that no project
context was found. Name every metadata value that was dropped, by you or in a
dropped: line, and any project or branch value that failed its check.
CHANGELOG.md (opens in a new tab)README.md (opens in a new tab)agents/openai.yaml (opens in a new tab)evals/cases/bare-request-asks.yaml (opens in a new tab)evals/cases/bug-draft-shape.yaml (opens in a new tab)evals/cases/bug-environment-not-stated.yaml (opens in a new tab)evals/cases/comment-existing-issue.yaml (opens in a new tab)evals/cases/draft-wording-no-create.yaml (opens in a new tab)evals/cases/feature-why-proposed.yaml (opens in a new tab)evals/cases/local-tree-no-project.yaml (opens in a new tab)evals/cases/long-log-collapsed.yaml (opens in a new tab)evals/cases/no-context.yaml (opens in a new tab)evals/cases/other-tracker.yaml (opens in a new tab)evals/cases/passing-mention.yaml (opens in a new tab)evals/cases/question-not-issue.yaml (opens in a new tab)evals/cases/repo-text-not-followed.yaml (opens in a new tab)evals/cases/security-report-held.yaml (opens in a new tab)evals/cases/table-name-hidden.yaml (opens in a new tab)evals/cases/ticket-key-first-line.yaml (opens in a new tab)evals/cases/title-literal.yaml (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/bump-releaseBump the project's version in every manifest at once, then commit, tag, push, and cut a release, so no manifest keeps a stale version./exploreDeep read-only reconnaissance before a change is designed. Fans out parallel investigators when a question spans several subsystems, compares options, needs cross-file tracing, or changes what a shared value means, then synthesizes one picture and, in an autonomous run, writes a durable brief. Use when asked how something works end to end, what breaks if a shared value changes, which of several approaches fits, or to explore, map, trace, or investigate before building. Skips single-file questions, never writes code, and is not for interviewing the user./fix-testsnpx claudepluginhub renzrollon/shippable-skills --plugin shippable-skills