land-and-deploy
SolidMerge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.
AI & Automation 4,957 stars
661 forks Updated today CC-BY-SA-4.0
Install
Quality Score: 96/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
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
- 5 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
ship
Ship phase. Runs isolated integration test in a fresh worktree, creates a PR with full spec + check report in the body, watches CI, and auto-fixes failures.
8 Updated today
epicsagas AI & Automation Listed
ship
Full deployment pipeline — tests, coverage audit, CHANGELOG generation, bisectable commits, and PR creation. Use when a change is verified and ready to ship as a pull request.
1 Updated 4 days ago
tansuasici Code & Development Listed
merge
Merge GitHub PR into main w/ release-ready commit message. Triggers when user mentions merging PR, landing branch, shipping GitHub PR. Phrasings: "merge this", "land the PR", "merge PR #N".
4 Updated today
kborovik