issue-set-priority
Set the priority slot on a single issue, dispatching on the slot's configured kind (number, single-select, issue-field, label, or skip).
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- issue-set-priority
- description
- Set the priority slot on a single issue, dispatching on the slot's configured kind (number, single-select, issue-field, label, or skip).
03 SKILL.md 正文
Set the priority slot on a single issue — the slot declared as
github-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 on
PATH, 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 nopriorityslot 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; follow
skills/lib/issue.md → "Jira backend" → "Metadata setters" instead.
04 同仓库更多 Skills
mask-inappropriate-language
Replace inappropriate language (profanity, slurs, strong insults) in provided text or a file with asterisks, character-for-character, preserving everything else.
theorem-agents-interface
The interface between the sdlc reviewer and the theorem agents it spawns — what each double-dash brief parameter means, and what each consequence class means. Preloaded into every theorem agent (sdlc:theorem-generator, the disprover, and the verifier) via its skills frontmatter, and read by name by the sdlc:theorem-based-pr-reviewer agent for what its briefs' parameters mean; not invoked from the user's slash menu.
sdlc-config-user
Interactively create or merge-update the repo user sdlc config, `<repo-root>/.sdlc/user-config.yml` (tier 3 — this user, this repo, never committed), and add it to the repo's tracked `.gitignore`.
sdlc-config-repo
Interactively create or merge-update the shared repo sdlc config, `<repo-root>/.sdlc/repo-config.yml` (tier 2 — tracked, every user of this repo).
sdlc-config-global
Interactively create or merge-update the global user sdlc config, `$XDG_CONFIG_HOME/sdlc/user-config.yml` (tier 1 — this user, every repo on this machine).
pr-read-cli-interface
The contract for sdlc's PR-read CLIs — sdlc-pr-round, sdlc-pr-adjustments, sdlc-fixer-brief and sdlc-records-chain — their arguments, exit codes and output grammar. Preloaded into sdlc:theorem-based-pr-reviewer, sdlc:issue-fixer, sdlc:docs-writer and sdlc:pr-finalizer via their skills frontmatter; not invoked from the user's slash menu.