Set the priority slot on a single issue, dispatching on the slot's configured kind (number, single-select, issue-field, label, or skip).
Install
npx skillscat add thevoskamps/claude-plugins-marketplace/issue-set-priority Install via the SkillsCat registry.
Set the priority slot on a single issue — the slot declared asgithub-project.fields.priority in .issues/repo-config.md. What<value> means depends on the slot's kind:, and the script writes
it through that kind's own path: a project field, a native GitHub
issue field, or a label.
Invocation
/issue-set-priority <issue> <value><issue>(required): an issue reference. In another repo the slot is that
repo's own.<value>(required): one argument, quoted when it has spaces. By the
slot's kind:kind: number— an integer within the slot'smin/max.kind: single-select,kind: issue-field,kind: label— an option name, matched case-insensitively.
GitHub's nativePriorityfield, the usualissue-fieldbacking,
has the optionsUrgent,High,Medium,Low.kind: skipor slot absent — ignored.
Run
/issue-field-options prioritywhen you need to choose a value
rather than set one you already hold.
Execution
Run the issue-set-priority script, which this plugin puts onPATH, with the Bash tool from inside the repo's working tree:
issue-set-priority <issue> "<value>"The script validates the value, skips the write when the slot already
holds it (every kind but number), and otherwise writes it and
re-reads the slot, exiting non-zero when the re-read does not show the
value it set. Print its stdout as it stands. On a non-zero exit, relay
its stderr verbatim and stop: it carries the canonical wording for a
missing github-project: block, an issue not found, an out-of-range
number, a name not in the options, a value of the wrong shape for the
kind, a stale field ID (re-run /repo-config), a viewer who may not
set native issue fields, or a write that did not land.
Output
On success, exactly one line; no URL:
#<N> priority set to <value>.
#<N> priority set to <CanonicalOption> (via label `<namespace><Option>`).The second form is a kind: label slot's. When the slot already held
the value, set to reads already set to. The option name always
carries the config's capitalization, not the caller's.
When the slot is kind: skip or absent from fields:, the script
prints this line instead and exits zero — a warning, not an
error:
/issue-set-priorityhas nothing to do: this repo has nopriority
slot configured. (Run/repo-configto add one.)
For an issue in another repository, the line names that repository in
place of this repo, and says to run /repo-config in it.
Jira backend
The script serves the GitHub backend only. Under issues: Jira it
exits non-zero with its fixed Jira message before it reads or writes an
issue; followskills/lib/issue.md → "Jira backend" → "Metadata setters" instead.