🔀
AutomationRust

Finishing a Development Branch

by xintaofei

Finishing a Development Branch is an Automation skill for Claude Code, published by xintaofei in codeg.

2.8K stars344 forkson xintaofei/codegAdded 2026/08/17+3% in starsRepository updated 2026/08/17
acpagentclaude-codeclinecode-generationcodebuddycodexgemini-cligrok-buildguihermes-agentkimi-codeopenclawopencodepiworktree
Install in seconds
Install Finishing a Development Branch
Copy Finishing a Development Branch into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/xintaofei/codeg/tree/main/src-tauri/experts/skills/finishing-a-development-branch ~/.claude/skills/finishing-a-development-branch

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/xintaofei/codeg.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
src-tauri/experts/skills/finishing-a-development-branch/SKILL.md in xintaofei/codeg
Installs to
~/.claude/skills/finishing-a-development-branch
Collection
One of 25 skills cataloged from this repository
Category
Automation1523 skills

What Finishing a Development Branch does

Finishing a Development Branch verifies tests, detects the git environment, and presents merge, pull request, or keep-as-is options to complete development work. It cleans up worktrees and branches after local merges or confirmed discards.

Finishing a Development Branch is cataloged under Automation on DirSkills. Finishing a Development Branch comes from a repository tagged acp, agent, claude-code, cline and code-generation.

Documentation

README

Finishing a Development Branch

Overview

Core principle: Verify tests → Detect environment → Present options → Execute choice → Clean up.

Announce at start: "I'm using the finishing-a-development-branch skill to complete this work."

Step 1: Verify Tests

Run the project's full test suite (npm test / cargo test / pytest / go test ./...).

If tests fail, report the failures and stop — the menu comes after a green suite:

Tests failing (<N> failures). Must fix before completing:

[Show failures]

If tests pass: continue to Step 2.

Step 2: Detect Environment

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Finishing a Development Branch

  • What else does xintaofei publish alongside Finishing a Development Branch?

    Finishing a Development Branch is one of 25 skills that DirSkills catalogs from xintaofei/codeg, the repository it ships in. Its siblings there include Brainstorming, Citation Management and Code Review Reception. Each one is a separate skill with its own page in this directory, installs the same way Finishing a Development Branch does, and is maintained by xintaofei in that same repository. The rest of the collection is listed on the xintaofei/codeg page.

  • How does Finishing a Development Branch compare to other Automation skills?

    Finishing a Development Branch ranks #440 by stars among the 1523 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Finishing a Development Branch against them. Open each page to compare what they document and how they install.

More from xintaofei/codeg

Finishing a Development Branch is one of 25 skills cataloged on DirSkills from xintaofei/codeg.

See all 25 skills
💡
2w ago

Brainstorming

Brainstorming turns ideas into fully formed designs and specs through collaborative dialogue, asking clarifying questions and proposing approaches before implementation. Use it before any creative or coding work to align on requirements and get approval.
AI Engineering
2.8K344
📚
2w ago

Citation Management

Citation Management searches Google Scholar and PubMed for papers, extracts accurate metadata, validates citations, and generates properly formatted BibTeX entries. Use it when you need to find papers, verify citation information, convert DOIs to BibTeX, or ensure reference accuracy in scientific writing.
Writing
2.8K345
🧪
2w ago

Code Review Reception

Code Review Reception establishes a verification-first workflow for responding to code review feedback, requiring technical evaluation and clarification before implementation rather than performative agreement. Use it when receiving feedback from humans or external reviewers to avoid blind implementation and ensure changes fit the codebase.
Quality
2.8K344
🤖
2w ago

Dispatching Parallel Agents

Dispatching Parallel Agents delegates independent tasks to multiple concurrent subagents to investigate and fix issues in parallel. Use it when you have 2+ independent tasks that can be worked on without shared state or sequential dependencies.
AI Engineering
2.8K344
📋
2w ago

Executing Plans

Executing Plans loads a written implementation plan, reviews it critically, executes all tasks with verification, and reports when complete. Use it when you have a written implementation plan to execute in a separate session with review checkpoints.
Automation
2.8K344
🧪
2w ago

Experimental Design

Experimental Design plans experiments and studies before data collection, choosing a design, randomizing, blocking, and laying out treatment combinations so results are interpretable. Use it when assigning subjects to groups, screening factors, or setting up factorial or response-surface designs.
Data
2.8K345