l-pr

Create draft pull requests from commit history, GitHub issues, and design files.

3.0k|186|Updated Oct 1, 2020
One-click install
npx skills add https://github.com/lowdefy/lowdefy --skill l-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: l-pr
Source: https://github.com/lowdefy/lowdefy/tree/main/.claude/skills/l-pr
Command: npx skills add https://github.com/lowdefy/lowdefy --skill l-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill streamlines the process of creating pull requests by automating the generation of titles and bodies, ensuring consistency and saving developers time.

Core Features & Use Cases

  • Automated PR Generation: Creates draft pull requests targeting a specified base branch (defaulting to develop).
  • Intelligent Content Population: Auto-generates PR titles and bodies by referencing GitHub issues, design files, or commit history.
  • Changeset Management: Checks for and prompts to create necessary changesets for modified packages.
  • Documentation Reminders: Reminds users to update documentation if source code changes are made without corresponding doc updates.
  • Use Case: When you've finished a feature, use this skill to quickly open a draft PR. It will summarize your changes, link to relevant issues, and ensure your PR is ready for review.

Quick Start

Use the l-pr skill to create a draft pull request for the current branch, referencing GitHub issue number 123.

Frequently Asked Questions about l-pr

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

FAQPage Schema
How do I automate creating a draft pull request from my commit history?

To automate creating a draft pull request, this Skill analyzes your commit history and GitHub issues to generate the PR title and body. It targets a specified base branch, defaulting to develop, and runs Git commands to gather context.

Can I automatically generate a pull request body referencing a GitHub issue?

Yes, you can generate a pull request body that references a GitHub issue. The Skill intelligently extracts information from the specified GitHub issue and design files to populate the PR description accurately.

Does this Skill manage changesets for modified packages before opening a pull request?

Yes, this Skill manages changesets by checking for modified packages. It prompts you to create necessary changesets for package updates before finalizing the draft pull request.

How do I ensure my documentation is updated when I create a pull request?

To ensure documentation is updated when creating a pull request, the Skill scans your changes and sends reminders if it detects source code modifications without corresponding documentation updates.

Do I need the GitHub CLI installed to use this pull request automation?

Yes, you need the GitHub CLI installed because the Skill operates within a Git repository context and leverages the GitHub CLI to execute pull request operations and interact with GitHub issues.

What is the best way to create a draft pull request for a feature branch?

The best way to create a draft pull request is using this Skill to summarize changes, link relevant issues, and check for changesets. It automates content population to ensure your PR is consistently ready for review.