post_merge_setup

Run post-merge setup scripts and reconcile workflows with .replit config.

Updated Apr 18, 2026
One-click install
npx skills add https://github.com/samibrahmi/instanotes-api --skill post-merge-setup-samibrahmi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: post_merge_setup
Source: https://github.com/samibrahmi/instanotes-api/tree/main/newcontent/skills/post_merge_setup
Command: npx skills add https://github.com/samibrahmi/instanotes-api --skill post-merge-setup-samibrahmi

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

After a task is merged, two things run automatically: the post-merge script (which installs dependencies, runs migrations, and rebuilds) and workflow reconciliation (which stops workflows removed from .replit and restarts already running workflows) to ensure the repository remains in a consistent state.

Core Features & Use Cases

  • Executes the post-merge setup script from the project root in a non-interactive Bash environment; a configurable timeout prevents hung setups.
  • Reconciles running workflows with the current .replit configuration after the post-merge script completes (stops removed workflows and restarts active ones).
  • Exposes commands to get, set, and run the post-merge configuration, enabling safe, repeatable post-merge behavior.

Quick Start

Create or update the post-merge script at the configured path and run the post-merge setup to apply changes.

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 post-merge setup tasks for environment consistency?

Post-merge setup automates environment consistency by running a script to install dependencies, run migrations, and rebuild artifacts. It executes in a non-interactive Bash environment with a configurable timeout to prevent hung processes.

What is workflow reconciliation and how does it work after a code merge?

Workflow reconciliation after a code merge stops workflows removed from the .replit config and restarts active ones. This ensures running workflows match the current repository configuration once the post-merge script completes.

How do I configure the post-merge script path and timeout for my DevOps workflow?

You can configure the post-merge script path and timeout using the setPostMergeConfig command. This allows you to define the script location and execution limit for safe, repeatable post-merge behavior.

Can I manually run the post-merge setup script outside of an automatic git merge?

Yes, you can manually trigger the post-merge setup using the runPostMergeSetup command. This executes the configured script from the project root and reconciles workflows based on the current .replit configuration.

Why does my post-merge setup hang during dependency installation and migrations?

Post-merge setup may hang if the script requires interactive input or exceeds the configured timeout. The automation runs in a non-interactive Bash environment, so ensure scripts do not pause for prompts.

Do I need a .replit config file to reconcile workflows after a merge?

Yes, the .replit config file is required to reconcile workflows after a merge. The setup uses this configuration to identify which workflows to stop or restart, ensuring the repository remains consistent.