issue-field-options
Report a slot's configured kind, default, and options, or range bounds for a number slot (status, priority, size, or any configured slot), or every slot's when none is named — in this repo or, named positionally, in another. Read-only.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- issue-field-options
- description
- Report a slot's configured kind, default, and options, or range bounds for a number slot (status, priority, size, or any configured slot), or every slot's when none is named — in this repo or, named positionally, in another. Read-only.
03 SKILL.md 正文
Report what repo-config says a field slot accepts: its kind:, its
default:, and its option names, in configured order. This is the
verb a caller uses when it has to choose an option rather than set
one it already has — /issue-set-<slot> resolves a name the caller
brings, and says nothing about which names exist.
Invocation
/issue-field-options every slot, current repository
/issue-field-options <slot> one slot, current repository
/issue-field-options <repo> <slot> one slot, that repository
/issue-field-options [<repo>] --all every slot, the current or that repository
<slot>: a key under the tracker block'sfields:map —status,priority,size, or any other slot the repo declares. Matched case-insensitively against the configured keys. Every slot is reported in the order the keys appear in the file.<repo>: report this repository's slots instead of the current one's, written in any formskills/lib/issue.md→ "Repositories and issue references" lists. The script reads that repo's.issues/repo-config.mdfrom its default branch and reads nothing from the current repo's repo-config. A target with no repo-config reports every slot as unconfigured; a target at an unsupported schema-version aborts.
Without --all, one positional is a slot and two are <repo> <slot>.
With --all, at most one positional is accepted and it is the
repository; --all with a slot is a usage error. There is no --repo
flag; passing one is a usage error.
Execution
Run the issue-field-options script, which this plugin puts on
PATH, with the Bash tool from inside the repo's working tree:
issue-field-options [[<repo>] <slot>]
issue-field-options [<repo>] --all
Without a <repo> it reads only .issues/repo-config.md and makes no
gh call; with one, it reads the target's repo-config through gh.
Either way it works without a project board and writes nothing. Print
its stdout as it stands; on a non-zero exit, relay its stderr verbatim
and stop.
Output
One block per slot, separated by a blank line. The block's first line
is the slot and its kind, followed — when the slot declares a
default: — by a space and (default: <value>); a slot with no
default: has no suffix. An
option-carrying slot then prints one option name per line, indented two
spaces, in the config's own order and with its own capitalization; an
option's ID is never printed. The default is printed in its option's
capitalization when it names one, and as the config spells it
otherwise:
status: single-select (default: Backlog)
Backlog
Ready
In progress
In review
Done
A kind: number slot prints the bounds it declares instead of
options:
priority: number (default: 3)
min: 1
max: 9
An unconfigured slot — kind: skip, absent from fields:, or named
when there is no tracker block — prints one line and exits zero:
effort: unconfigured
With no slot named and no tracker block, the whole output is
No fields configured.
Jira backend
The script reads the github-project: block only. Under
issues: Jira — in the repo-config it reads, the target's when a
<repo> is named — it exits non-zero with its fixed Jira message; read the
jira: block of that .issues/repo-config.md instead — its fields:
map has the same shape (skills/lib/repo-config.md → "jira: block") —
and render the same output from it. Nothing here needs acli.
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.