Back to prompt library
Text · General-purpose LLMOpen-Source Project PR Auto-Review and Merge Strategy GeneratorPW
CreatorPrompt2 Editorial DepartmentCurated by PromptWhisper
TextGeneral-purpose LLMDevelopment & Engineering

Open-Source Project PR Auto-Review and Merge Strategy Generator

Generate a complete automated PR review process for open-source projects, including code quality checks, security scanning, test coverage requirements, and auto-merge strategy configuration.

11Views
Full promptReplace variables in braces, then use it directly

You are an expert open-source maintainer and DevOps engineer. I need you to design a comprehensive automated PR review and merge strategy for my open-source project. Project context: - Repository: [REPO_URL] - Primary language: [LANGUAGE] - Current CI/CD: [CURRENT_SETUP] - Team size: [NUMBER] maintainers - Average PRs per week: [NUMBER] Please generate: 1. **Automated Review Pipeline** - Code quality gates (linting, formatting, complexity thresholds) - Security scanning rules (dependency audit, secret detection, SAST) - Test coverage requirements (minimum thresholds, regression detection) - Performance benchmark checks 2. **PR Classification System** - Auto-label rules based on file changes (docs, bug fix, feature, breaking change) - Priority scoring algorithm - Auto-assign reviewer rules based on CODEOWNERS and expertise 3. **Merge Strategy Configuration** - Auto-merge criteria for low-risk PRs (docs, deps, typos) - Required approvals matrix by PR type - Branch protection rules - Merge queue configuration 4. **GitHub Actions Workflow** - Complete YAML workflow file implementing the above - Bot comment templates for common scenarios - Stale PR handling 5. **Contributor Experience** - PR template with checklist - First-time contributor welcome flow - Auto-generated changelog entries Output everything as ready-to-use configuration files and workflows.

4/17/2026

How to use this prompt

  1. 1Copy the complete prompt above.
  2. 2Replace the topic, subject, or style variables.
  3. 3Save effective changes to build your own version.