feat: add GitLab plan create and phase implement skills - #1
Open
isidromerayo wants to merge 4 commits into
Open
Conversation
Mirror the github plan skills on top of glab: create plans as related-issue linked issues and implement one phase per merge request with closing references. Co-Authored-By: opencode - GLM 5.3 Flash (medium) <noreply@opencode.ai>
Capture the procedure to validate the gitlab plan skills against the organization internal GitLab instance, so it can be reused on any project. Co-Authored-By: opencode - GLM 5.3 Flash (medium) <noreply@opencode.ai>
Some self-hosted instances (work items) keep closes_issues empty for merged merge requests, leaving the phase issues open. Reconcile stale merged phases at the start of each invocation and close issues once the merge is confirmed, both documented in the validation guide. Also add the contributors metadata to the gitlab skills. Co-Authored-By: opencode - GLM 5.3 Flash (medium) <noreply@opencode.ai>
Co-Authored-By: opencode - Qwen 3.8 Flash (medium) <noreply@opencode.ai>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds two new skills that port the existing GitHub plan workflow to GitLab, plus validation docs:
codely-plan-create-gitlab— same planning flow ascodely-plan-create-github, but stored as GitLab issues: a parent plan issue (Goal, Context, phase checklist) and one linked child issue per phase viaglab's--linked-issues.codely-plan_phase-implement-gitlab— implements one phase (child) issue at a time on its<iid>-<slug>branch and opens a merge request referencing the phase issue, keeping the plan issues reconciled.docs/gitlab-skills-validation.md— guide for validating both skills, including self-hosted risks.Validation
The skills have been tested end-to-end (create plan → implement phases → merge MR → close issues) in:
Closes #N(the MR API returnscloses_issues: []). This motivated the explicit-closing fallback: the skill closes the phase issue withglab issue closeafter confirming the merge, and reconciles overdue phases (already-merged MRs with open issues) at the start of each invocation.Also
skills.sh.jsongrouping, keeping the catalog consistent with the GitHub variants.