AGENT SKILL

issue-set-size

Set the size 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-size
description
Set the size 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 size slot on a single issue — the slot declared as github-project.fields.size 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-size <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's min/max.
    • kind: single-select, kind: issue-field, kind: label — an option name, matched case-insensitively. A size slot backed by GitHub's native Effort field takes that field's own options, High / Medium / Low, not a t-shirt set.
    • kind: skip or slot absent — ignored.

    Run /issue-field-options size when you need to choose a value rather than set one you already hold.

Execution

Run the issue-set-size script, which this plugin puts on PATH, with the Bash tool from inside the repo's working tree:

issue-set-size <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. A kind: label write also removes the slot's other option labels, so at most one remains; labels in the namespace that are not among the slot's options are left alone. 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> size set to <value>.
#<N> size 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-size has nothing to do: this repo has no size slot configured. (Run /repo-config to 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

TheVoskamps
TheVoskamps/claude-plugins-marketplace

mask-inappropriate-language

Replace inappropriate language (profanity, slurs, strong insults) in provided text or a file with asterisks, character-for-character, preserving everything else.

★ 0
TheVoskamps
TheVoskamps/claude-plugins-marketplace

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.

★ 0
TheVoskamps
TheVoskamps/claude-plugins-marketplace

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`.

★ 0
TheVoskamps
TheVoskamps/claude-plugins-marketplace

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).

★ 0
TheVoskamps
TheVoskamps/claude-plugins-marketplace

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).

★ 0
TheVoskamps
TheVoskamps/claude-plugins-marketplace

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.

★ 0