Agent skill
gh-closing-issues
Closes a GitHub issue. Use when a task is completed or an issue is resolved.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/gh-closing-issues
SKILL.md
Closing GitHub Issues
Purpose
Resolves an issue using the gh issue close command.
1. Safety & Verification
- Mandatory Context: Ensure
gh-verifying-contexthas 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:
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:
gh issue comment <issue-number> --body "Closing as this is resolved." && gh issue close <issue-number>
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?