land

Verify git branch, HEAD SHA, commit sync, and clean working tree before deployment.

4|Updated Apr 11, 2026
One-click install
npx skills add https://github.com/Dragoon0x/dragoon-skills --skill land-dragoon0x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: land
Source: https://github.com/Dragoon0x/dragoon-skills/tree/main/skills/land
Command: npx skills add https://github.com/Dragoon0x/dragoon-skills --skill land-dragoon0x

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill eliminates the risk of broken production deployments caused by out-of-sync local and remote git repositories, uncommitted working tree changes, or incorrect branch selection before a deploy step.

Core Features & Use Cases

  • Pre-Deploy Validation: Runs four critical checks: reports the current branch and HEAD SHA, confirms local commits match remote with no unpushed or unpulled changes, and verifies the working tree has no uncommitted modifications.
  • Flexible Workflow Support: Can be used as a manual check before pushing to production, or integrated as a CI pipeline step before triggering platform-specific deploy commands.
  • Use Case: A developer has just merged a feature branch and is ready to push to production; running this Skill first catches any leftover uncommitted changes or unpushed commits that would cause a broken or incomplete deploy.

Quick Start

Use the land skill to verify your repository is fully synced and clean before triggering a production deploy.

Frequently Asked Questions about land

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run a pre-deploy check to verify my git repository is clean before production deploy?

A pre-deploy check validates your git repository by confirming the current branch, verifying local commits match the remote, and ensuring the working tree has no uncommitted changes before a production deploy. It prevents broken deployments caused by out-of-sync states.

What is a working tree check and why do I need it before pushing to production?

A working tree check verifies that no uncommitted modifications exist in your local repository. You need it before pushing to production because uncommitted changes can cause incomplete or broken deployments if they are not properly committed and synced with the remote.

Can I use a pre-push validation step in my CI pipeline to prevent broken production deployments?

Yes, you can integrate pre-push validation as a CI pipeline step run immediately before invoking platform-specific deploy commands. It confirms local-remote commit sync and validates branch selection without triggering any actual deploy actions.

What does local-remote commit sync verification check for during a pre-deploy sanity check?

Local-remote commit sync verification confirms that local commits match the remote repository with no unpushed or unpulled changes. It ensures the code being deployed is fully synchronized and complete across both repositories.

Does this pre-deploy git validation tool trigger any actual deployment actions automatically?

No, this pre-deploy git validation tool does not trigger any deployment actions. It serves strictly as a lightweight validation layer that performs sanity checks and reports repository status before you manually invoke your deploy commands.

What happens if I deploy to production with unpushed commits or an out-of-sync git repository?

Deploying with unpushed commits or an out-of-sync git repository causes broken or incomplete production deployments. Running a sanity check first catches these discrepancies by verifying your HEAD SHA and local-remote sync status.