close-issue

Summarize the latest commit and close a GitHub issue via gh CLI.

1|Updated Nov 8, 2025
One-click install
npx skills add https://github.com/k-negishi/calendar-auto-register --skill close-issue-k-negishi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: close-issue
Source: https://github.com/k-negishi/calendar-auto-register/tree/main/.claude/skills/close-issue
Command: npx skills add https://github.com/k-negishi/calendar-auto-register --skill close-issue-k-negishi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill automates posting a detailed completion comment on a GitHub issue and closes the issue after implementation is finished and quality checks pass, saving manual coordination time.

Core Features & Use Cases

  • Collects the latest commit information and changes, generates a concise implementation summary, and posts a comprehensive comment on the target issue.
  • Closes the issue automatically after the update, providing a clear record of what was implemented and validated.
  • Works with the GitHub CLI (gh) and local Git state to ensure traceability and reproducibility.

Quick Start

Provide the issue number to automatically generate a completion summary, post a comment, and close the issue.

Frequently Asked Questions about close-issue

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automatically close a GitHub issue with a completion comment?

To automatically close a GitHub issue with a completion comment, this skill collects the latest commit data, generates an implementation summary, posts it as a comment via the gh CLI, and then closes the issue.

What is the best way to generate an implementation summary for a GitHub issue?

Generating an implementation summary for a GitHub issue is done by collecting the latest local commit information and changes, then creating a concise record of what was implemented and validated before closing the issue.

Do I need the GitHub CLI installed to auto-close issues with a commit summary?

Yes, you need the GitHub CLI and local git state installed to auto-close issues with a commit summary, as the workflow relies on the gh CLI to post comments and close issues safely.

Why does auto-closing an issue require a verified local git state?

Auto-closing an issue requires a verified local git state to ensure safe operation and traceability, matching the actual latest commit data with the implementation summary posted to the GitHub issue.

Can I use this workflow to post repository updates instead of just closing issues?

Yes, you can use this workflow to post repository updates, as it creates an implementation summary from the latest commit and posts it as a comprehensive comment on the target issue before closing it.