/core:mobiai-create-prfrom core
Guides Claude through a structured workflow for creating pull requests: branch preparation, changelog updates, and safe pushing. Activates on commit, push, merge, or PR intent.
Ships in core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Create a well-structured pull request for mobile code changes.
Match on intent, not specific words or languages. The user's phrasing is a signal, not a keyword match — read meaning in context.
Explicit intent (user directly expresses they want to save, share, or submit changes):
mobiai-fix-issue pipelineWhen intent is explicit, proceed through the workflow — but still confirm before pushing (see "Never" below).
Implicit intent after completed work (user approves something you just finished): After you report a fix, review, or implementation as done, any user signal that the work is acceptable — approval, agreement, confirmation, green light, a simple "ok" in any language — is an implicit cue that the next action is probably to ship it. Do not act on implicit intent. Instead, ASK: propose creating the PR and wait for explicit confirmation. The language of your question should match the user's.
Distinguish implicit approval from continued discussion: if the user keeps asking questions, requests more changes, or is still evaluating, do not offer a PR yet.
Never:
main, master, develop, release/*, staging) — always move to a feature branch firstCheck the current branch first. If you're on a protected or long-lived branch (main, master, develop, release/*, staging), NEVER commit there — create a feature branch. Name it after the issue key: fix/<issue-key>, feat/<issue-key>, or chore/<description>:
git checkout -b fix/<issue-key>
If you've already committed to the wrong branch (e.g. a release branch), move the commit to a new feature branch before pushing:
git branch fix/<issue-key> # save the commit under a new branch name
git reset --hard origin/<current-branch> # rewind the protected branch to the remote
git checkout fix/<issue-key> # switch to the feature branch
Stage the changes:
git add <specific-files> # Prefer specific files over git add -A
Commit with a descriptive message:
git commit -m "fix: <short description>
<issue-key>: <what was wrong and why>
- Root cause: <explanation>
- Fix: <what was changed>
- Tests: <what tests were added>"
If the project has a changelog file (CHANGELOG.md, HISTORY.md, or a section in README.md):
CRITICAL: Do NOT assume the PR targets main or master.
# Check what branch this was branched from
git log --oneline --first-parent main..HEAD | tail -1 # if few commits → likely from main
git log --oneline --first-parent develop..HEAD | tail -1 # check develop too
gh repo view --json defaultBranchRefUse --base <branch> when creating the PR to target the correct branch.
Confirm with the user before pushing (project rule: never push without explicit approval).
Inspect the remote to figure out which provider this repo uses:
git remote get-url origin
Adapt the rest of the workflow to that provider. Prefer a native CLI when one is installed and authenticated (it lets you set title, body, and base branch in one shot). Fall back to constructing the provider's web URL for creating a PR/MR when no CLI is available. You are expected to know the conventions for the major providers — if unsure, check the provider's docs rather than guessing URL formats.
git push -u origin <feature-branch>
Produce the PR with this exact title format and body template, regardless of provider:
Title: fix: <short description> (or feat:, refactor:, etc. per Conventional Commits, unless the project uses a different style — check git log for the pattern)
Body:
## Summary
- **Issue**: <issue-key>
- **Root cause**: <the actual cause in plain language — not the symptom>
- **Breaking commit**: <SHA and subject of the commit that introduced the bug, e.g. `a1b2c3d "feat: refactor user loader"`. If the bug has always existed and is not a regression, write "always-existed, not a regression".>
- **Fix**: <what was changed at a high level>
## Why each change
<For every distinct change in the diff, explain the reasoning that links the root cause to this specific modification. Do NOT restate what the diff already shows — explain *why* it had to change. One bullet per logical change. Example: "`loadUser()` now checks `response.body == null` before dereferencing because the root cause is that the backend returns null bodies when the auth token is stale, which the caller did not anticipate.">
- <reasoning 1>
- <reasoning 2>
## Platform
- **Affected platform**: Android / iOS / both
- **Min SDK / deployment target affected**: <e.g. API 24, iOS 15>
- **New permissions or entitlements**: <list any, or "none">
## Changes
<File-by-file factual summary. Keep this factual — what, not why. The "why" is already above.>
- `path/to/file.kt` — <e.g. "added null check on `response.body` before `.size()` call on line 42">
## Test Plan
- [ ] Unit tests added for <what>
- [ ] Existing tests pass
- [ ] Compile check passes
- [ ] Tested on device / emulator: <model, OS version>
- [ ] Tested both orientations (portrait & landscape)
- [ ] Checked dark mode appearance
- [ ] Accessibility reviewed (TalkBack / VoiceOver, content descriptions)
- [ ] <Manual test steps if applicable>
## Regression Risk
- [ ] Touches Activity/Fragment lifecycle or ViewController lifecycle
- [ ] Touches threading / coroutines / Dispatchers / GCD
- [ ] Touches navigation graph or deep links
- [ ] Modifies ProGuard / R8 rules or iOS build settings
- [ ] Changes dependency versions
- **Risk notes**: <brief explanation of what could break>
## Screenshots / Evidence
<If visual change, add before/after screenshots or screen recordings>
Submit via CLI if one is installed and authenticated for the provider — pass the title, body, and base branch as arguments so everything is set in a single command.
Submit via web URL if no CLI is available. Push the branch first, then build the provider's "new PR/MR" URL with source branch and target branch as query parameters. Give the user:
Do not omit the title or body in the web-URL case — most providers do not auto-populate them from commit messages, and the template is the main value this skill delivers.
After creating the PR:
Follow Conventional Commits if the project uses them:
fix: resolve crash when opening checkout with zero amountfeat: add dark mode support to settings screenrefactor: extract payment logic into separate use caseIf the project doesn't use conventional commits, follow whatever pattern exists in recent PRs:
git log --oneline -20 # Check recent commit message style
google-services.json, local.properties, signing keystores, API keys). Warn the user if they ask to.git add -A or git add .What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub arisguimera/mobiai-core --plugin core22 skills in this plugin
/mobiai-analyze-crashUse when the user shares a crash from any source (stack trace, log, screenshot, error description) and wants to find the root cause and fix it./mobiai-brainUse when the user asks about past decisions, workarounds, bugfixes, testing patterns or integrations specific to *this* project, OR before proposing non-trivial architecture/integration changes. MobiAI Brain is per-project living memory at <repo>/.mobiai/brain/. Loads context the user already captured so suggestions respect real project conventions instead of generic best practices./mobiai-crashlyticsUse when the user shares a Firebase Crashlytics crash link, crash ID, or asks to investigate a Crashlytics issue in depth./mobiai-fix-issueYou MUST use this before starting any bug fix from a ticket or issue, OR when re-opening a ticket whose previous fix attempt didn't work (user shares a commit SHA and says 'no anda' / 'didn't fix it' / 'still broken'). Fetch, understand, investigate root cause, apply the fix with tests, and verify. For small line-level fixes, runs autonomously end-to-end and gates only before push. For complex changes, gates at each phase boundary./mobiai-graphUse when the user asks about code impact, call graph, callers/callees, semantic exploration of the mobile codebase, or 'where is X used'. Routes the agent to query MobiAI Graph (mobiai graph search/callers/context) instead of grep/read. Pre-flight checks that .mobiai/graph/index.json exists; if not, suggests `mobiai graph init` without running it./mobiai-mobile-brainstormingYou MUST use this before any creative mobile work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.2 plugins ship this exact skill · first indexed Jul 20, 2026
Other plugins' skills for the same job