| name | itx:issue-update |
| description | Add a comment to an existing issue |
| argument-hint | <issue-number> <comment text> |
name: itx:issue-update
Issue Update
Add a comment to an existing GitHub issue.
Instructions
-
Parse Arguments: Extract issue number and comment text from arguments
- First argument: issue number (required)
- Remaining text: comment content (required)
-
Validate Issue: Verify the issue exists
gh issue view <number> --json number,title,state
-
Add Comment: Post the comment with prompt log
gh issue comment <number> --body "<comment with prompt log>"
-
Comment Format:
<comment text>
---
<details>
<summary>Prompt Log</summary>
**Stage**: issue-update
**Skill**: /itx:issue-update
**Timestamp**: <ISO timestamp>
**Model**: <model>
```prompt
<original user prompt that triggered this update>
```
-
Return: Confirmation with issue URL
Examples
/itx:issue-update 28 Updated the plan to include prompt logging requirement
Notes
- Works for any issue type (bug, feature, etc.)
- Warn if the issue is closed