push

Push code changes and create pull requests with validation checks.

Updated May 16, 2026
One-click install
npx skills add https://github.com/LuminairPrime/skill-tree-chopper --skill push-luminairprime
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: push
Source: https://github.com/LuminairPrime/skill-tree-chopper/tree/main/vendors/s-hiraokuvscode-sidebar-terminal/.codex/skills/push
Command: npx skills add https://github.com/LuminairPrime/skill-tree-chopper --skill push-luminairprime

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of pushing code changes and creating or updating pull requests, reducing manual steps and potential errors.

Core Features & Use Cases

  • Automated Validation: Executes scripts to compile, lint, and test code before pushing.
  • Branch Management: Handles pushing and PR creation/update based on branch state.
  • Error Handling: Provides clear error messages and recovery steps for common issues like non-fast-forward pushes or auth errors.
  • Use Case: When you need to push code changes and ensure they are ready for review by automatically running necessary checks and creating a pull request.

Quick Start

Push the current branch changes to the origin repository and create a pull request with the 'push' skill.

Frequently Asked Questions about push

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

FAQPage Schema
How do I automate code validation before a git push and pull request?

Automated code validation runs compile, lint, and test scripts before pushing changes to ensure code quality. This process catches errors early by executing necessary checks locally, preventing broken code from entering your continuous integration workflows.

Do I need the gh CLI installed to create pull requests from the command line?

Yes, you need the gh CLI installed to create pull requests from the command line. This Skill requires both git and gh CLI for GitHub operations, using them to manage branches, push updates, and handle PR creation or updates automatically.

What is the best way to handle non-fast-forward errors when pushing code?

Handling non-fast-forward errors requires clear recovery steps when a push fails due to branch conflicts. This Skill provides built-in error handling that identifies common issues like non-fast-forward pushes or authentication errors and outputs actionable recovery instructions.

Can I update an existing pull request instead of creating a new one?

Yes, you can update an existing pull request instead of creating a new one. Branch management logic detects the current branch state and handles the push accordingly, automatically creating a new PR or updating an existing one to streamline your workflow.

Why should I run CI/CD checks locally before creating a GitHub pull request?

Running CI/CD checks locally before creating a GitHub pull request ensures code quality and readiness for review. Automated validation executes necessary scripts to compile, lint, and test your code, reducing manual steps and preventing deployment failures.