Skip to main content

pr

Push the current branch and open a draft PR for Meshtastic-Android the repo way — baseline verified first, body drafted per CONTRIBUTING.md (WHY-first, categorized changes, screenshots for UI work). Use whenever work is ready to go up as a PR.

Ir a la instalación

Datos de origen

Repositorio
meshtastic/Meshtastic-Android
Última actividad en el origen
15 de septiembre de 2026 a las 19:01
Idioma detectado de SKILL.md
inglés
Estrellas
1847
Forks
517

Opciones de instalación

De forma predeterminada está seleccionado el prompt que primero revisa el origen. Puedes cambiar a un comando directo o descargar una copia local.

Revisa los archivos de origen

Lee SKILL.md y los archivos complementarios que muestra SkillsMP antes de decidir si quieres instalarlo.

Mostrando SKILL.md

SKILL.md
Instrucciones de origen · Vista previa de solo lectura
name
pr
description
Push the current branch and open a draft PR for Meshtastic-Android the repo way — baseline verified first, body drafted per CONTRIBUTING.md (WHY-first, categorized changes, screenshots for UI work). Use whenever work is ready to go up as a PR.
disable-model-invocation
true
# pr Opens a PR the way this repo expects. The SOP lives in `CONTRIBUTING.md` → **Pull Requests** — **read it now and follow it**; this skill only adds the steps around it. ## 1. Pre-flight - Target branch is `main` unless told otherwise. - On the default branch? Create a feature branch first. - Baseline must be green **this session** (`spotlessApply spotlessCheck detekt assembleDebug test allTests`). If it hasn't run since the last code change, run `/baseline` first — CI has failed repeatedly on skipped local checks. (The pre-push hook only gates detekt.) - `git status`: nothing unintended staged. Never commit `.agent_memory/`. If `docs/assets/screenshots/*.png` are dirty from a test run (not an intentional UI change), restore them: `git checkout -- docs/assets/screenshots`. ## 2. Body Draft per `CONTRIBUTING.md` → Pull Requests → **Writing the description** (WHY-first summary, then changes under the 🌟 New Features / 🛠️ Refactoring & Architecture / 🐛 Bug Fixes / 🧹 Chores categories that apply, **Testing Performed** section when tests were added/changed). **Screenshots** (UI changes want them): `CONTRIBUTING.md` → Pull Requests → Screenshots owns the policy, and it allows either a GitHub-hosted upload or a committed image. When committing one, push it first and embed it by commit-pinned raw URL so it renders immediately: ``` https://raw.githubusercontent.com/<owner>/<repo>/<full-commit-sha>/<path/to/img.png> ``` Pin to the SHA that contains the image, not the branch name. ## 3. Push and open ```bash git push -u origin HEAD gh pr create --draft --base <target> --title "<type>: <summary>" --body-file <(printf '%s' "$BODY") ``` - `--base` is the target branch chosen in pre-flight (`main` unless told otherwise) — always pass it explicitly; omitting it silently uses the repo default. - Draft by default; only `--ready` if explicitly asked. - End the body with: `🤖 Generated with [Claude Code](https://claude.com/claude-code)` - Report the PR URL as a markdown link.
Ver en GitHub