opendatahub-io/docs-skills/docs-workflow-create-merge-request
Claude Code and agent skill by opendatahub-io/docs-skills
- community
Checking that the SKILL.md file is still in the repository.
Commit, push, and create a merge request (GitLab) or pull request (GitHub) for documentation changes. Creates a feature branch if the repo is on main/master. Replaces docs-workflow-prepare-branch, docs-workflow-commit, and docs-workflow-create-mr.
Install
npx vskill@latest install opendatahub-io/docs-skills/docs-workflow-create-merge-requestSKILL.md
Create Merge Request Step
Step skill for the docs-orchestrator pipeline. After writing and reviews are complete, this step creates a feature branch (if needed), commits the manifest-listed files, pushes to the remote, and creates an MR/PR via gh (GitHub) or glab (GitLab).
Skipped in draft mode (--draft flag). When --repo-path is set, the script operates in the target repo but expects the user to have already switched to a feature branch.
Arguments
$1— JIRA ticket ID (required)--base-path <path>— Base output path (e.g.,.agent_workspace/proj-123)--draft— If present, skip all git operations--repo-path <path>— Target documentation repository (must already be on a feature branch)
Input
Contains the files array of absolute paths to commit (written by the writing step).
Output
Combined sidecar with commit, push, and MR/PR metadata.
Execution
Run the script, passing through all arguments:
The script handles:
- Skip mode — writes a skip sidecar and exits if
--draftis set - Git context — resolves repo root, current branch, remote URL, and platform (GitHub/GitLab)
- Branch creation — if on
mainormaster(and no--repo-path), creates<ticket-lowercase>branch from HEAD or switches to it if it already exists - Safety — refuses to proceed if on
main/masterwith--repo-path(externally managed repos must be on a feature branch) - Manifest reading — reads file paths from
writing/step-result.jsonand filters to files under the repo root - Staging and commit — stages manifest files and commits with
docs(<ticket>): add generated documentation - Push — pushes with
--force-with-leaseto origin - Title building — derives MR/PR title from
requirements/step-result.jsontitle field or first heading inrequirements.md - Existing check — searches for an open MR/PR from the feature branch before creating a new one
- MR/PR creation — creates via
gh pr create(GitHub) orglab mr create(GitLab), with fork detection for GitLab via theupstreamremote - Sidecar — writes
step-result.jsonwith commit_sha, branch, pushed, url, action, platform, skipped, and skip_reason fields
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/docs-workflow-create-merge-request/SKILL.md
Popularity
- Repository stars
- 4
- 7-day trend score
- 0
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/opendatahub-io/docs-skills/docs-workflow-create-merge-request)