From gitlab-skills
Use this skill when the user wants to fix or resolve a GitLab issue. Triggers on phrases like "fix issue", "resolve GitLab issue", "work on issue", "implement fix for issue", "tackle issue", "address issue
How this skill is triggered — by the user, by Claude, or both
Slash command
/gitlab-skills:gitlab-fix-issueThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Find and fix a GitLab issue by reading it, implementing a fix, and creating a merge request.
Find and fix a GitLab issue by reading it, implementing a fix, and creating a merge request.
Extract the issue number from the user's message (e.g. "fix issue 42" or "#42" → issue 42). If not provided, ask the user for the issue number before proceeding.
Use glab CLI and jq. Must run from a git directory with GitLab remote.
Read the issue:
glab issue view <ISSUE_NUMBER> -F json
Understand the problem described in the title, description, and labels. If unclear, also check comments with glab issue view <ISSUE_NUMBER> -c.
Create a feature branch from the default branch:
git checkout -b fix/<ISSUE_NUMBER>
Locate relevant code: Search the codebase to understand the root cause. Use Grep, Glob, and Read tools.
Implement the fix: Make minimal, focused changes that address the root cause. Add appropriate tests if applicable.
Commit and push:
git add <files> && git commit -m "Fix #<ISSUE_NUMBER>: <concise summary>"
git push -u origin fix/<ISSUE_NUMBER>
Create a merge request linked to the issue:
glab mr create -i <ISSUE_NUMBER> --fill --remove-source-branch --push
If --fill doesn't produce a good description, use -d to provide one instead.
Report: Show the MR URL and a summary of changes made.
IMPORTANT:
Guides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.
npx claudepluginhub yjhjstz/cc-skills --plugin gitlab-skills