SKILL

finishing-a-development-branch

Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting structured options for merge, PR, or cleanup

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Finishing a Development Branch
  • Overview
  • The Process
  • Step 1: Verify Tests
  • Step 2: Determine Base Branch
  • Step 3: Present Options
  • Step 4: Execute Choice
  • Option 1: Merge Locally

Guide completion of development work by presenting clear options and handling chosen workflow. Core principle: Verify tests → Present options → Execute choice → Clean up. Announce at start: "I'm using the finishing-a-development-branch skill to complete this work." Before presenting options, verify tests pass: If tests fail: Stop. Don't proceed to Step 2. If tests pass: Continue to Step 2. Or ask: "This branch split from main - is that correct?" Present exactly these 4 options: Don't add explanation - keep options concise. Then: Cleanup worktree (Step 5) Then: Cleanup worktree (Step 5) Report: "Keeping branch . Worktree preserved at ." Don't cleanup worktree. Confirm first: Wait for exact confirmation. If confirmed: Then: Cleanup worktree (Step 5) For Options 1, 2, 4: Check if in worktree: If yes: For Option 3: Keep worktree. | Option | Merge | Push | Keep Worktree | Cleanup Branch | |--------|-------|------|---------------|----------------| | 1. Merge locally | ✓ | - | - | ✓ | | 2. Create PR | - | ✓ | ✓ | - | | 3. Keep as-is | - | - | ✓ | - | | 4. Discard | - | - | - | ✓ (force) | Skipping test verification Problem: Merge broken code, create failing PR Fix: Always verify tests bef

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
davila7/claude-code-templates
Source file
cli-tool/components/skills/development/finishing-a-development-branch/SKILL.md
Fixed revision
21be197f100a12b8d0dd9a211cc244c8179f84d3
Read the complete original documentation ↗

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: davila7/claude-code-templates · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-09T14:01:44.344Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.