Gh issue comment
Agent skills for GitHub CLI
npx -y skills add dceoy/github-cli-agent-skills --skill gh-issue-commentAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Add, edit, or delete GitHub issue comments using gh CLI.
SKILL.md
1.5 KB, 299 tokens by cl100k_base, as published. Nobody here has run it
GitHub Issue Comment
When to use
- The user asks to comment on an issue or post an update.
- You need to edit or delete your last comment.
Inputs to confirm
- Issue number or URL.
- Comment body (or file path).
- Whether to edit/delete the last comment.
Workflow
- Verify auth:
gh --version gh auth status - Post a comment:
gh issue comment 123 --body "Status update: fix in progress" gh issue comment 123 --body-file update.md - Edit or delete last comment if requested:
gh issue comment 123 --edit-last --body "Updated info" gh issue comment 123 --delete-last --yes - Confirm:
gh issue view 123 --comments
Examples
# Quick update
~ gh issue comment 123 --body "Working on this now."
# Edit last comment
~ gh issue comment 123 --edit-last --body "Revised ETA: tomorrow."
Notes
- Without
--body/--body-file,ghopens an interactive prompt. --webopens the browser for composing a comment.
References
- GitHub CLI manual: https://cli.github.com/manual/
gh issue comment --help
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.