Close issue

From desplega-ai/agent-swarm · View interactive version

Close issue is an AI agent skill from the GitHub repository desplega-ai/agent-swarm. Close a GitHub or GitLab issue with a summary comment

How to use this skill

Skill file

Close Issue

Close a GitHub or GitLab issue with an appropriate closing comment summarizing the resolution.

Provider detection: Check the URL or remote to determine the VCS provider:

Arguments

Workflow

  1. Parse the input — if given a URL, extract owner, repo, and issue number. If just a number, use the current repo context.
  2. Ensure repo is cloned to /workspace/personal/<repo-name> (clone with gh repo clone if needed).
  3. Get issue details — read the issue title, body, comments, and check for related PRs.
  4. Generate closing comment — summarize what was done, reference related PRs/commits, note any follow-ups.
  5. Post comment and close:

```bash

gh issue close <issue-number> --comment "Your closing comment" --reason completed

```

Closing Reasons

Tips

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.