land

Merge pull requests by resolving conflicts, checking CI/CD, and squashing via GitHub API.

8|1|Updated Jul 15, 2024
One-click install
npx skills add https://github.com/HorusGoul/trizum --skill land-horusgoul
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: land
Source: https://github.com/HorusGoul/trizum/tree/main/.agents/skills/land
Command: npx skills add https://github.com/HorusGoul/trizum --skill land-horusgoul

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of landing a pull request by handling merge conflicts, checking CI/CD statuses, and squashing merges automatically.

Core Features & Use Cases

  • Conflict Resolution: Automatically handles merge conflicts by pulling the latest changes from the main branch and resolving them.
  • CI/CD Monitoring: Continuously monitors CI/CD checks for the pull request, ensuring that all tests pass before merging.
  • Squash Merging: Performs a squash merge on the pull request once all checks are green.
  • Use Case: Ideal for developers who want to automate the process of landing their pull requests, especially in complex repositories with multiple collaborators.

Quick Start

Use the land skill to automatically land your PR.

Frequently Asked Questions about land

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

FAQPage Schema
How do I automate merging a pull request with conflict resolution and CI/CD checks?

To automate merging a pull request, the Skill pulls latest changes from the main branch to resolve conflicts, monitors CI/CD checks until they pass, and performs a squash merge automatically.

What is the best way to handle merge conflicts automatically before a squash merge?

Handling merge conflicts automatically is achieved by pulling the latest changes from the main branch into your pull request branch, resolving discrepancies before proceeding to the squash merge.

Do I need the gh CLI authenticated to automate pull request merges?

Yes, you need the 'gh' CLI authenticated. The Skill utilizes the GitHub API and shell commands via 'gh' to interact with your repository and pull request.

Can I monitor CI/CD status and wait for checks to pass before merging a PR?

Yes, you can monitor CI/CD status. The Skill continuously monitors CI/CD checks for the pull request, ensuring that all tests pass before performing the merge.

Does this Skill perform a squash merge or a standard merge for pull requests?

The Skill performs a squash merge. Once all CI/CD checks are green and conflicts are resolved, it automatically executes a squash merge on the pull request.