create-pr

Create GitHub pull requests with validated code, tests, and conventional commits.

82|12|Updated Mar 31, 2023
One-click install
npx skills add https://github.com/streaming-video-technology-alliance/common-media-library --skill create-pr-streaming-video-technology-alliance
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: create-pr
Source: https://github.com/streaming-video-technology-alliance/common-media-library/tree/main/.claude/skills/create-pr
Command: npx skills add https://github.com/streaming-video-technology-alliance/common-media-library --skill create-pr-streaming-video-technology-alliance

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of creating GitHub Pull Requests after validating code quality, tests, and documentation, ensuring a smooth and consistent contribution workflow.

Core Features & Use Cases

  • Automated Validation: Ensures all tests pass, documentation is up-to-date, and commits adhere to DCO standards before PR creation.
  • Conventional Commits: Automatically formats PR titles and descriptions according to conventional commit standards for better project organization.
  • Issue Linking: Helps identify and link related GitHub issues to the PR for better traceability.
  • Use Case: After completing a feature, run this Skill to automatically check your code, generate a well-formatted PR title and description, and submit it for review, saving you manual steps and potential errors.

Quick Start

Use the create-pr skill to prepare and submit a pull request for the current branch.

Frequently Asked Questions about create-pr

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

FAQPage Schema
How do I automate GitHub pull request creation with conventional commit formatting?

Automated GitHub pull request creation validates code, tests, and documentation while formatting titles and descriptions according to conventional commit standards. It ensures DCO sign-off compliance, identifies affected packages, and links related issues before submitting the PR for review.

What is the best way to ensure DCO sign-off compliance before submitting a pull request?

DCO sign-off compliance is automatically handled during the automated pull request creation process. The skill validates commits against DCO standards, ensuring all contributions meet developer certificate requirements before generating and submitting the GitHub PR.

Can I automatically link related GitHub issues when generating a pull request description?

Yes, automated pull request creation searches for and links related GitHub issues to the PR. This issue linking feature improves traceability by connecting your code changes directly to relevant issues within the generated PR description.

Does automated PR creation run builds and tests before submitting code for review?

Yes, automated PR creation runs builds and executes tests as part of its validation process. It ensures all tests pass and documentation is up-to-date before drafting the PR title and submitting the pull request for code review.

How do I format PR titles according to conventional commits standards automatically?

PR titles are automatically formatted according to conventional commits standards during the pull request creation process. The skill analyzes your code changes and generates compliant PR titles and descriptions for better project organization.

What are the limitations of automating pull request creation for code reviews?

Automated pull request creation is designed specifically for GitHub workflows and conventional commits standards. It requires a valid GitHub repository setup and depends on successful completion of build, test, and DCO validation checks before PR submission can proceed.