post_merge_setup
Installation
SKILL.md
Post-Merge Setup
After a task is merged, two things run automatically:
- Setup script — installs dependencies, runs migrations, rebuilds.
- Workflow reconciliation — stops workflows removed from
.replitand restarts already running workflows.
If either step fails, the agent will be alerted about the issue, and should fix it immediately.
What Runs Automatically
The system runs the configured post-merge script from the project root with bash.
Stdin is closed (/dev/null), so commands that prompt for input will get EOF and fail immediately. The full Nix environment is available on PATH.
If the script does not exist, setup fails and you are asked to create it.
The script has a configurable timeout. If the script takes longer, it is killed and setup fails with a timeout error.
After the script, workflow reconciliation syncs running workflows with the current .replit config.