AgentSkillsCN

fix-pr-automation

使用自动PR修复工具及其CLI,包括提示和工作流配置。当诊断CI自动修复失败、本地运行fix-pr CLI或更新fix-pr提示或工作流时使用。

SKILL.md
--- frontmatter
name: fix-pr-automation
description: 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.

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.