In short.
PR Summary is an AI coding assistant skill for developers maintaining GitHub pull requests, but it can publish description and title changes and run repository checks. It compares the branch with the PR's recorded base, follows repository conventions and requires evidence before marking checks complete. Its preservation rules cover human notes, issue links and bot-managed blocks. These are documented instructions; nothing was executed, and their reliability in practice is unknown.
Researched and written by an AI model and checked by a second AI model. How it works
Covers .agents/skills/pr-summary/SKILL.md and .agents/skills/pr-summary/agents/openai.yaml at commit 94cab3f1da47841f52d4c7b3ea8583aa13dd0eb9, together with the repository-root LICENSE as the related rights notice. Other skills, application code, live PRs, repository settings and later revisions are outside this scope. Nothing was executed. Installation, assistant compatibility, check execution, content preservation, API writes and title or issue-link behavior remain untested.
The overview
Identity
PR Summary is published in the scenario-labs skills repository at [https://github.com/scenario-labs/skills/tree/main/.agents/skills/pr-summary]. The folder contains SKILL.md, which defines the workflow, and agents/openai.yaml, which supplies its display name, short description and default invocation.
It is a set of instructions loaded by an assistant. The supplied files contain no standalone application or model. Its stated scope is refreshing the current branch's existing PR across Scenario repositories with different base branches and conventions.
Assessment
The skill is a useful fit when a PR description has fallen behind after revisions, reversions or changes to the branch's scope. Its strongest features are using the surviving diff as the basis for the text, retaining repository-specific structure and preserving material other people or bots added.
Its safeguards depend on the assistant following written instructions. The files do not establish how consistently an assistant preserves content, chooses a check command or produces an accurate description. No execution results are supplied.
Users
The intended users are developers and maintainers who already work with GitHub pull requests through an AI coding assistant. It is particularly relevant to teams with PR templates, automated checks, Conventional Commits titles or stacked PRs, where one branch builds on another.
Beginners need to understand that the skill can update a live PR and may execute repository code. Experienced developers gain specific handling for recorded base branches, issue-closing semantics, bot-managed text and repository commitlint rules.
Capabilities
The instructions cover finding the current PR, reading its base branch, inspecting changes, locating tracked PR templates and reading repository agent documentation. Every template heading must remain in order, with N/A for sections that do not apply. Without a template, the skill specifies Summary, Test plan and Stats sections.
It directs the assistant to preserve valid human notes, issue links, screenshots and bot-managed blocks; distinguish fully resolved issues from partial work; keep public PR text publicly shareable; and report actual check outcomes. It also allows a title correction when the Conventional Commits type no longer matches the changes.
Using it
Requirements
A compatible assistant needs repository file access, shell command execution, Git, the GitHub CLI and the ability to create temporary files. GitHub authentication must permit reading the PR and updating its description and, when applicable, its title. The workflow expects an existing PR and an origin remote from which its base can be fetched.
Before running branch code without asking, the documented trust rule requires the PR's head and base repositories to match and its author association to be OWNER, MEMBER or COLLABORATOR. Forks and outside authors require explicit approval for branch execution. Supported tool versions, precise token scopes and assistant compatibility are not specified.
Mechanism
The skill retrieves PR metadata with gh pr view, fetches the recorded base and inspects git diff origin/$BASE...HEAD. This three-dot comparison shows branch changes since the common ancestor with that base. Commit history is used only to locate issue references, so reverted or superseded commits should not shape the description.
After composing the body, it writes temporary files and sends REST PATCH requests through gh api using -F body=@<file>, with a separate title file when needed. It checks the returned body length for an obvious file-upload mistake. The author documents this API path as a workaround for possible gh pr edit failures involving Projects (classic).
Setup
The supplied package consists of .agents/skills/pr-summary/SKILL.md and .agents/skills/pr-summary/agents/openai.yaml. The interface metadata advertises $pr-summary as the invocation for refreshing the current PR description. No installer, installation command or complete assistant setup guide is included.
Before invocation, the assistant environment needs access to the intended checkout and authenticated GitHub CLI. The instructions stop if the branch has no PR or its comparison diff is empty; creating a PR is offered separately rather than performed automatically.
Example
Consider an existing PR targeting develop where an earlier feature change has been reverted, leaving only tests. The intended behavior is to describe the remaining test changes against develop, retain valid notes and bot blocks, and correct a misleading feature title if the repository's commitlint rules permit it.
If that PR is stacked onto a non-default branch, the description should explain that GitHub closing keywords will not close linked issues from that base. Checkboxes should reflect checks actually run in the session or facts established by the diff. This is an illustrative scenario, not an observed run.
Assessment & evidence
Limitations
The documented workflow patches the entire PR body and provides no draft-only mode. Its preservation rules therefore matter: an omission during rewriting can remove existing material. The returned body-length check cannot establish that the resulting text is accurate or that every note and bot block survived.
The repository-and-author trust rule does not establish that every check command or dependency is harmless. The HEAD-based diff also excludes uncommitted working-tree edits. These limits follow from the documented commands; actual preservation, command safety and behavior across repositories have not been assessed through execution.
Reasoning
Using the current diff addresses a specific failure of PR writing: descriptions based on commit history can retain claims about work that was later removed. Reading the actual PR base also helps prevent a stacked PR from being described against an assumed main or develop branch.
Preserving template sections, external references and bot blocks makes the description useful to existing reviewers and automation. Requiring evidence before checking boxes separates a polished explanation from a verified check result. These are reasons the design may help; no measured improvement in accuracy or review time is supplied.
Alternatives
A developer could manually follow the same Git diff, template review and GitHub API steps. A repository PR template alone supplies a consistent structure, while leaving change analysis, preservation and check reporting to the author. These are functional alternatives inferred from the documented workflow.
No comparison with another PR-writing skill, assistant or service is included. Relative accuracy, speed and cost are unknown.
Evidence
The available source comprises the complete SKILL.md, its agents/openai.yaml interface metadata and the repository-root MIT LICENSE. The revision-pinned instructions are available at [https://raw.githubusercontent.com/scenario-labs/skills/94cab3f1da47841f52d4c7b3ea8583aa13dd0eb9/.agents/skills/pr-summary/SKILL.md].
SKILL.md establishes intended behavior, the YAML establishes interface labels and invocation text, and LICENSE establishes reuse terms. No execution logs, completed PR examples, benchmarks or compatibility results accompany these files.
Access & freshness
Costs
No price, model choice, token usage or expected operating cost is stated. The MIT licence grants reuse rights, but it does not establish the cost of the chosen assistant or repository execution environment. Total cost is unknown.
The skill expressly prohibits running paid or production operations merely to complete a test plan. This is an instruction to the assistant, not evidence of an enforced spending control.
Rights
The repository-level MIT licence names Scenario Inc., copyright 2026. It permits use, copying, modification, publication, distribution, sublicensing and sale, provided the copyright and permission notice accompany copies or substantial portions.
The licence disclaims warranties and liability. Copies of the skill should retain the supplied LICENSE notice. No separate folder-specific licence appears in the supplied material.
Freshness
The supplied source is pinned to commit 94cab3f1da47841f52d4c7b3ea8583aa13dd0eb9 and was captured on 2026-11-15 at 22:48:19.851 UTC. This identifies the exact source snapshot rather than a release version.
No numbered release or supported GitHub CLI version is stated. Changes after that commit and the current behavior of the documented GitHub API workaround are unknown.
Actions
Before invoking $pr-summary, read the skill and confirm the intended checkout, existing PR, template and repository check command. Account for its direct GitHub writes and possible title change. For fork or outside-author PRs, its documented procedure requires approval before executing branch code.
Inspect the resulting body and title for accurate scope, retained notes and bot blocks, correct issue references and honest check claims. A rewritten test plan does not establish that tests passed, and the supplied material provides no actual run results.
