fix-pr-automation

salieri's avatarfrom salieri

Work with the automated PR fixer and its CLI, including prompts and workflow configuration. Use when diagnosing failed CI auto-fixes, running the fix-pr CLI locally, or updating the fix-pr prompt or workflow.

⭐0stars🔀0forks📁View on GitHub🕐Updated Jan 1, 2026

When & Why to Use This Skill

The Fix PR Automation skill is a specialized developer tool designed to streamline the software development lifecycle by automatically generating patches for failing CI jobs. It empowers teams to diagnose CI auto-fix failures, execute the fix-pr CLI locally for rapid debugging, and customize AI-driven prompts and GitHub workflows to optimize automated pull request resolution and maintain high code quality.

Use Cases

  • Automated CI Failure Resolution: Automatically propose and apply code patches when continuous integration builds fail, significantly reducing manual troubleshooting time.
  • Local Debugging and Validation: Run the fix-pr CLI tool in a local development environment to verify AI-generated fixes and ensure they meet safety constraints before deployment.
  • Prompt and Workflow Optimization: Fine-tune the underlying AI prompt templates and GitHub Action configurations to adapt the automated fixing logic to specific project architectures or coding standards.
  • CI/CD Pipeline Maintenance: Diagnose and resolve issues within the automated PR fixer infrastructure to ensure consistent and reliable automated maintenance of the codebase.
namefix-pr-automation
descriptionWork with the automated PR fixer and its CLI, including prompts and workflow configuration. Use when diagnosing failed CI auto-fixes, running the fix-pr CLI locally, or updating the fix-pr prompt or workflow.

Fix PR Automation

Overview

Run or adjust the automated PR fixer that proposes patches for failing CI jobs.

Workflow

  1. Read docs/FIX-PR.md for the end-to-end workflow and safety constraints.
  2. Run locally from dev/packages/release-scripts: pnpm fix:pr.
  3. Provide required secrets (GITHUB_TOKEN and OPENAI_API_KEY or CODEX_API_KEY) and verify the CLI output.
  4. Update the prompt at dev/packages/release-scripts/scripts/fix-pr/prompt.md and the workflow at .github/workflows/fix-pr.yml when behavior changes are needed.