Modernise a Stale Pull Request skill for Claude and Codex
Modernise a Stale Pull Request as an AI skill. It asks for Pull request, Age and original goal, Current base branch and 3 more, then does the rest. Free to…
Install it once and Claude or Codex runs it for you. When your request matches, your AI loads the skill, asks for anything it is missing, and works through the template itself. Prefer to fill it in by hand? See the full prompt template.
Download the skill (.zip) · View SKILL.md
When it is used
Use when an open pull request has gone stale after weeks of base branch changes and someone must decide to update, rework, or close it. Do not use for writing a new pull request or reviewing an active one. Related topics: coding, devops.
What it will ask you for
- Pull request (free text, e.g. "Link or number")
- Age and original goal (longer free text)
- Current base branch (free text, e.g. "main")
- Known conflicts or failures (longer free text)
- Original author available (choose one: Yes, No)
- Preferred outcome (choose one: Update it, Rework it, Close it, Decide for me)
How it works
- Check whether the base branch already delivered the goal or removed the affected code.
- List the conflicts, changed APIs, and dependency drift between the PR and the current base.
- Estimate how much of the diff needs rewriting and choose Update, Rework, or Close.
- For an update, merge the base, resolve conflicts keeping intent, adapt changed calls, and rerun the tests.
- Write a comment for the original author that explains the decision.
What you get
A decision of Update, Rework, or Close with evidence, a summary of changes made if updated, the test result, and a comment for the author.
What it watches out for
- Resolving conflicts mechanically and keeping code the base branch deliberately removed.
- Updating a PR whose goal was already met by another commit.
- Leaving the author without an explanation when closing.
How to install
Claude.ai and the Claude desktop app
- Download the skill .zip.
- Open Settings, then Capabilities, and find Skills.
- Choose Upload skill and select the .zip.
- Ask Claude for help with the task. It loads the skill when your request matches.
Claude Code
- Download the skill .zip.
- Unzip it into ~/.claude/skills/ (or .claude/skills/ inside a project).
- Start a new session. Claude Code loads the skill when your request matches.
Codex
- Download the skill .zip.
- Unzip it into ~/.agents/skills/ (or .agents/skills/ inside a project).
- Codex picks it up on its own. Type $ and the skill name to use it, or just ask for the task.
Cursor
- Download the Cursor rule (.mdc).
- Save it in .cursor/rules/ inside your project.
- Cursor's agent applies the rule when your request matches its description.
AGENTS.md (Codex, Cursor, and other coding agents)
- Copy the AGENTS.md section.
- Paste it into AGENTS.md at the root of your repository, creating the file if needed.
- Coding agents that read AGENTS.md follow it when your request fits.