new-branch

Create feature or fix branches from the latest upstream main.

1.8k|498|Updated Jan 20, 2020
One-click install
npx skills add https://github.com/meshtastic/Meshtastic-Android --skill new-branch-meshtastic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: new-branch
Source: https://github.com/meshtastic/Meshtastic-Android/tree/main/.skills/new-branch
Command: npx skills add https://github.com/meshtastic/Meshtastic-Android --skill new-branch-meshtastic

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Facilitates the setup of new development branches from the latest upstream main, streamlining the workflow for feature development and bug fixes.

Core Features & Use Cases

  • Branch Creation: Spin up a new branch off upstream/main with a single command, ensuring a clean starting point for work.
  • Rebasing: Rebase existing pull requests onto the latest upstream main branch to keep them current.
  • Use Case: When starting a new feature or fixing a bug, use this skill to set up your branch consistent with the latest upstream code, reducing merge conflicts and integration issues.

Quick Start

Use the new-branch skill to initialize a fresh branch called 'feature/login' from the latest upstream main branch, ensuring all submodules and secrets are prepared beforehand.

Frequently Asked Questions about new-branch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a git branch from upstream main?

To create a git branch from upstream main, use a single command to spin up a clean development branch off the latest upstream codebase. This ensures a consistent starting point for new feature work or bug fixes.

What is the best way to rebase pull requests onto the latest upstream branch?

The best way to rebase pull requests is to use a workflow that rebases existing PRs directly onto the latest upstream main branch. This keeps your development branches current and reduces merge conflicts.

How do I set up submodules and secrets when starting a new development workflow?

Setting up submodules and secrets when starting a new development workflow ensures all dependencies and sensitive configurations are correctly prepared beforehand. This maintains an up-to-date environment for continuous development.

Why create a new branch from the latest upstream codebase for feature development?

Creating a new branch from the latest upstream codebase provides a clean starting point that significantly reduces merge conflicts and integration issues. It streamlines the workflow for feature development and bug fixes.