fix-pr

Analyze CI logs and apply targeted fixes to failing PRs.

449|615|Updated Feb 20, 2023
One-click install
npx skills add https://github.com/AztecProtocol/aztec-packages --skill fix-pr
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: fix-pr
Source: https://github.com/AztecProtocol/aztec-packages/tree/main/yarn-project/.claude/skills/fix-pr
Command: npx skills add https://github.com/AztecProtocol/aztec-packages --skill fix-pr

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill automates fixing a failing PR by analyzing CI logs, identifying failure types, and applying targeted fixes to restore green status.

Core Features & Use Cases

  • Phase-driven CI failure diagnosis and remediation for a PR.
  • Automatic rebase onto the base branch, conflict resolution, and push of updates.
  • Bootstrap handling when changes exist outside yarn-project, followed by targeted package fixes.
  • Supports common failure types (FORMAT, LINT, BUILD, UNIT TEST, E2E TEST) with guided remediation.

Quick Start

Use the fix-pr command with a PR number to begin: /fix-pr 19882

Frequently Asked Questions about fix-pr

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

FAQPage Schema
How do I automatically fix failing CI in a GitHub PR?

Automatically fixing failing CI in a GitHub PR involves analyzing CI logs to identify failure types like FORMAT, LINT, BUILD, and UNIT TEST, then applying targeted fixes and pushing updates.

What types of CI failures can be automatically diagnosed and resolved in a yarn workspace?

Automated CI failure diagnosis in a yarn workspace can resolve common failure types including FORMAT, LINT, BUILD, UNIT TEST, and E2E TEST by applying targeted remediation based on log analysis.

Can I automatically rebase a failing PR onto the base branch and resolve conflicts?

Yes, you can automatically rebase a failing PR onto the base branch, resolve conflicts, and push updates as part of a phase-driven workflow that restores the PR to green status.

How do I handle CI bootstrap failures when changes exist outside the yarn-project directory?

To handle CI bootstrap failures when changes exist outside the yarn-project directory, the skill performs targeted bootstrap handling followed by specific package fixes to resolve the underlying issues.

Do I need the GitHub CLI and local repository context to automate PR remediation?

Yes, you need the GitHub CLI and a local repository context, specifically the Aztec monorepo, to execute deterministic tasks and apply fixes using yarn workspace tooling.

What is the best way to run a quality checklist after applying fixes to a failing PR?

The best way to run a quality checklist after applying fixes to a failing PR is through an automated phase that verifies the targeted fixes before pushing the updates to restore green status.