# Gh Commenting On Issues

> Adds a comment to a GitHub issue. Use to provide updates, ask questions, or link related work.

- Skill: `majiayu000/gh-commenting-on-issues` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/gh-commenting-on-issues`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/gh-commenting-on-issues/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/gh-commenting-on-issues

---


# Commenting on Issues

## Purpose

Posts updates to an existing issue using the `gh issue comment` command.

## 1. Safety & Verification

- **Mandatory Context**: Ensure `gh-verifying-context` has been run and confirmed by the user.
- **Human-in-the-Loop**: You MUST present the proposed comment body and the target issue number/URL to the user before execution.
- **Sensitivity Check**: Do not include internal credentials or proprietary details in comments.

## 2. Common Workflows

### Workflow: Post Update

Adds a simple text comment.

**Command**:

```bash
gh issue comment <issue-number> --body "Updated the implementation."
```

### Workflow: Multi-line Comment

Use quotes for the body string.

**Command**:

```bash
gh issue comment <issue-number> --body "Line 1
Line 2"
```

## 3. Best Practices

Be concise and clear in your updates.

