Agent skill
respond-github
Respond to a GitHub issue/PR or GitLab issue/MR
Install this agent skill to your Project
npx add-skill https://github.com/desplega-ai/agent-swarm/tree/main/plugin/pi-skills/respond-github
SKILL.md
Respond to VCS Issue/PR/MR
Post a response to a GitHub issue/PR or GitLab issue/MR.
Provider detection: Check the URL or remote:
- If GitHub → use
gh issue comment/gh pr comment - If GitLab → use
glab issue note/glab mr note
Arguments
issue-or-pr-number-or-url: Either a number (e.g.,123) or a full URL
Workflow
- Parse the input — if given a URL, extract owner, repo, type (issue/PR), and number. If just a number, determine type from current repo context.
- Ensure repo is cloned to
/workspace/personal/<repo-name>(clone withgh repo cloneif needed). - Get full context — read the original description and all comments in the thread.
- Understand what's being asked — if this is from
@agent-swarm, focus on what was asked in that mention. - Formulate and post your response using
gh issue comment/gh pr comment(orglabequivalents).
Decision Framework
- What specific question or request needs addressing?
- Do you need to provide code examples?
- Should you ask clarifying questions?
- Is this something you can resolve, or do you need human input?
Tips
- Check if there's already a PR addressing an issue before responding
- For complex requests, acknowledge receipt and outline your plan
- If you've completed work, link to the relevant PR or commit
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
implement-issue
Implement a GitHub issue or GitLab issue and create a PR/MR
start-leader
Start the Agent Swarm Leader
investigate-sentry-issue
Investigate and triage a Sentry error issue
user-management
How to manage the user registry — creating users for new Slack/GitHub/GitLab identities, managing aliases, resolving users across platforms. Use when a new human interacts with the swarm or when user identity needs updating.
close-issue
Close a GitHub or GitLab issue with a summary comment
swarm-chat
Effective communication within the agent swarm using internal Slack
Didn't find tool you were looking for?