finishing-a-development-branch

Guide developers through merging, creating pull requests, or cleaning up development branches.

8|1|Updated Feb 25, 2022
One-click install
npx skills add https://github.com/ayubun/dotfiles --skill finishing-a-development-branch-ayubun
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: finishing-a-development-branch
Source: https://github.com/ayubun/dotfiles/tree/main/configs/opencode/skills/ed3d-plan-and-execute/finishing-a-development-branch
Command: npx skills add https://github.com/ayubun/dotfiles --skill finishing-a-development-branch-ayubun

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ed3d-project-opencode-librarian, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of completing development work by providing a structured approach to merge, create a Pull Request, or clean up a branch.

Core Features & Use Cases

  • Merge Guidance: Offers step-by-step instructions for merging a feature branch into a base branch.
  • Pull Request Creation: Automates the process of pushing a branch and creating a Pull Request with appropriate information.
  • Cleanup Options: Provides options to keep the branch as-is or discard it permanently.
  • Context Update: Invokes another skill to update project context and AGENTS.md files when necessary.
  • Worktree Management: Cleans up worktrees based on the chosen option.

Quick Start

Run the finishing-a-development-branch skill to guide you through completing your development work.

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 finish a development branch with a structured merge or cleanup process?

Finishing a development branch involves a structured process that guides you through options for merging into a base branch, creating a Pull Request, or cleaning up. It automates test verification, context updates, and worktree management.

What is the best way to automate worktree cleanup after merging a feature branch?

Automating worktree cleanup after merging a feature branch is handled by selecting a completion option that manages the worktree based on your choice to keep or discard it. This removes obsolete working directories automatically.

Do I need a test suite to create a Pull Request from my feature branch?

Yes, you need a repository with a test suite to create a Pull Request using this workflow. The process automates test verification before pushing your branch and generating the Pull Request with the appropriate information.

Can I update project context and AGENTS.md files automatically when completing a branch?

You can update project context and AGENTS.md files automatically when completing a branch by invoking a required librarian skill. This ensures your project documentation stays synchronized with the latest development changes.

Does branch management workflow support discarding a feature branch permanently?

Branch management workflow supports discarding a feature branch permanently through its cleanup options. You can choose to keep the branch as-is or discard it entirely, which also handles the associated worktree removal.

What are the limitations of automating Pull Request creation and branch cleanup?

Limitations include a strict dependency on a librarian skill for context updates and requiring repository access with a valid test suite. Without these environmental prerequisites, the automated merge, Pull Request, and cleanup guidance cannot execute successfully.