Finishing A Development Branch logo

Finishing A Development Branch

Community
andreaswasita
finishing-a-development-branch

Verifies, summarises, and closes a development branch.

Overview

Publisherandreaswasita
Repositorycopilot-agents-dojo
Skill namefinishing-a-development-branch
Stars
54
Forks
15
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by andreaswasita on GitHub. Read the source before you install it.

Installation

Install the Finishing A Development Branch AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/andreaswasita/copilot-agents-dojo/tree/main/skills/finishing-a-development-branch
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/andreaswasita/copilot-agents-dojo.git /tmp/copilot-agents-dojo
mkdir -p .claude/skills
cp -r /tmp/copilot-agents-dojo/skills/finishing-a-development-branch .claude/skills/finishing-a-development-branch
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Finishing A Development Branch in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Finishing A Development Branch on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Finishing A Development Branch is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

Finishing a Development Branch Skill

Runs the closing ritual for a completed branch or worktree: final verification, full diff review, options presented to the user, chosen action executed, cleanup, and a logged retrospective. Does NOT merge without explicit user consent.

When to Use

  • All tasks in tasks/todo.md are marked complete.
  • User says "merge", "we're done", "ship it", or "finish up".
  • A feature branch or worktree is ready for integration.
  • Ending a session that produced completed work.

Prerequisites

  • All planned tasks complete with Verification Results blocks.
  • git configured with author identity and remote access.
  • gh CLI authenticated (for PR option).
  • The powershell tool to run gates and git.
  • A clean working tree.

How to Run

text
1. Run the dojo gate + full test suite. All green.
2. Review the full diff against main.
3. Present options: merge / PR / keep / discard.
4. Wait for the user to choose.
5. Execute the chosen action.
6. Clean up worktree, branch, and tasks/todo.md.
7. Log the retrospective in tasks/lessons.md.

Quick Reference

OptionCommands
Mergegit checkout main && git merge --squash <branch> && git commit && git branch -d <branch>
PRgit push -u origin <branch> && gh pr create --fill
Keep(no-op) leave the branch as-is
Discardgit checkout main && git branch -D <branch>
Verification checkCommand
Dojo gatebash scripts/verify.sh --check
Full testsnpm test / pytest / go test ./... / dotnet test
Clean treegit status --porcelain
Full diffgit diff main --stat then git diff main
Commit loggit log main..HEAD --oneline

Procedure

Step 1: Final Verification

Run via the powershell tool:

bash
bash scripts/verify.sh --check
git status --porcelain
git log main..HEAD --oneline
git diff main --stat

All checks must pass. Anything failing → fix it, do not force-merge.

Step 2: Review the Full Diff

Walk the cumulative diff. Ask:

  • Does the total change match the original plan?
  • Are there commits that should not be here?
  • Is the history readable end-to-end?

Step 3: Present Options

markdown
## Branch Complete: feature/add-search

**Summary:** Full-text search with 3 endpoints, Elasticsearch integration, 24 new tests.
**Stats:** 8 commits, 12 files changed, +420 / -30 lines.

**Options:**
1. Merge to main (squash + delete branch)
2. Open a PR
3. Keep the branch as-is
4. Discard the branch and all changes

Wait for the user's explicit choice.

Step 4: Execute the Chosen Option

Run the commands from the Quick Reference table for the chosen option. Confirm completion with the user.

Step 5: Cleanup

  • Remove worktree if used: git worktree remove ../<workdir>.
  • Reset or archive tasks/todo.md.
  • Confirm git status on main is clean.

Step 6: Retrospective

Append to tasks/lessons.md:

yaml
- date: 2026-05-19
  type: session-retrospective
  feature: "full-text search"
  went_well: "TDD caught 2 edge cases before they shipped"
  went_poorly: "Underestimated Elasticsearch config — took 2x planned time"
  lesson: "Account for infrastructure setup in time estimates for new services"

Without the retrospective, the dojo does not learn from this branch.

Pitfalls

  • DO NOT merge without an explicit user choice. Always present options.
  • DO NOT force-merge past a failing gate. Fix the failure or back out.
  • DO NOT leave orphaned worktrees behind.
  • DO NOT skip the retrospective. Every branch teaches something — capture it.
  • DO NOT discard a branch without confirmation. Deletion is irreversible to the user.

Verification

  • verify.sh --check exits 0.
  • Full test suite is green.
  • User explicitly chose the closing option.
  • Branch action executed and confirmed.
  • Worktree (if any) is removed; tasks/todo.md reset or archived.
  • Retrospective entry exists in tasks/lessons.md.

Frequently asked questions

What does the Finishing A Development Branch AI skill do?

Verifies, summarises, and closes a development branch.

Why use Finishing A Development Branch on TypingMind?

Because you install it once and use it with any model. Finishing A Development Branch is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Finishing A Development Branch in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/andreaswasita/copilot-agents-dojo/tree/main/skills/finishing-a-development-branch. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Finishing A Development Branch?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Finishing A Development Branch?

As many as you like. As long as a model supports skills, you can use Finishing A Development Branch with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Finishing A Development Branch AI skill free?

Yes. It is published on GitHub by andreaswasita under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇