make-pr

Formats, builds, commits, and opens a GitHub pull request for the current feature branch.

Updated Oct 16, 2025
One-click install
npx skills add https://github.com/hugotown/dotfiles --skill make-pr-hugotown
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: make-pr
Source: https://github.com/hugotown/dotfiles/tree/main/agents/skills/make-pr
Command: npx skills add https://github.com/hugotown/dotfiles --skill make-pr-hugotown

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Manually preparing a pull request involves several repetitive steps—formatting code, verifying the build, committing, pushing, and writing a proper PR title. This Skill automates that entire sequence so a feature branch becomes a ready-to-review pull request in one request. ## Core Features & Use Cases - Branch Safety Check: Verifies you are not on the main branch and creates a feature branch if necessary. - Automated Formatting and Build Verification: Runs Oxfmt via bunx oxfmt src --write, then bun run build and bun run formatting to confirm the code compiles before committing. - Standardized PR Titles: Generates the pull request title following the conventions defined in the companion pr-name skill. - GitHub CLI Integration: Pushes the branch and creates the pull request using the gh CLI. - Use Case: After finishing a feature in a Bun-based monorepo, ask the agent to open a PR; it formats the code, verifies the build, commits, pushes, and opens a properly titled pull request. ## Quick Start Open a pull request for my current feature branch, formatting the code and verifying the build first.

Frequently Asked Questions about make-pr

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

FAQPage Schema
How do I create a GitHub pull request from the command line?▼

Use the gh CLI with `gh pr create` after pushing your branch to the remote. This Skill automates that flow by formatting code, verifying the build, committing, pushing, and opening the PR with a standardized title.

How to format code before opening a pull request?▼

Run Oxfmt with `bunx oxfmt src --write` to format the source directory before committing. This Skill runs that command automatically, then verifies the project compiles with `bun run build` and `bun run formatting`.

Can I open a pull request while on the main branch?▼

No, pull requests should come from a feature branch. This Skill checks whether you are on main and creates a new branch if necessary before committing and pushing changes.

What happens if the build fails before creating a pull request?▼

The Skill runs `bun run build` and `bun run formatting` to confirm the code compiles before committing. If these commands fail, the failure surfaces before any commit or pull request is created, so broken code is not pushed.

How are pull request titles generated?▼

Titles follow the conventions defined in the companion pr-name skill referenced by this Skill. The same title format is used both for the commit context and the gh CLI pull request creation.