/issues:global-user-configfrom issues
Interactively create or merge-update the user-global `$XDG_CONFIG_HOME/issues/user-config.md` (machine-wide; all repos on this machine).
Ships in issues. 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.
None: SKILL.md is the whole skill.
You are running the /global-user-config skill. Your job is to create
or merge-update the user-global user-config file at
$XDG_CONFIG_HOME/issues/user-config.md by interviewing the user.
This file records machine-wide per-user settings that apply to
every repo this user works in on this machine. It is the user-global
counterpart to the repo-level .issues/user-config.md written
by the sibling skill /user-config. See skills/lib/user-config.md
for the shared schema, the read contract, and the two-scope model.
Both user-config files are named user-config.md. This skill writes
only the user-global one at
$XDG_CONFIG_HOME/issues/user-config.md, resolved as
skills/lib/user-config.md → "Where $XDG_CONFIG_HOME resolves"
defines it. It never touches a repo-level
<repo-root>/.issues/user-config.md — that is /user-config's job.
Be unambiguous about scope at every step.
identity-key is repo-level only (a per-repo-per-user binding),
so this user-global skill does not interview for it. Keys here are
machine-wide defaults that make sense across all repos.
/repo-config is full-rewrite. /global-user-config is merge,
exactly like /user-config, because the user-global file is also
multi-writer: different skills own different keys. So this skill:
schema-version to the current version.If the file does not exist yet, "merge" degenerates to "create a new file with this run's keys plus the version stamp".
Follow the steps below in order. Do not write the file until the user has explicitly approved the proposed content.
This skill writes under the user's config home, not a repo, so there
is no git-working-tree precondition. Resolve the target path as
skills/lib/user-config.md → "Where $XDG_CONFIG_HOME resolves"
defines it:
$XDG_CONFIG_HOME/issues/user-config.md
The directory may not exist on a machine that has never run this
skill. The Write tool creates it; if your tool path does not, run
mkdir -p on the parent first.
The path sits outside every git clone, so a user's private values are never committed or mirrored by construction. There is no
.gitignoreentry to add, and this skill adds none.
Check whether $XDG_CONFIG_HOME/issues/user-config.md exists.
schema-version. If absent or stale (less than current
version 1), note the merge will migrate the stamp up. Do not
abort — this skill is the tool that fixes a stale user-global
stamp.The current schema-version constant baked into this writer is:
SCHEMA_VERSION = 1
See skills/lib/user-config.md for the reader contract.
Use AskUserQuestion. The user-global user-config has no required
keys — at schema-version 1 every key is optional and the file may
contain only schema-version. The interview is an offer, not a
gauntlet.
Ask which machine-wide per-user settings to record. Present the keys this skill knows about, each with a "leave unset" option, plus an "Other" branch:
default-assignee — an optional assignee identifier in the
form the tracker accepts wherever it is used (a GitHub login on
GitHub; an Atlassian account identifier on Jira), used as a
machine-wide self-assign default by the example consumer in
skills/lib/user-config.md. One value serves every repo on this
machine, so a user whose repos span both trackers sets the
repo-level key with /user-config instead. Recommended: leave
unset.branch-prefix-initials — the initials an issue-branch name
carries in front of / in every repo whose repo-config sets
issue-branch-naming-prefix: initials, unless that repo's
repo-level user-config overrides it. No / and no whitespace.
Recommended: leave unset unless a repo uses that mode.branch-prefix-name — the same, for
issue-branch-naming-prefix: name.key: value pair the user wants as a machine-wide
personal setting (preferred-editor, default-reviewer, etc.).
Capture key and value as strings. Repeat until done.This skill does not offer identity-key — that is repo-level
only (use /user-config).
For each key:
A "leave unset" answer for a key that already exists means "do not change it" — never delete a sibling on "leave unset". Deletion requires an explicit user request.
If the user wants nothing recorded and the file does not exist,
confirm they still want a stub (schema-version: 1 only) so future
skills have something to merge into. A stub is valid.
Merge the same way /user-config does:
schema-version: 1 (first key in output).Render order: schema-version first, then remaining keys —
pre-existing keys keep their relative order, newly-added keys append
after. Quote any value YAML would misparse.
Render the full merged file exactly as it will appear on disk:
front-matter (schema-version: 1 first, all preserved + changed
keys) plus the canonical body template from Step 6. For an existing
file, also show a short diff summary: which keys this run changes,
which it preserves untouched.
Then ask explicitly:
Write
$XDG_CONFIG_HOME/issues/user-config.md(merged) as shown? (y to proceed, or tell me what to change)
Wait for explicit approval. If the user asks for changes, loop back to Step 3, then re-render here.
On approval, use the Write tool to write the full merged content
(front-matter from Step 4 + body template below) in one call. The
content is a merge even though the write replaces the file; never
use Edit to surgically rewrite one key — recompute the whole merged
front-matter so the version stamp and key order stay consistent.
Compose in this order:
schema-version: 1 first, then
preserved + changed keys).# User Config (user-global).The canonical body template:
# User Config (user-global)
Machine-wide per-user config: **this user, all repos, this machine.**
Private — never committed. Lives outside every git clone, so values
never get committed or mirrored. The per-repo-per-user counterpart is
`<repo-root>/.issues/user-config.md` (written by `/user-config`).
Read via the contract in `skills/lib/user-config.md`. Written and
merge-updated by `/global-user-config` — the file is
**multi-writer**, so the skill replaces only the keys it owns and
preserves keys written by other skills.
## Keys
- **schema-version**: integer naming the file's schema version.
Current version is `1`. Writers stamp it; readers (see
`skills/lib/user-config.md`) gate on it. Do not edit by hand.
- **branch-prefix-initials** *(optional)*: the initials an
issue-branch name carries in front of `/` in every repo whose
repo-config sets `issue-branch-naming-prefix: initials`, unless that
repo's repo-level user-config overrides it. No `/` and no
whitespace.
- **branch-prefix-name** *(optional)*: the same, for
`issue-branch-naming-prefix: name`.
- *(other keys)*: any machine-wide per-user value future skills
record. Unknown keys are preserved on merge and ignored by readers
that do not consume them.
There are **no required keys** beyond `schema-version`. A file
containing only the version stamp is valid — these files are
forward-looking and start mostly empty.
`identity-key` does **not** live here — it is a per-repo-per-user
binding and lives only in the repo-level user-config.
## Resolution against the repo-level file
Readers that consult both scopes use **repo-level overrides
user-global** (see `skills/lib/user-config.md`). A value here is the
machine-wide default; a repo-level user-config can override it for
one repo.
After the Write call, re-read the file and confirm the points
below. This re-read is content verification, not write
verification: Write already errors if the bytes did not land, so
the goal here is to confirm the merge produced the intended
content — schema-version stamped, owned keys updated, siblings
preserved — which a successful Write alone does not guarantee.
Keep this step even though it looks redundant with Write success.
schema-version: 1 first.If verification fails, surface the discrepancy and stop — do not attempt a corrective second write.
Report back:
$XDG_CONFIG_HOME/issues/user-config.md
with the variable resolved.schema-version.schema-version.identity-key — that is repo-level only.
Direct the user to /user-config for it.$XDG_CONFIG_HOME/issues/user-config.md. This skill does not touch
any repo, does not edit .gitignore (the path is in no clone), and
does not run git commands.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub thevoskamps/claude-plugins-marketplace --plugin issues26 skills in this plugin
/issue-addDeprecated alias for /issue-create. Kept for muscle memory./issue-branch-prefixResolve the literal prefix that goes in front of an issue-branch name, from the repo-config's issue-branch-naming-prefix mode and the user-config's branch-prefix-initials or branch-prefix-name value. Read-only./issue-closeClose an issue by its reference, in this repo or another; optionally post a summary comment first. Dispatches by repo's `issues:` tracker./issue-commentAdd a comment to an issue by its reference, in this repo or another, with the body read from a file. Dispatches by repo's `issues:` tracker.Other plugins' skills for the same job