Skill: New Branch Bootstrap
SkillDev toolsLets your agent create a new Git branch in a code repository.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the Skill: New Branch Bootstrap skill
About this capability
Android application for Meshtastic
What this skill tells your AI
The instructions your AI receives, as published by meshtastic/meshtastic-android in .skills/new-branch/SKILL.md and read by ahel’s review.
Description
Canonical recipe for spinning up a fresh working branch off the latest upstream main. Use this skill
whenever the user says things like "make a new branch off fetched origin/main", "peel off a fresh
branch", "dust off #NNNN", or otherwise signals the start of a new unit of work.
This replaces the ad-hoc prose that used to be retyped at the start of every session.
When to Use
- Starting any new feature, fix, chore, or refactor.
- Rebasing a stale PR onto current
main(see Rebase variant). - Reproducing a CI failure from a clean baseline.
Preconditions (verify before branching)
- Clean worktree. If
git status --porcelainis non-empty, ask the user before proceeding. - Upstream remote present.
git remote -vmust listupstreampointing atmeshtastic/Meshtastic-Android. If onlyoriginexists on a fork, treatoriginas upstream. - Secrets: nothing to bootstrap —
secrets.defaults.propertiesis tracked and is the secrets plugin's fallback, so every flavor builds without a local secrets file.
Standard Recipe
# 1. Fetch latest upstream
git fetch upstream --prune --tags
# 2. Create the branch from upstream/main (never from a local stale main)
git switch -c <branch-name> upstream/main
# 3. Sanity check
git --no-pager log -1 --oneline
Branch Naming
Use conventional-commit style prefixes that match the PR title convention in
.github/copilot-pull-request-instructions.md:
| Prefix | Use for |
|---|---|
feat/<scope> | New user-visible behavior |
fix/<scope> | Bug fixes |
refactor/<scope> | Code structure changes, no behavior change |
chore/<scope> | Tooling, deps, CI, cleanup |
docs/<scope> | Documentation only |
Keep the slug short and kebab-case, e.g. fix/r8-animation-release, chore/koin-application-migration.
Rebase Variant
When the user says "rebase #NNNN" or "dust off PR NNNN":
git fetch upstream --prune
gh pr checkout <NNNN> # checks out the PR head locally
git rebase upstream/main
# Resolve conflicts, then:
git push --force-with-lease
Never use plain --force. Always --force-with-lease to avoid clobbering collaborator pushes.
Post-Branch Checklist
- Branch name follows conventional prefix.
-
ANDROID_HOMEexported (see AGENTS.md workspace bootstrap). - Optional: run
./gradlew assembleDebugonce to catch environment regressions before editing.
Tip: Delegate Long Audits to a Subagent
If the user's opening prompt is a sweeping audit or investigation (e.g. "audit changes since
v2.7.13 for regressions", "investigate why animations are broken on release"), dispatch the
Explore subagent (read-only, broad fan-out) so file dumps stay out of the main context and
you get back just the conclusion; use the gradle-runner subagent for heavy ./gradlew runs.
See CLAUDE.md → "Delegate to keep context lean".
Signals
- GitHub stars
- 2k
- Forks
- 512
- Last commit
- Sep 2026
Advanced
- Catalog kind
- skill
- Gateway key
new-branch-meshtastic- Source
- github.com/meshtastic/meshtastic-android