Engineering
land avatar

land

Automated PR lifecycle management: monitors conflicts, resolves CI failures, handles review feedback, and executes squash-merges for safe code integration.

Introduction

The Land skill provides a robust, agentic workflow for finalizing pull requests in the VS Code Sidebar Terminal repository. It is designed for developers who need to shepherd a PR from completion to merge without manual intervention for routine tasks. By utilizing the GitHub CLI (gh) and a dedicated asynchronous watcher, the skill creates a continuous loop that ensures the branch remains healthy, conflict-free, and aligned with the main branch. The agent operates with strict adherence to repository standards, prioritizing local validation through npm scripts before pushing any changes.

  • Automated conflict detection and resolution workflow using pull and push primitives.

  • Continuous integration (CI) monitoring with log analysis and proactive failure fixing for common issues like flaky tests.

  • Intelligent PR review management, including support for inline feedback, contextual decision-making, and mandatory human acknowledgement.

  • Squash-merging capability that preserves clean history while utilizing existing PR titles and bodies for commit metadata.

  • Ambiguity gate and pushback templates to ensure agent decisions align with developer intent and project guidelines.

  • Precondition: Requires an authenticated GitHub CLI (gh) session and a clean git working tree on the feature branch.

  • Usage: Trigger this skill when a PR is ready for final verification, review addressing, and merging.

  • Input/Output: The agent consumes PR state and CI statuses; it produces git commits, push events, GitHub review comments, and PR merge events.

  • Context Guard: Before applying any review-based code changes, the agent validates the fix against the original task context to prevent regressions.

  • Best Practice: Treat Ubuntu test timeouts as potential flakes; prioritize fixing genuine logic errors before re-running CI checks.

Repository Stats

Stars
19
Forks
8
Open Issues
30
Language
TypeScript
Default Branch
main
Sync Status
Idle
Last Synced
May 3, 2026, 05:01 PM
View on GitHub