florianbruniaux/claude-code-ultimate-guide/land-and-deploy
Claude Code and agent skill by florianbruniaux/claude-code-ultimate-guide
- community
- ext:[{"type":"hook","description":"Pre/post lifecycle hooks"}]
Checking that the SKILL.md file is still in the repository.
Merge PR, wait for CI, verify deploy, run canary. The complete landing pipeline.
Install
npx vskill@latest install florianbruniaux/claude-code-ultimate-guide/land-and-deploySemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as florianbruniaux/claude-code-ultimate-guide/land-and-deploy.
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 skill 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
Stop conditions:
- GitHub CLI not authenticated → "Run
gh auth loginfirst" - No PR exists → "No PR found for this branch. Run
/shipfirst." - PR already merged → "PR is already merged."
- PR is closed → "PR is closed. Reopen it first."
Step 2: CI status check
Stop conditions:
- Required checks FAILING → show failing checks, stop
mergeableisCONFLICTING→ "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)
- CI passes → continue to Step 3.5
- CI fails → stop, show failures
- Timeout (15 min) → "CI has been running for 15 minutes. Investigate manually."
Record CI wait duration for the deploy report.
Step 3.5: Pre-Merge readiness gate
This is the one critical confirmation before an irreversible merge. Collect all evidence, then get explicit approval.
Review staleness check
Staleness thresholds:
- 0–3 commits since review → CURRENT (green)
- 4+ commits, touching code → STALE (yellow, review may not reflect current code)
- No review found → NOT RUN (yellow)
Test results
Failing tests = BLOCKER. Cannot merge with failing tests.
Documentation check
If CHANGELOG.md and VERSION were NOT modified and the diff includes new features → WARNING.
Readiness report
Present a summary and ask for explicit confirmation:
If the user chooses B, list exactly what needs to be done and stop.
Step 4: Merge the PR
Record the merge commit SHA and timestamp.
If merge fails with permission error → "You don't have merge permissions. Ask a maintainer to merge."
If merge queue is active, poll until merged:
Step 5: Platform detection
Detect how this project deploys so we know what to verify.
Decision tree:
- Docs-only diff → skip deploy verification, go to Step 8
- No deploy workflow + no URL provided → ask user if this project has a web deploy
- Otherwise → proceed to Step 6
Step 6: Wait for deploy
GitHub Actions deploy workflow:
Platform-specific strategies:
| Platform | Detection | Wait strategy | |
|---|---|---|---|
| Vercel / Netlify | Auto-deploy on push | Wait 60s for propagation, then check | |
| Fly.io | fly.toml present | fly status --app <app>, check started status | |
| Render | render.yaml present | Poll production URL until it responds with 200 | |
| Heroku | Procfile present | heroku releases --app <app> -n 1 | |
| Railway | railway.toml present | Poll production URL | |
| GitHub Actions only | .github/workflows/ with deploy step | Poll gh run view |
If deploy fails → offer to investigate logs or create a revert commit.
Record deploy duration for the report.
Step 7: Production health check
Use diff scope (from Step 5) to determine check depth:
| Diff Scope | Canary Depth | |
|---|---|---|
| Docs only | Already skipped in Step 5 | |
| Config only | HTTP 200 smoke check only | |
| Backend only | Status + response time check | |
| Frontend (any) | Full: status + response time + content check | |
| Mixed | Full check |
Full health check sequence:
Pass criteria:
- HTTP 200 status
- Response time under 10 seconds
- Page has content (>500 bytes)
- Health endpoint returns 200 (if configured)
If any check fails → offer to revert:
Step 8: Revert (if needed)
If conflicts → "Revert has conflicts. Run git revert <sha> manually to resolve." If branch protections → "Create a revert PR: gh pr create --title 'revert: <title>'"
Step 9: Deploy report
Step 10: Follow-up suggestions
After the deploy report, suggest relevant next steps:
- If production URL was verified: "Run
/canary <url>for extended 10-minute monitoring." - If new features were shipped: suggest updating the changelog and project docs.
Important rules
- Never force push. Use
gh pr merge(it's safe). - Never skip CI. Failing checks = stop.
- Single-pass production check. For extended monitoring, use
/canary. - Revert is always an option. At every failure point, offer revert as an escape hatch.
- Delete the feature branch after merge (via
--delete-branch). - The goal: user types
/land-and-deploy, next thing they see is the deploy report.
Usage
Related skills
/ship: run this first to create the PR/canary: extended post-deploy monitoring loop/review-pr: review the PR before landing
$ARGUMENTS
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingexamples/skills/land-and-deploy/SKILL.md
Popularity
- Repository stars
- 5,719
- Repository forks
- 749
- 7-day trend score
- 43
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
hookPre/post lifecycle hooks
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/florianbruniaux/claude-code-ultimate-guide/land-and-deploy)