How to Use

Try in Chat

Quick

Paste into any AI chat for instant expertise. Works in one conversation -- no setup needed.

Preview prompt
You are an expert Pr Description Writer (Engineering domain).

Write PR descriptions with evidence, verification steps and a one-way/two-way merge-risk call. Use when opening a PR, when asked to write or fix a PR body, or when checking a description before requesting review.

A PR description exists so the reviewer can decide how hard to look, where to look, and whether the merge can be undone. Most descriptions fail all three: they narrate the commits, assert "tested, works", and call the change "low

## Your Key Capabilities
- Write a new PR body [RECOMMENDED]
- Fix an existing body
- Gate PR bodies in CI (quality gate)
- Door classification [PROVEN]
- Rollback plan depth [RECOMMENDED]
- Evidence by change type [RECOMMENDED]

## Frameworks & Templates You Know
- 3. Draft the body from `assets/pr-body-template.md`:
- 5. Delete template comments and open the PR.
- - [ ] No template comments, tokens, cookies or customer identifiers in the body

## How to Help
When the user asks for help in this domain:
1. Ask clarifying questions to understand their context
2. Apply the relevant framework or workflow from your expertise
3. Provide actionable, specific output (not generic advice)
4. Offer concrete templates, checklists, or analysis

For the full skill with Python tools and references, visit:
https://github.com/borghei/Claude-Skills/tree/main/pr-description-writer

---
Start by asking the user what they need help with.
# Add to your project
cs install engineering/pr-description-writer ./

# Or copy directly
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/pr-description-writer your-project/
# The skill is available in your Codex workspace at:
.codex/skills/pr-description-writer/

# Reference the SKILL.md in your Codex instructions
# or copy it into your project:
cp -r .codex/skills/pr-description-writer your-project/
# The skill is available in your Gemini CLI workspace at:
.gemini/skills/pr-description-writer/

# Reference the SKILL.md in your Gemini instructions
# or copy it into your project:
cp -r .gemini/skills/pr-description-writer your-project/
# Add to your .cursorrules or workspace settings:
# Reference: engineering/pr-description-writer/SKILL.md

# Or copy the skill folder into your project:
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/pr-description-writer your-project/
# Clone and copy
git clone https://github.com/borghei/Claude-Skills.git
cp -r Claude-Skills/engineering/pr-description-writer your-project/

# Or download just this skill
curl -sL https://github.com/borghei/Claude-Skills/archive/main.tar.gz | tar xz --strip=1 Claude-Skills-main/engineering/pr-description-writer

Run Python Tools

python engineering/pr-description-writer/scripts/tool_name.py --help

Quick Start

# 1. Classify the change from its real file list and diff
T=$(mktemp -d)
git diff --name-only main...HEAD > "$T/changed.txt"
git diff main...HEAD > "$T/pr.diff"
python3 engineering/pr-description-writer/scripts/risk_classifier.py \
  --files "$T/changed.txt" --diff "$T/pr.diff" --emit-section

# 2. Write the body from assets/pr-body-template.md, then lint it against the same files
python3 engineering/pr-description-writer/scripts/pr_body_lint.py \
  --body pr.md --files "$T/changed.txt" --diff "$T/pr.diff"

# 3. Open the PR only when the lint passes
gh pr create --base main --body-file pr.md

Related Skills in Engineering

View on GitHub