gh-update-pr

Use when updating GitHub PR title or body. Works around the gh pr edit GraphQL bug caused by GitHub's Projects Classic deprecation.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gh-update-pr" with this command: npx skills add lwlee2608/agent-skills/lwlee2608-agent-skills-gh-update-pr

Update PR via REST API

gh pr edit is broken due to GitHub deprecating Projects Classic (projectCards GraphQL field error). Use the REST API instead.

Rules

  1. Never use gh pr edit to update PR title or body. It will fail with a GraphQL error.
  2. Use gh api with the REST endpoint:
    gh api repos/{owner}/{repo}/pulls/{number} -X PATCH -f title="..." -f body="..." --jq '.html_url'
    
  3. To get the current PR number and repo, use:
    gh pr view --json number,url,baseRefName
    
  4. gh pr view and gh pr create still work fine. Only gh pr edit is affected.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

prefer-make

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

gh-create-pr

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

vercel-react-best-practices

React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.

Repository Source
213.6K23Kvercel
Coding

svelte5-best-practices

No summary provided by upstream source.

Repository SourceNeeds Review