issue-close
Close an issue by its reference, in this repo or another; optionally post a summary comment first. Dispatches by repo's `issues:` tracker.
- License 许可
- GPL-3.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- issue-close
- description
- Close an issue by its reference, in this repo or another; optionally post a summary comment first. Dispatches by repo's `issues:` tracker.
03 SKILL.md 正文
Close one issue, identified by its reference. Optionally post a summary comment before closing it.
Invocation
/issue-close <issue> [--comment "summary"]
<issue>— required. An issue reference.--comment "summary"— optional. Posted verbatim as a new comment before the issue is closed.
If <issue> is missing, ask the user for it. Do not search for
"relevant issues" by title or by recent work — this skill closes
exactly the issue that was passed.
Execution
Run the issue-close script, which this plugin puts on PATH, with
the Bash tool from inside the repo's working tree:
issue-close <issue> [--comment "<summary>"]
The script posts the comment first and stops without closing when the
comment fails, so the summary trail is never missing from a closed
issue. After closing, it re-reads the issue's state and exits non-zero
unless it reads CLOSED. Print its stdout as it stands. On a non-zero
exit, relay its stderr verbatim and stop.
Output
Closed issue #<N> "<title>".
comment: posted
state: CLOSED
https://github.com/<owner>/<repo>/issues/<N>
comment: reads not posted when no --comment was given. When the
comment carries a closing keyword (close, closes, closed, fix,
fixes, fixed, resolve, resolves, resolved, any case) followed
by #<N>, the script appends a note naming each such issue, because
that pattern auto-closes it:
note: your comment contained closing keyword(s) referencing #X, which will auto-close that/those issue(s).
The note does not block the close — the comment is the caller's, and passes through verbatim either way.
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" → "Close" instead, with the
same comment-then-close order and the same closing-keyword note.
Hard constraints
- Never close an issue you weren't given. The
<issue>operand is the only input that identifies the target. - Never place a closing keyword before an issue reference in a
comment you write. A closing keyword immediately followed by an
issue reference (
#N,owner/repo#N,GH-N, or an issue URL) cascade-closes the referenced issue. The same keywords as ordinary prose with no adjacent reference are fine. A user-supplied--commentwith that pattern passes through verbatim — that's their call.
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.