# Gh Issue Edit

> Edit GitHub issues (title, body, labels, assignees, milestones, projects) using gh CLI.

- Skill: `dceoy/gh-issue-edit` (Agent Skill)
- Install (CLI): `npx skillmds@latest add dceoy/gh-issue-edit`
- Raw SKILL.md: https://api.skillmd.com/api/skills/dceoy/gh-issue-edit/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: dceoy (https://skillmd.com/u/dceoy)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/dceoy/gh-issue-edit

---


# GitHub Issue Edit

## When to use

- The user asks to update issue metadata or content.
- You need to add/remove labels, assignees, milestones, or projects.

## Inputs to confirm

- Issue number(s) or URL(s).
- Changes to apply (title/body/labels/etc.).
- Target repo if not current (`--repo OWNER/REPO`).

## Workflow

1. Verify auth:
   ```bash
   gh --version
   gh auth status
   ```
2. Apply edits:
   ```bash
   gh issue edit 123 --title "New title" --body "Updated body"
   gh issue edit 123 --add-label "bug" --remove-label "triage"
   gh issue edit 123 --add-assignee "@me"
   ```
3. Verify:
   ```bash
   gh issue view 123
   ```

## Examples

```bash
# Add labels and assign yourself
~ gh issue edit 123 --add-label "help wanted" --add-assignee "@me"
```

## Notes

- `--add-assignee`/`--remove-assignee` support `@me` and `@copilot` (GitHub.com only).
- Project edits may require `gh auth refresh -s project`.

## References

- GitHub CLI manual: https://cli.github.com/manual/
- `gh issue edit --help`

