merge

Merge successful agent branches into a base repository and archive failures with git tags.

Updated Nov 3, 2016
One-click install
npx skills add https://github.com/xleliberty/mydotfiles --skill merge-xleliberty
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge
Source: https://github.com/xleliberty/mydotfiles/tree/main/.config/.claude/plugins/cache/claude-code-skills/engineering-advanced-skills/2.1.2/agenthub/skills/merge
Command: npx skills add https://github.com/xleliberty/mydotfiles --skill merge-xleliberty

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This skill resolves the manual overhead of managing multiple agent branches after an evaluation session by automating the merge, archival, and cleanup process.

Core Features & Use Cases

  • Automated Merging: Integrates the winning agent's work into the base branch using non-fast-forward merges to maintain clear history.
  • Branch Archival: Preserves the work of losing agents by creating permanent git tags before deleting the temporary branches.
  • Environment Cleanup: Automatically removes temporary worktrees and updates the session state to ensure a clean workspace.

Quick Start

Execute the merge skill to finalize the latest agent evaluation session and clean up all associated branches and worktrees.

Frequently Asked Questions about merge

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

FAQPage Schema
How do I automate git branch merging after an agent evaluation session?

Automate git branch merging by running a script that integrates the winning agent's work into the base branch using non-fast-forward merges, preserving clear history while finalizing the evaluation session.

What is the best way to archive unsuccessful agent branches in git?

Archiving unsuccessful agent branches is handled by creating permanent git tags before deleting the temporary branches, ensuring the losing agents' work is preserved without cluttering the active repository.

How does temporary worktree cleanup work for agent workflows?

Temporary worktree cleanup works by automatically removing the temporary directories and updating the session state, ensuring a clean workspace after the evaluation branches are merged or archived.

Do I need python and git to automate agent branch lifecycle management?

Yes, you need both git and a python environment to execute the session management scripts and perform the necessary repository operations for automating agent branch lifecycle management.

Can I integrate winning agent code into a base repository without fast-forwarding?

Yes, you can integrate winning agent code without fast-forwarding; the process uses non-fast-forward merges to maintain a clear, detailed history of the changes merged into the base repository.