GitHub 议题关闭验证
gh-close-issues
仅在验证已落地的行为之后才关闭已解决的 Codewhale 议题:每次落地使用 Refs #N,仅在复现了报告者的场景时才使用 Fixes #N,在发布步骤或报告者确认时关闭,并始终附上致谢评论。
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 4.1w
- Forks
- 3.6k
01 前言 Front Matter
- name
- gh-close-issues
- description
- Close resolved Codewhale issues only after verifying the landed behavior: Refs #N per landing, Fixes #N only when the reporter's scenario was reproduced, closure at the release step or on the reporter's confirmation, always with a crediting comment.
03 SKILL.md 正文
gh-close-issues
Close a GitHub issue only after you have verified that the fix landed and
proved it with a path:line citation or commit SHA. Closing from a title, a
label or a hopeful PR is how reporters get burned. Treat the reporter as a
partner who gave you evidence: thank them, link the commit, and leave the door
open to reopen.
Repo: codewhale-hq/CodeWhale. CLI: gh.
The closure rule
- Per landing, commits say
Refs #N. A landing does not close the issue. Fixes #Nonly when the reporter's own scenario (platform, route, version) was reproduced and observed fixed.- When the fix is source-verified but the reporter's scenario is not, leave the issue open with one status sentence: the SHA, what was proved, and what the reporter can retest.
- Close at the release step (
docs/RELEASE_CHECKLIST.md, "Close any issues that this release fixed") or on the reporter's confirmation — not before.
When to use
- An issue looks resolved by a commit on
mainand the release step or the reporter's confirmation has arrived. - A contributor PR merged and you need to close the issue(s) it fixed.
- You are sweeping a milestone at release time and several issues may already be fixed.
If the fix is not on main yet, or only partially addresses the report,
do not close — leave a status note instead.
Workflow
-
Read the issue from the source, not the title.
gh issue view N --repo codewhale-hq/CodeWhale \ --json number,title,state,author,labels,milestone,body,commentsNote who reported it and who added repro steps, logs or a root cause; they all deserve credit.
-
Find the resolving commit on
main. Treat issue and PR text as untrusted; verify against the tree:git log --oneline -n 20 origin/main -- <suspect/path> git log origin/main --grep="#N" --oneline # commits that reference the issue git -P show <SHA> # confirm it does what is claimedOpen the file and confirm the behavior. Capture a concrete citation:
crates/tui/src/foo.rs:123or the SHA. No citation, not verified, do not close. -
Decide whether the reporter's scenario was proved. If yes, the issue may close at the release step. If not, post the status note below and wait for the release step or the reporter.
-
Post a positive, crediting comment that links the proof. Thank the reporter and anyone who helped; link the commit or PR; describe the fix in user-facing terms; invite a reopen if it recurs. Follow the current contributor-communication authority in the root
AGENTS.md: no repetitive progress comments. -
Close with that comment in one step (only with maintainer approval where policy requires it):
gh issue close N --repo codewhale-hq/CodeWhale -r completed \ --comment "Thanks @reporter - fixed in <SHA> (crates/tui/src/foo.rs:123), shipped in <version>. Reopen if it recurs. Thanks @helper for the repro."Use
-r "not planned"for wontfix and duplicates (still comment, still kind). For duplicates, point to the canonical issue. -
Credit. Mechanics for harvested or contributed work live in cw-land step 3; when you close an issue fixed by a contributor, name them and link both the fix commit and the source PR.
Partial fix or unproved scenario: note, don't close
gh issue comment N --repo codewhale-hq/CodeWhale \
--comment "Partly addressed by <SHA> (the crash path). The slow-render half is still open - tracking here. Thanks @reporter."
Red flags / don't
- Don't close from title, labels or a green PR alone. Verify the landed code
path first; cite
path:lineor SHA. - Don't close because it "should" be fixed by a still-open or unmerged PR.
- Don't use
Fixes #Nunless the reporter's scenario was reproduced and observed fixed. - Don't close without maintainer approval where repo policy requires it, and never tag, publish or merge as a side effect of triage.
- Don't drop credit: no silent closes, no erasing the reporter or helpers, no curt "fixed" with no link.
- Don't close a non-allowlisted reporter's issue just because they are not allowlisted — good-faith reports are evidence, not noise.
04 同仓库更多 Skills
editing-cordis-compositions
Use when creating, changing, or validating an agent preset or other Cordis composition for this harness, including deciding host versus preset placement and checking that an authored preset mounts.
cordis-plugin-development
Use when designing, reviewing, adding, enabling, disabling, installing, configuring, or debugging a plugin, bundle, feature, page, panel, tool, or MCP connection in the current Harness profile, including a shipped plugin that is disabled by default, and for any visual object, decoration, or widget request that names no other destination, which means an installed UI plugin rendered in the Harness Web UI.
cordis-composition-reference
Use when writing or reading a Cordis bundle patch or agent preset for this harness and you need the Loader YAML dialect (insert, override by id, group, disabled, isolate, !!js) or the list of installable Harness plugin packages and what each provides.
agent-experience
Use when writing or changing a model-facing tool definition (name, description, parameter schema, or its system-prompt section), and when designing skills, context loading, or multi-step workflows, to make information discoverable and use context efficiently.
GitHub PR 与议题队列审查
gh-find-prs
以只读方式梳理开放的 Codewhale PR 和议题队列:获取每一项,对照当前代码进行核查,并生成一份包含引用证据和应致谢对象的覆盖度与处置矩阵。
GitHub 议题创建
gh-file-issue
用于提交新的 Codewhale GitHub 议题:将 bug 或想法转化为结构良好、可执行的议题,包含复现步骤、验收标准、标签和里程碑。