AgentSkillsCN

pr-management

在各个 Phoenix 仓库中创建、更新并管理 GitHub 拉取请求。适用于用户请求创建 PR、更新 PR 描述、推送更改、列出 PR、合并 PR、检查 PR 状态,或管理分支时使用。

SKILL.md
--- frontmatter
name: pr-management
description: Create, update, and manage GitHub pull requests across Phoenix repos. Use when user asks to create a PR, update a PR description, push changes, list PRs, merge a PR, check PR status, or manage branches.

PR Management — Phoenix Agentic Engine Interface

Repo Context

  • Owner: rivie13
  • Repo: Phoenix-Agentic-Engine-Interface
  • Default branch: main

Create a Pull Request

Step 1: Check for PR template

code
mcp_github_github_get_file_contents(owner="rivie13", repo="Phoenix-Agentic-Engine-Interface", path=".github/PULL_REQUEST_TEMPLATE.md")

Step 2: Create the PR

code
mcp_github_github_create_pull_request(
  owner="rivie13",
  repo="Phoenix-Agentic-Engine-Interface",
  title="<descriptive title>",
  body="<description>",
  head="<feature-branch>",
  base="main"
)

PR description should include:

  • What was changed and why
  • Backward compatibility assessment for any contract changes
  • Test results (npm test output)
  • If fixtures changed: confirmation that backend golden tests also pass

List Open PRs

code
mcp_github_github_list_pull_requests(owner="rivie13", repo="Phoenix-Agentic-Engine-Interface", state="open")

Request Copilot Review

code
mcp_github_github_request_copilot_review(owner="rivie13", repo="Phoenix-Agentic-Engine-Interface", pullNumber=<PR_NUMBER>)

Branch conventions

  • feature/<name> — new features
  • fix/<name> — bug fixes
  • contract/<name> — contract/schema changes