# PR Description with Risk and Rollback

> Write a reviewer-ready PR description from a diff: what and why in one line, changes by area, a risk level with its reason, only the tests that really ran, rollback steps, and what reviewers should read first.

PR Description with Risk and Rollback is a free AI agent skill on Agensi by Signal Over Noise, in Code Quality & Review. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Signal Over Noise](https://www.agensi.io/creators/jammin411)
- Category: [Code Quality & Review](https://www.agensi.io/skills/code-quality-review)
- Version: 1.0.0
- Last updated: 2026-12-01
- Security: scan passed (2026-12-01); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/pr-description-with-risk-and-rollback
- Tags: code-review, git, devops, github, quality-assurance

## About this skill

Most pull request descriptions say "small fix, tested locally". The reviewer then has to work out from the diff whether it touches billing, whether there is a migration, and whether anything was really tested.

This skill gives your agent a fixed method for writing the description from the diff itself.

**What you get**

- A one-line what and why, taken from the ticket or commits. If the why is unknown, it says TODO instead of guessing.
- Changes grouped by area (data, logic, API, config, dependencies, tests), one line per behavior change, with the file.
- A risk scan for six flags: data migration, auth, money path, public API, config, dependency bump. A decision table turns the flags into Low, Medium, or High, with a reason that names the files. A two-line change to an invoice total is High.
- A testing section that lists only commands that ran, with results, and says "Not tested" plainly for the rest.
- Rollback steps in the order you would run them: feature flag, revert, what happens to a migration and its data, and side effects a revert does not undo.
- One to three "review first" items with the question the reviewer should answer.
- A full worked example: a fictional team-discount PR with a migration, a money path change, and a dependency bump.

**What it does not do**

It does not review the code for bugs, run your tests, or open the PR. It writes the description you paste in.

## Requires

- Git

No scripts, no Python, no network

## Known limitations

Cannot verify test execution without manual output logs. Does not produce customer-facing changelogs. Scope is limited to technical branch diffs.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the PR Description with Risk and Rollback skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What specific problems does this skill solve for developers?

This skill analyzes git diffs and commit logs to generate structured PR descriptions that prioritize technical risk. It solves the problem of manual summaries missing critical flags like data migrations, billing changes, or auth logic that could lead to failed deployments.

### What information do I need to provide to get an accurate risk assessment?

You need to provide the branch diff, the commit log, and any test evidence such as command outputs or CI results. The skill also benefits from access to the related ticket text or developer input to explain the why behind the change.

### What kind of output format should I expect?

The skill produces a structured description including a one-line summary, changes grouped by functional area, a Low, Medium, or High risk level with justification, and a numbered rollback plan. It also identifies specific file hunks that reviewers should prioritize based on complexity or risk.

### Are there any scenarios where I should not use this skill?

This skill is intended for drafting PR descriptions and auditing branch risk before deployment. It is not designed to perform deep code reviews for bugs, generate end-user release notes, or plan long-term dependency upgrade backlogs.

### How should I ask my AI agent to use this skill?

You can prompt your AI agent to write the PR description for a specific branch, summarize changes for a review, or evaluate if a PR is risky and identify what a reviewer should look at first.

### Does the skill automatically know if my code passed its tests?

While the skill identifies risky paths, it cannot verify if tests actually passed unless you provide the specific command output. If no testing information is provided, the skill will explicitly mark those paths as Not tested to ensure transparency.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
