contrib-pr

Prepare and submit external pull requests for the Prisma Next repository.

47.5k|2.5k|Updated Jun 20, 2019
One-click install
npx skills add https://github.com/prisma/prisma --skill contrib-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: contrib-pr
Source: https://github.com/prisma/prisma/tree/main/skills-contrib/contrib-pr
Command: npx skills add https://github.com/prisma/prisma --skill contrib-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill removes the friction and uncertainty for external contributors by automating the adherence to project-specific contribution standards, ensuring pull requests are formatted and tested correctly for immediate maintainer review.

Core Features & Use Cases

  • Standardized Workflow: Enforces the contribution flow defined in the project documentation, including DCO sign-off and conventional commit formatting.
  • Automated Validation: Guides the user through necessary test suites and linting checks to ensure the PR is ready for submission.
  • Use Case: An external developer wants to submit a bug fix for the SQL runtime; this skill ensures they run the correct integration tests, sign their commits, and format the PR body to meet maintainer expectations.

Quick Start

Use the contrib-pr skill to finalize and open a pull request for the current branch after verifying all tests pass.

Frequently Asked Questions about contrib-pr

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

FAQPage Schema
How do I submit a pull request to Prisma Next that passes DCO and conventional commit checks?

To submit a pull request to Prisma Next, you must sign off your commits for DCO compliance and use conventional commit formatting. This workflow automates those preparation steps and runs validation checks to ensure your PR meets maintainer expectations.

What is the standardized workflow for external contributions to the Prisma Next repository?

The standardized external contribution workflow for Prisma Next requires applying DCO sign-off, adhering to conventional commit formatting, and running necessary test suites. This process ensures code changes align with project-specific documentation and are ready for review.

Do I need the GitHub CLI to automate pull request preparation for Prisma Next?

Yes, you need the GitHub CLI installed to automate pull request preparation for Prisma Next. The local environment configuration uses the CLI to execute validation checks and perform the git operations required for submission.

How do I run integration tests before opening a pull request for a Prisma Next bug fix?

To run integration tests before opening a pull request, you must execute the necessary test suites and linting checks locally. This automated validation guides you through the required checks to verify your code changes are ready for submission.

What's the best way to format an external code contribution for immediate maintainer review?

The best way to format an external code contribution for immediate review is to enforce DCO sign-off, conventional commit formatting, and automated test validation. This removes friction by ensuring the pull request body and code changes meet project standards.

Why does my external pull request fail validation checks when contributing to Prisma Next?

Your external pull request fails validation if it lacks DCO sign-off, conventional commit formatting, or passing test suites. Automating the contribution preparation ensures these project-specific testing and linting requirements are met before submission.