What problem does it solve?
Land-and-deploy automates the fragile, error-prone steps between creating a PR and confirming a successful production rollout, removing manual waiting, guesswork, and unsafe merges.
Core Features & Use Cases
- Automated Merge & Wait: Detects the PR for the current branch or a specified PR, merges it using GitHub CLI, and monitors CI and deploy pipelines until completion.
- First-run Dry Run & Safety Gates: Performs an initial dry-run and checks deploy configuration, enforces pre-merge readiness gates (reviews, tests, docs), and stops on authentication, conflicts, or failing CI.
- Canary Verification & Revert Options: Verifies production health with canary checks against a provided URL or detected production endpoint and offers revert guidance if health checks fail.
- Use Case: A release engineer uses this to merge a feature branch, wait for CI and CD, validate a canary endpoint, and receive a clear DONE/BLOCKED outcome.
Quick Start
Run the land-and-deploy skill on your branch by invoking /land-and-deploy #PR_NUMBER or /land-and-deploy <url> to merge the PR, wait for CI and deploy, and verify production health.