open-pr

Automate GitHub Pull Request creation with pre-commit checks and generated descriptions.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/camino-school/lanttern --skill open-pr-camino-school
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: open-pr
Source: https://github.com/camino-school/lanttern/tree/main/.claude/skills/open-pr
Command: npx skills add https://github.com/camino-school/lanttern --skill open-pr-camino-school

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of creating a GitHub Pull Request, from running pre-commit checks to drafting a description and opening the PR.

Core Features & Use Cases

  • Automated Checks: Ensures code quality by running pre-commit hooks.
  • PR Description Generation: Crafts a comprehensive PR description based on code changes.
  • PR Creation: Opens the Pull Request on GitHub with a title and body.
  • Use Case: After completing a feature, you can use this Skill to quickly prepare and open a PR for review, ensuring all checks pass and the description is well-formatted.

Quick Start

Use the open-pr skill to open a pull request targeting the main branch.

Frequently Asked Questions about open-pr

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

FAQPage Schema
How do I automate GitHub pull request creation with pre-commit checks?

Automating GitHub pull request creation involves running pre-commit hooks, generating a PR description from the diff context, and opening the PR via the GitHub CLI, which this Skill handles automatically.

Can I specify a custom base branch when opening a pull request?

Yes, you can specify a custom base branch when opening a pull request. The Skill processes user-specified base branches and confirms the PR details before submission to the target repository.

How does automatic PR description generation work from a git diff?

Automatic PR description generation works by analyzing the git diff context of your code changes. The Skill crafts a comprehensive pull request body based on the specific modifications made in your feature branch.

Do I need the GitHub CLI installed to open a pull request automatically?

Yes, the GitHub CLI is required to open a pull request automatically. The Skill creates the pull request on GitHub by executing commands through the GitHub CLI after running pre-commit checks.

What is the best way to streamline a PR workflow for code review?

The best way to streamline a PR workflow for code review is to automate pre-commit checks and PR description generation. This ensures code quality passes and well-formatted descriptions are submitted for review.

Why should I run pre-commit hooks before creating a pull request?

Running pre-commit hooks before creating a pull request ensures code quality by validating changes locally. The Skill executes these automated checks to catch issues before the PR is submitted for review.