mobile-merge-request
БесплатноБез исполняемых скриптовНе проверенGuides the merge request and pull request workflow for mobile teams: branch naming, Conventional Commits, small and stacked MRs, self-review, rebase vs merge…
от ahmadhussain0335244 установки в других каталогахОб этом скилле
Mobile merge request
Get mobile changes from a branch into main with a clean history, a description a reviewer can act on, and no lost work along the way. Applies to GitLab merge requests and GitHub pull requests alike; "MR" below means either.
When to use
- Creating a branch, writing or cleaning up commit messages before review.
- Opening an MR or PR, writing or improving its title and description.
- Splitting a large change into smaller or stacked MRs.
- Rebasing onto main, resolving conflicts, or force-pushing after review fixes.
- Reviewing someone else's MR, or replying to review comments on your own.
- Checking MR hygiene: branch name, commit messages, size, description, checklist.
Not for: reviewing the code itself for bugs (use mobile-code-review), or pipeline configuration
(use mobile-ci-cd).
Workflow
- Gather facts before writing anything.
- Branch and target:
git branch --show-current,git fetch origin. - Commits:
git log --oneline origin/main..HEAD. - Size and files:
git diff --stat --merge-base origin/main. - Ticket key from the branch name or the user. Never invent a ticket key; leave a placeholder.
- Branch and target:
- Check hygiene against the Rules below: branch name, commit messages, size, unrelated changes, generated files, secrets in the diff.
- If the history needs cleanup, propose the commands (fixup, autosquash, rebase) and wait for approval. The agent never rewrites history, force-pushes or merges without explicit user consent.
- Self-review the full diff as a reviewer would. Remove debug logs, commented-out code, stray TODOs.
- Run the project's build, lint and tests for every affected platform. Report failures honestly.
- Write the MR title and description from the MR template.
Fill only what the diff and the user support; mark unknowns as
TODOfor the author. - For conflicts, follow conflict resolution. Re-run build and tests after.
- For exact command sequences (stacking, retargeting, recovery), use git commands.
Rules
1. Branch names carry type, owner and ticket
# BAD
ahmad-changes
fix
feature/new-stuff
# GOOD
feature/AH/PROJ-123-ble-reconnect-backoff
fix/AH/PROJ-456-crash-on-empty-scan
chore/AH/PROJ-789-bump-agp
- Pattern:
<type>/<initials>/<TICKET>-<kebab-short-title>. Types:feature,fix,chore,refactor,docs,test,release,hotfix. - Lowercase after the ticket key, no spaces, under about 60 characters.
- Follow the repository's own convention if it already has one.
git fetch origin
git switch -c feature/AH/PROJ-123-ble-reconnect-backoff origin/main
2. Commits follow Conventional Commits
# BAD
fixed stuff
WIP
Update MainActivity.kt
# GOOD
fix(ble): retry GATT connect with exponential backoff
feat(onboarding): add QR pairing screen
refactor(settings): move formatting out of SettingsViewController
- Format:
<type>(<optional scope>): <imperative summary>, summary under about 72 characters, no period. - Types:
feat,fix,refactor,perf,test,docs,build,ci,chore,style,revert. - Body explains why, not what the diff already shows. Wrap at 72.
- Footers:
Refs: PROJ-123,BREAKING CHANGE: <what breaks and how to migrate>.
Breaking changes:
# BAD: breaking change hidden in a fix
fix(api): rename deviceId field
# GOOD
feat(api)!: rename deviceId to gatewayId in telemetry payload
BREAKING CHANGE: backend must accept gatewayId; app versions before 3.2 send deviceId.
Refs: PROJ-321
- No tool-generated footers, sign-offs or co-author trailers unless the project requires them.
3. One concern per MR, small enough to review in one sitting
# BAD: one MR
feat: QR pairing + Gradle 9 upgrade + rename package + fix crash in settings
# GOOD: four MRs
chore(build): upgrade Gradle wrapper
refactor: rename package com.acme.old to com.acme.gateway
feat(onboarding): add QR pairing screen
fix(settings): crash on empty device name
- Rough guidance: under about 400 changed lines of hand-written code. Lockfiles, generated code and snapshots do not count but must be listed.
- Mechanical changes (renames, formatting, dependency bumps) go in their own MR, never mixed with logic.
- If it cannot be small, stack it (rule 4) or put it behind a feature flag and land it in slices.
4. Stacked MRs target their parent, then get retargeted
# BAD: second MR targets main and shows the first MR's commits too
git switch -c feature/AH/PROJ-124-pairing-ui feature/AH/PROJ-123-pairing-api
# ...opened against main
# GOOD: target the parent branch; after the parent merges, rebase and retarget to main
git switch -c feature/AH/PROJ-124-pairing-ui feature/AH/PROJ-123-pairing-api
# open MR: feature/AH/PROJ-124-pairing-ui -> feature/AH/PROJ-123-pairing-api
- Say "Depends on !123" (GitLab) or "Depends on #123" (GitHub) at the top of the descript
Установить mobile-merge-request в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл mobile-merge-request?
Guides the merge request and pull request workflow for mobile teams: branch naming, Conventional Commits, small and stacked MRs, self-review, rebase vs merge, safe conflict resolution for lockfiles, project.pbxproj and version catalogs, MR descriptions with screenshots and rollback, and reviewer etiquette. Use when creating branches, writing commits or MR descriptions, rebasing, resolving conflicts or answering review comments.
Как установить скилл mobile-merge-request?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл mobile-merge-request запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic