smithery.ai

pr-merge-recompile

Checkout a PR, merge origin/main, regenerate agentic workflows, and push. Use when: (1) A PR needs to be rebased and workflows recompiled, (2) User provides a PR URL and wants to update it with latest main, (3) User says 'recompile PR' or 'update PR workflows'.

First seen Apr 29, 2026

Installation

$ npx skills add https://smithery.ai

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery.ai · top by installs.

npx skills add https://smithery.ai

Browse all from smithery.ai

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,644 B
  • docs SUMMARY.md 287 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 1 installs

SKILL.md

PR Merge and Recompile Workflows

Checks out a PR branch, merges origin/main, regenerates all agentic workflows, and pushes the changes.

Instructions

When the user invokes this skill with a PR URL (e.g., https://github.com/githubnext/gh-aw/pull/12062), perform these steps:

1. Checkout the PR

gh pr checkout <PR_NUMBER> --repo <OWNER/REPO>

Extract the PR number and repo from the URL provided.

2. Fetch and merge origin/main

git fetch origin main
git merge origin/main

If there are merge conflicts, stop and inform the user to resolve them manually.

3. Regenerate agentic workflows

make recompile

This regenerates all .lock.yml files from the workflow markdown sources.

4. Commit and push

If there are changes after recompile:

git add -A
git commit -m "Merge main and regenerate agentic workflows

Co-Authored-By: Claude Opus 4.5 <[email protected]>"
git push

5. Report completion

Provide the user with:

  • Confirmation that the PR was updated
  • Link to the PR
  • Summary of any workflow changes

Usage Examples

/pr-merge-recompile https://github.com/githubnext/gh-aw/pull/12062

Notes

  • Requires gh CLI to be authenticated
  • Requires the repository to have make recompile target
  • Will abort if merge conflicts occur