closeissue

Installation
SKILL.md

closeissue — close the target / current feature issue

运行环境入口约定:本仓库的 .claude/skills 以 Claude Code 为源,示例默认写 /tunan:*。若同一 skill 在 Codex 中运行,所有面向 sponsor 的可复制入口在输出前改写为 $tunan:*;Claude Code 中保持 /tunan:*。

何时触发:用户说 "close the issue" / "关闭这个 issue" / "关掉当前 req" / "close this req" / "/tunan:closeissue"。

This skill closes a single GitHub issue. With an explicit number it closes that issue; without one it resolves the feature issue behind the work currently in progress — the single tunan:req issue that holds the requirement, plan, and solution for the active branch / PR / plan (one feature = one issue for its whole lifetime) — and closes that. Closing is a shared-state action, so the skill always confirms the resolved target before closing unless --yes is passed.

调用语法

/tunan:closeissue [<issue>] [开关]
  • <issue> — issue number (42 / #42) or URL. Omit to resolve the current feature issue.
  • --reason=completed|not_planned — close reason (default completed; use not_planned when the requirement is being dropped rather than shipped).
  • --comment=<text> — post this text as a comment before closing (e.g. a closing note or the PR/commit that resolved it).
  • --yes — skip the confirmation prompt (use only when the target is unambiguous and the user has already authorized closing).
Installs
20
First Seen
Jul 4, 2026