land-and-deploy

Featured

Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.

AI & Automation 5,772 stars 755 forks Updated today CC-BY-SA-4.0

Install

View on GitHub

Quality Score: 96/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Land and Deploy Complete landing pipeline: merge the PR, wait for CI, verify the deployment, run a health check. Picks up where `/ship` left off. `/ship` creates the PR. This command merges it and verifies production. **Non-interactive by default.** The user said "land it", so land it. Stop only for the critical readiness gate and hard blockers. ## Instructions ### Step 1: Pre-flight ```bash # Verify GitHub CLI is authenticated gh auth status # Detect PR from current branch (or use argument if provided) gh pr view --json number,state,title,url,mergeStateStatus,mergeable,baseRefName,headRefName ``` **Stop conditions:** - GitHub CLI not authenticated → "Run `gh auth login` first" - No PR exists → "No PR found for this branch. Run `/ship` first." - PR already merged → "PR is already merged." - PR is closed → "PR is closed. Reopen it first." --- ### Step 2: CI Status Check ```bash # Check current CI status gh pr checks --json name,state,status,conclusion # Check for merge conflicts gh pr view --json mergeable -q .mergeable ``` **Stop conditions:** - Required checks FAILING → show failing checks, stop - `mergeable` is `CONFLICTING` → "PR has merge conflicts. Resolve them and push before landing." - Required checks PENDING → proceed to Step 3 (wait for CI) - All checks passing → skip to Step 3.5 (readiness gate) --- ### Step 3: Wait for CI (if pending) ```bash # Watch CI checks with 15-minute timeout gh pr checks --watch --fail-fast ``` - CI passes → continue to ...

Details

Author
FlorianBruniaux
Repository
FlorianBruniaux/claude-code-ultimate-guide
Created
7 months ago
Last Updated
today
Language
Python
License
CC-BY-SA-4.0

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

land

Post-merge landing: take merged MR(s) to verified-in-production by executing the project's landing runbook — watch the main pipeline(s) to green, apply or hand off migrations, deploy in the runbook's order, then canary-verify (health checks, smoke checks) before declaring shipped. Runbook-driven: reads docs/landing.md; on first run it drafts one by inspecting the repo (CI config, migrations, health endpoints) and confirms it with you. Every step is tagged [agent] (executed directly) or [human] (prod-locked — handed to you as exact commands and waited on, never assumed). Hard stops: red pipeline, failed migration, failed canary, unconfirmed human step. Never auto-rolls-back; prepares the revert and asks. Use when: "land this", "deploy the merge", after /ship-feature merges, "take it to prod", running post-merge follow-ups (migrations, deploy order, canary).

0 Updated 3 weeks ago
ohyesgocool
AI & Automation Solid

ship

Verify and publish changes — push, open PR, watch CI until green; land mode merges an existing PR and cleans up. Triggers "ship it", "create PR", "open PR", "ready to merge", "/pr", "/ship", "push and PR", "watch the PR", "babysit CI", "loop until green"; land mode "land it", "/ship land", "fix CI and merge", "merge it then clean the branches", "merge and clean up".

42 Updated today
darkroomengineering
AI & Automation Solid

land-and-deploy

Land and deploy workflow. Merges the PR, waits for CI and deploy, verifies production health via canary checks. Takes over after /ship creates the PR.

5 Updated 3 days ago
timurgaleev