Skip to content
Back to skills

Gh Closing Issues

ASecurity

Closes a GitHub issue. Use when a task is completed or an issue is resolved.

  • 755 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added February 8, 2026
toolsgobashgit

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill gh-closing-issues --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gh Closing Issues?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Gh Closing Issues
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-gh-closing-issues/badge)](https://www.skillsdirectory.com/skills/majiayu000-gh-closing-issues)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: gh-closing-issues
description: Closes a GitHub issue. Use when a task is completed or an issue is resolved.
---

# Closing GitHub Issues

## Purpose

Resolves an issue using the `gh issue close` command.

## 1. Safety & Verification

- **Mandatory Context**: Ensure `gh-verifying-context` has been run and confirmed by the user.
- **Human-in-the-Loop**: You MUST confirm with the user before closing any issue. State the issue number and title clearly.
- **Verification**: Ensure the issue is actually resolved according to the user's criteria.

## 2. Common Workflows

### Workflow: Close as Completed

Default closing behavior.

**Command**:

```bash
gh issue close <issue-number> --reason completed
```

### Workflow: Close with Comment

It's often good practice to add a comment explaining why the issue is being closed.

**Command**:

```bash
gh issue comment <issue-number> --body "Closing as this is resolved." && gh issue close <issue-number>
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.