/approve — Push PR to Auto-Merge

Push a feature branch, create a GitHub pull request, and enable auto-merge.

36|2|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/Disentinel/grafema --skill approve-push-pr-to-auto-merge
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: /approve — Push PR to Auto-Merge
Source: https://github.com/Disentinel/grafema/tree/main/.claude/skills/approve
Command: npx skills add https://github.com/Disentinel/grafema --skill approve-push-pr-to-auto-merge

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the process of pushing code changes, creating a pull request, and enabling auto-merge on GitHub, streamlining the deployment workflow after task completion.

Core Features & Use Cases

  • Automated PR Creation: Creates a pull request against the main branch with an auto-generated title and body.
  • Auto-Merge Enablement: Configures the PR for automatic merging once all CI checks pass.
  • Issue Tracking Integration: Updates the associated Linear issue to "In Review" status.
  • Use Case: After completing a coding task on a feature branch, you can use this skill to quickly get your changes ready for review and merging without manual steps.

Quick Start

Use the approve skill to push your current branch, create a PR, and enable auto-merge.

Frequently Asked Questions about /approve — Push PR to Auto-Merge

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

FAQPage Schema
How do I automate pull request creation and enable auto-merge on GitHub?

Automating pull request creation involves pushing your feature branch to origin, opening a PR against main, and enabling auto-merge so GitHub merges it automatically once CI checks pass. This eliminates manual intervention after task completion.

Can I automatically update Linear issue status when creating a GitHub pull request?

Yes, you can automatically update Linear issue status when creating a GitHub pull request by linking the task to the branch. The automation transitions the associated Linear issue to 'In Review' status as soon as the PR is pushed and opened.

Does the auto-merge pull request automation work on the main branch?

No, the auto-merge pull request automation does not work on the main branch. It validates that your current working branch is not main and also checks that there are no uncommitted local changes before initiating the push and PR creation process.

What is the best way to push code and open a pull request without manual steps?

The best way to push code and open a pull request without manual steps is using an automation workflow that pushes your branch, generates the PR title and body, and enables auto-merge. This streamlines deployment immediately after finishing a coding task.

Why does my pull request auto-merge automation fail on uncommitted changes?

Pull request auto-merge automation fails on uncommitted changes because it requires a clean working directory before proceeding. It validates the absence of local modifications to ensure only committed feature branch code is pushed to origin for PR creation.