AGENT SKILL

issue-branch-prefix

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

License 许可
GPL-3.0
最近更新
2026-11-14
Stars
★ 0
Forks
0

01 前言 Front Matter

name
issue-branch-prefix
description
Resolve 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.

03 SKILL.md 正文

Print the prefix mode .issues/repo-config.md names in issue-branch-naming-prefix, and the literal prefix that mode resolves to for this user. A caller that names an issue branch takes the prefix from here rather than reading .issues/ files itself or asking the human.

Invocation

/issue-branch-prefix

No arguments.

Execution

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

issue-branch-prefix

It reads only config files, makes no gh call, and writes nothing. Print its stdout as it stands. On a non-zero exit, relay its stderr verbatim and stop.

Output

Exactly two lines:

mode: <none|initials|name>
prefix: <value>/

Read each line's value as everything after the first :, trimmed of leading and trailing whitespace. Under none the prefix: value is empty. Under initials or name it is the user-config key branch-prefix-initials or branch-prefix-name followed by /, the repo-level user-config's value taking precedence over the user-global one's (skills/lib/user-config.md → "Owned keys").

It exits non-zero, before printing anything, when:

  • .issues/repo-config.md is missing, stale, or lacks the issue-branch-naming-prefix key;
  • the mode is not none, initials or name;
  • the mode's user-config key is unset or empty in both scopes — the message names the key and the two skills that set it, /issues:user-config and /issues:global-user-config;
  • the resolved value contains / or whitespace.

Jira backend

The prefix does not depend on the tracker: the script reads a repo tracked in Jira exactly as one tracked in GitHub.

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