ship

Commit code changes, push to remote, and create pull requests via Git and GitHub CLI.

Updated Mar 17, 2023
One-click install
npx skills add https://github.com/gsarmaonline/nvim --skill ship-gsarmaonline
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ship
Source: https://github.com/gsarmaonline/nvim/tree/main/claude/skills/ship
Command: npx skills add https://github.com/gsarmaonline/nvim --skill ship-gsarmaonline

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of committing code changes, pushing them to a remote repository, and creating pull requests, ensuring consistent version control practices.

Core Features & Use Cases

  • Automated Committing: Generates clear, convention-following commit messages.
  • Branch-Aware PR Creation: Automatically creates pull requests for feature branches or informs if changes were pushed directly to main.
  • Use Case: After completing a new feature, you can use this Skill to commit your work, push it, and open a pull request for review without manually running multiple Git commands.

Quick Start

Use the ship skill to commit and push the current changes.

Frequently Asked Questions about ship

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

FAQPage Schema
How do I commit and push code changes to a remote repository?

To commit and push code changes, you can automate the process using Git commands to stage your work, generate a commit message, and push the branch to the remote repository. This streamlines version control management.

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

Yes, you need the GitHub CLI (gh) installed to automate pull request creation. The Skill requires both Git and the GitHub CLI to execute branching, committing, pushing, and opening pull requests.

Can I automatically create a pull request after pushing a feature branch?

Yes, you can automatically create a pull request after pushing a feature branch. The Skill is branch-aware and will conditionally open a pull request for feature branches or inform you if changes were pushed directly to main.

What is the best way to generate conventional commit messages for git changes?

The best way to generate conventional commit messages is to use an automated committing tool. This Skill automatically generates clear, convention-following commit messages for your staged code changes before pushing.

Does this Skill push changes directly to the main branch?

The Skill pushes changes to your current branch and will inform you if changes were pushed directly to main. For feature branches, it automatically creates a pull request to ensure proper review workflows.