create-mr
Skill2 starsChanged 19 days agoApache-2.0View on GitHub
Create a merge request with full validation - commit format, black/flake8, merge conflicts, Jira link, reviewer suggestions. Use when user says "create MR", "open PR", "open merge request".
- Commits and pushes
2 other projects use a version of this.
Adopted by
Most recently taken up by
- encoreshao/encore-skillstheir own version, first seen Oct 29, 2026
- muhammadrivaldy/agent-skillstheir own version, first seen Jun 30, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- encoreshao/encore-skills★ 2same name
- muhammadrivaldy/agent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository124 other files it gives its agents.
- add-projectSkill
- ansible-configure-vmSkill
- api-smoke-testSkill
- appinterface-checkSkill
- attach-session-to-jiraSkill
- aws-rds-debugSkill
- beerSkill
- bootstrap-all-knowledgeSkill
- bootstrap-knowledgeSkill
- build-persona-styleSkill
- cancel-pipelineSkill
- cert-checkSkill
- check-ci-healthSkill
- check-integration-testsSkill
- check-mr-feedbackSkill
- check-my-prsSkill
- check-secretsSkill
- ci-retrySkill
- cleanup-branchesSkill
- cleanup-stale-executionsSkill
- clone-jira-issueSkill
- close-issueSkill
- close-mrSkill
- cloud-inventorySkill
- coffeeSkill
- compare-optionsSkill
- create-jira-issueSkill
- create-slide-deckSkill
- data-migration-verifySkill
- debug-local-dbSkill
- debug-prodSkill
- deploy-to-ephemeralSkill
- dev-workflow-orchestratorSkill
- discovered-work-summarySkill
- edit-slide-deckSkill
- email-digestSkill
- environment-overviewSkill
- explain-codeSkill
- export-presentationSkill
- extend-ephemeralSkill
- find-similar-codeSkill
- gather-contextSkill
- gdrive-researchSkill
- gke-cluster-opsSkill
- hello-worldSkill
- hotfixSkill
- inscope-researchSkill
- investigate-alertSkill
- investigate-service-issuesSkill
- investigate-slack-alertSkill
- jira-hygiene-allSkill
- jira-hygieneSkill
- knowledge-refreshSkill
- konflux-statusSkill
- learn-architectureSkill
- learn-patternSkill
- list-presentationsSkill
- local-build-testSkill
- local-dev-environmentSkill
- manage-local-servicesSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 0 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 37
Test merge: git merge --no-commit --no-ff origin/main then --abort
- Very specific: line 46
Run black --check . (or black .
- Very specific: line 47
Run flake8 --max-line-length=100 --ignore=E501,W503,E203 on changed *.py
- Very specific: line 63
If not draft: jira_set_status(issue_key, "In Review")
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Create Merge Request
Inputs
| Input | Type | Default | Purpose |
issue_key | string | required | Jira issue key for linking |
repo | string | "" | Repo path; resolved from issue key if empty |
repo_name | string | - | Config repo name |
draft | bool | true | Create as draft MR |
target_branch | string | "" | Target branch (default from config) |
run_linting | bool | true | Run black/flake8 before MR |
check_jira | bool | false | Run jira_hygiene first |
auto_fix_lint | bool | false | Auto-fix with black |
slack_format | bool | false | Slack link format |
check_docs | bool | false | Run update_docs check |
skip_docs_warning | bool | false | Skip docs warnings |
run_precommit | bool | false | Run pre-commit hooks |
Workflow
1. Bootstrap
persona_load("developer")check_known_issues("gitlab_mr_create"),check_known_issues("git_push")- Resolve repo via
scripts.common.repo_utils.resolve_repo
2. Pre-flight
git_status(repo)— block if uncommitted changes, detached HEAD, or on main/master- Validate branch name:
^aap-[0-9]{3,6}(required by CI) - Fetch origin (subprocess or
git_fetch) git_log(repo, limit=20, oneline=true)— validate commit format viaconfig.jsoncommit_format- Test merge:
git merge --no-commit --no-ff origin/mainthen--abort gitlab_list_mrs(project)— detect duplicate MR for branch
3. Knowledge & Reviewers
- Suggest reviewers: git blame on changed
*.pyfiles knowledge_query(project, section="patterns.coding")code_search(query=branch_name + " implementation", project, limit=3)
4. Linting (if run_linting)
- Run
black --check .(orblack .if auto_fix_lint) - Run
flake8 --max-line-length=100 --ignore=E501,W503,E203on changed*.py - Block MR creation if lint fails
5. Docs (if check_docs)
skill_run("update_docs", '{"repo": "...", "check_only": true}')— warn only, non-blocking
6. Jira & Create
jira_view_issue(issue_key)- If
check_jira:skill_run("jira_hygiene", '{"issue_key": "...", "auto_fix": true}') - Push:
git push -u origin branch(subprocess orgit_push) - Build MR title from
format_commit_message(config.json) - Build description: summary, Jira link, commits, suggested reviewers, related code, patterns
gitlab_mr_create(project, title, description, target_branch, source_branch, draft)
7. Post-create
jira_add_comment(issue_key, "MR created: {url}\nBranch: {branch}\nStatus: Draft/Ready")- If not draft:
jira_set_status(issue_key, "In Review") skill_run("notify_mr", '{"mr_id": X, "issue_key": "..."}')jira_attach_session(issue_key, include_transcript=false)
8. Memory
memory_session_log("Created MR !X for AAP-Y", url)memory_append("state/current_work", "open_mrs", item)— id, project, title, url, issue_key, pipeline_status, needs_review, is_draft, created
9. Failure Learning
- "no such host" →
learn_tool_fix("gitlab_mr_create", "no such host", "VPN not connected", "Run vpn_connect()") - "unauthorized" →
learn_tool_fix("gitlab_mr_create", "unauthorized", "Token expired", "Check config.json") - "conflict" →
learn_tool_fix("git_merge", "conflict", "Merge conflicts", "skill_run('rebase_pr', ...)")
Key MCP Tools
persona_load,git_status,git_log,git_push,gitlab_list_mrs,gitlab_mr_createjira_view_issue,jira_add_comment,jira_set_status,jira_attach_sessioncode_search,knowledge_query,check_known_issues,learn_tool_fixmemory_session_log,memory_append,skill_run
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

