finishing-a-development-branch

Verify tests, determine base branch, and present merge, pull request, or discard options.

18|8|Updated May 31, 2023
One-click install
npx skills add https://github.com/jpmorgan-payments/embedded-finance --skill finishing-a-development-branch-jpmorgan-payments
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/jpmorgan-payments/embedded-finance/tree/main/.github/skills/superpowers/finishing-a-development-branch
Command: npx skills add https://github.com/jpmorgan-payments/embedded-finance --skill finishing-a-development-branch-jpmorgan-payments

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the process of concluding development work by providing a structured approach to verifying code, choosing integration strategies, and cleaning up.

Core Features & Use Cases

  • Test Verification: Ensures all tests pass before proceeding.
  • Integration Options: Offers clear choices for merging, creating pull requests, or discarding work.
  • Worktree Management: Handles the cleanup of development worktrees.
  • Use Case: After completing a new feature, use this Skill to ensure your code is ready for review, automatically create a pull request, and clean up your local environment.

Quick Start

Use the finishing-a-development-branch skill to finalize your current feature branch.

Frequently Asked Questions about finishing-a-development-branch

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

FAQPage Schema
How do I finalize a git development branch before merging?▼

To finalize a git development branch, verify all tests pass, determine the correct base branch, and select an integration path like merging or creating a pull request to ensure code completion.

What is the best way to manage worktree cleanup after completing a feature?▼

Worktree cleanup is managed automatically based on your chosen integration path, ensuring development worktrees are removed efficiently after a merge or pull request completes.

How does test verification work before creating a pull request?▼

Test verification runs your suite to ensure all tests pass before proceeding, guaranteeing code quality and preventing broken code from entering the pull request workflow.

Can I discard work on a development branch instead of merging?▼

Yes, discarding work is a structured option alongside merging and creating pull requests, allowing you to safely abandon changes and clean up the associated worktree.

When do I need to determine the base branch during branch management?▼

Determining the base branch is required when concluding development work, as it identifies the correct target for your merge or pull request during the integration process.