Implement issue

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

Implement issue is an AI agent skill from the GitHub repository desplega-ai/agent-swarm. Implement a GitHub issue or GitLab issue and create a PR/MR

How to use this skill

Skill file

Implement Issue

Read a GitHub or GitLab issue, implement the requested changes, and create a PR/MR.

Provider detection: Check the URL or remote:

Arguments

Workflow

1. Parse and Fetch

If given a URL, extract owner, repo, and issue number. Fetch issue details (title, body, labels, comments). Understand what's being requested, acceptance criteria, and any technical constraints.

2. Setup

3. Implement

  1. Understand the codebase — explore relevant files and existing patterns
  2. Plan your approach — consider using /planning for complex changes
  3. Write the code — implement the requested functionality
  4. Test your changes — run existing tests, add new tests if appropriate
  5. Verify it works — manual verification where possible

Keep changes focused on what the issue requests. Avoid scope creep.

4. Quality Checks, Commit, and Push

  1. Run PR checks (MANDATORY) — Run ALL checks from the "PR Checks" section of your Repository Guidelines. Fix any failures before proceeding. If no guidelines are defined, check the project's CLAUDE.md for a pre-PR checklist.
  2. Commit with a message referencing the issue (e.g., Fix #123: <description>). Use conventional commit style if the repo uses it.
  3. Push with git push -u origin HEAD.

5. Create the PR

Create the PR with a descriptive title and a body that follows the repository's PR template and conventions (see /skill:create-pr, steps 5 and 6). If the repo defines none, include: summary of changes, key changes list, and testing done. Always include Fixes #<issue-number> to auto-close the issue on merge.

After creating the PR, check CI status with gh pr checks (GitHub) or glab mr view --json pipelines (GitLab). If CI fails, fix the issues, push, and re-check until green.

6. Report Back

Provide the PR URL, summary of changes, and any caveats. Optionally comment on the original issue linking the PR.

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.