post_merge_setup

Run post-merge setup scripts and reconcile workflows with detailed logs.

Updated Apr 1, 2026
One-click install
npx skills add https://github.com/koya-alt/Catalyst --skill post-merge-setup-koya-alt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: post_merge_setup
Source: https://github.com/koya-alt/Catalyst/tree/main/local/skills/post_merge_setup
Command: npx skills add https://github.com/koya-alt/Catalyst --skill post-merge-setup-koya-alt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The post-merge setup skill ensures that repository maintenance tasks configured to run after merges—such as dependency installation, database migrations, and rebuilds—are executed reliably and that running workflows are reconciled with the current configuration, reducing broken deployments and manual fixes.

Core Features & Use Cases

  • Automated Setup Execution: Runs a configured post-merge script from the project root in a controlled environment with a configurable timeout.
  • Workflow Reconciliation: Stops workflows removed from .replit and restarts or syncs currently running workflows to match the repository configuration.
  • Diagnostics & Recovery: Returns detailed results including stdout/stderr log paths, runtime duration, and explicit setup or reconciliation errors to guide repairs.
  • Use Case: After merging a feature branch that changes dependencies or database schema, run the post-merge setup to install packages, apply migrations, and ensure background workflows reflect the new configuration.

Quick Start

Run the post-merge setup with runPostMergeSetup() and inspect the opened log tails to diagnose and fix any script or reconciliation failures.

Frequently Asked Questions about post_merge_setup

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

FAQPage Schema
How do I automate database migrations and dependency installation after a git merge?

Automate post-merge setup by running a configured script from the project root to execute dependency installation, database migrations, and service restarts in a controlled environment with a configurable timeout.

What is workflow reconciliation and how does it work after merging branches?

Workflow reconciliation stops workflows removed from repository configuration and restarts or syncs currently running workflows to match the new configuration after a branch merge.

How do I fix broken deployments caused by missed post-merge repository maintenance tasks?

Run post-merge setup to execute required maintenance scripts and return detailed stdout, stderr, runtime duration, and explicit error fields to diagnose and fix broken deployments.

Can I configure the script path and timeout for automated post-merge setup scripts?

Yes, you can configure the script path and timeout for post-merge setup using the setPostMergeConfig and getPostMergeConfig programmatic controls before execution.

Why are my background workflows out of sync with my repository configuration after a merge?

Background workflows fall out of sync when merges change repository configuration without reconciliation, requiring automated setup to stop removed workflows and restart running ones to match.

How do I diagnose errors when post-merge setup scripts or workflow reconciliation fails?

Diagnose post-merge setup failures by inspecting the returned stdout and stderr log paths, runtime duration, and explicit setup or reconciliation error fields to guide repairs.