pullrequest

Automate pull request lifecycle with CI status verification and safe merging.

11|4|Updated Jan 15, 2024
One-click install
npx skills add https://github.com/Systemorph/MeshWeaver --skill pullrequest-systemorph
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pullrequest
Source: https://github.com/Systemorph/MeshWeaver/tree/main/.claude/skills/pullrequest
Command: npx skills add https://github.com/Systemorph/MeshWeaver --skill pullrequest-systemorph

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh.

What problem does it solve?

This skill prevents the common failure mode where developers merge code into a main branch that is not yet green, which stalls automated self-updating deployment pipelines and causes system-wide instability.

Core Features & Use Cases

  • CI-Aware Merging: Automatically polls GitHub check suites via GraphQL to ensure the build is fully successful before allowing a merge.
  • Automated Documentation: Standardizes the creation of What's New entries for user-facing changes.
  • Safety Guardrails: Prevents common pitfalls like merging with pending CI, using rate-limited REST polling, or failing to track referenced files.

Quick Start

Use the pullrequest skill to create a new pull request and monitor the CI status until it is safe to merge.

Frequently Asked Questions about pullrequest

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

FAQPage Schema
How do I automate pull request creation and ensure CI is green before merging?

To prevent merging unverified code into a main branch from stalling automated deployment pipelines, you need a CI-aware merging process. This approach verifies GitHub check suites via GraphQL polling to ensure the build is fully successful before allowing any merge.

How does GraphQL status monitoring work for GitHub CI gating?

GraphQL status monitoring for CI gating works by querying GitHub check suites to track build progress. This prevents the rate-limiting issues associated with REST polling and ensures deployment stability by confirming a fully successful build before merging.

Do I need GitHub CLI authentication to automate pull request workflows?

Yes, you need GitHub CLI authentication to automate pull request workflows. The automation relies on the GitHub CLI to manage branch creation and uses GraphQL-based status monitoring to verify CI checks before merging.

What is the best way to manage a pull request lifecycle without stalling self-updating deployment pipelines?

The best way to manage a pull request lifecycle without stalling self-updating pipelines is to enforce CI-aware merging. This prevents the failure mode of merging non-green code into the main branch, which causes system-wide instability.

Why should I avoid REST polling when checking GitHub CI status for automated merges?

You should avoid REST polling when checking GitHub CI status for automated merges because it can lead to rate-limiting issues. Using GraphQL-based status monitoring provides a safer approach to verify build success and track referenced files before deployment.