Skip to content

Commit dba6d5f

Browse files
cliffhallclaude
andcommitted
docs(issue-triage): pace step 0's comment and close as separate writes
`gh issue close --comment` sends both writes back to back, so step 0 now comments, pauses, then closes, and the duplicate path paces its three writes the same way. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
1 parent 6e44a2c commit dba6d5f

1 file changed

Lines changed: 11 additions & 5 deletions

File tree

‎.claude/skills/issue-triage/SKILL.md‎

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,18 @@ D=${D:-$(mktemp -d)}
8686
# Copy the class's response from Canned responses into "$D/response.md" (the
8787
# text inside the quote, with #ORIGINAL or the SDK link filled in) first.
8888
# Close as not planned, with that response (body in a file, so quoting is
89-
# safe). NOT for a duplicate: post the Duplicate response with `gh issue
90-
# comment`, close it with the `board-ops` state_reason=duplicate call, and
91-
# delete its card if it has one (`board-ops`, Delete a card). An empty or missing response stops here instead of closing silently.
89+
# safe). The comment and the close are two writes, paced apart by AGENTS.md
90+
# "Pacing GitHub writes" (`gh issue close --comment` sends them back to back).
91+
# NOT for a duplicate: post the Duplicate response with `gh issue comment`,
92+
# close it with the `board-ops` state_reason=duplicate call, and delete its
93+
# card if it has one (`board-ops`, Delete a card), pacing those three writes
94+
# the same way. An empty or missing response stops here instead of closing
95+
# silently.
9296
BODY=$(cat "$D/response.md") && [ -n "$BODY" ] \
93-
&& gh issue close <N> --repo modelcontextprotocol/servers --reason "not planned" --comment "$BODY" \
94-
|| { echo "no response or close failed for #<N> — stop and check it" >&2; false; }
97+
&& gh issue comment <N> --repo modelcontextprotocol/servers --body "$BODY" \
98+
&& sleep 1 \
99+
&& gh issue close <N> --repo modelcontextprotocol/servers --reason "not planned" \
100+
|| { echo "no response, or the comment or close failed for #<N> — look before retrying" >&2; false; }
95101
# Spam or empty, the one class with no response:
96102
gh issue close <N> --repo modelcontextprotocol/servers --reason "not planned"
97103
```

0 commit comments

Comments
 (0)