Official agent skill

PR Draft Summary

by redis in redis/node-redis

Create the required PR-ready summary block, branch suggestion, title, and draft description for node-redis.

OfficialMITAuto-check: warningsDatabases

Install PR Draft Summary

The automated check flagged lines worth reading first. See the safety section below.

skills CLI
$ npx skills add redis/node-redis --skill pr-draft-summary -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install redis/node-redis pr-draft-summary --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/redis/node-redis.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/pr-draft-summary .claude/skills/pr-draft-summary && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
pr-draft-summary
GitHub stars
18k
Token cost
~1.4k tokens
SKILL.md length
612 words
Files
2
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Create the required PR-ready summary block, branch suggestion, title, and draft description for node-redis.

  • Works in 4 steps: Inspect the actual task diff before… → Run this skill when the diff includes… → Run it after any required verification… → …
  • Databases work in your project
  • SKILL.md covers Purpose, Close-out Gate, Inputs to Collect… and Workflow, plus 1 more section
  • Calls git

What it does

PR Draft Summary is an agent skill from redis/node-redis, published by the product's own GitHub organization. Create the required PR-ready summary block, branch suggestion, title, and draft description for node-redis. Must be used before the final response whenever the actual task diff includes runtime code, tests, examples, build/test configuration, or docs with behavior impact, regardless of perceived change size. Skip only when no eligible files changed, every change is repo-meta or docs-only without behavior impact, the task is conversation-only, or the user explicitly opts out.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Databases. It works with Redis and Git. The licence is MIT.

When your agent uses it

  • Databases work in your project

Example prompts

  • “/pr-draft-summary”

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Inspect the actual task diff before sending the final response.
  2. Run this skill when the diff includes runtime code, tests, examples, build/test configuration, or docs with behavior impact. Do not use…
  3. Run it after any required verification and before sending the "work complete" response.
  4. Skip only when no eligible files changed, every change is repo-meta or docs-only without behavior impact, the task is conversation-only…

What it can do on your machine

Read from SKILL.md and the folder at commit 98747a7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • git

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use git, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

PR Draft Summary loads about 1.4k tokens when it runs. Until then it costs about 124 tokens; SKILL.md has 612 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~124
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: warnings

The automated check found patterns that need a careful read before installing.

  • WarningTells the agent its actions are pre-authorized / not to stop for confirmationSKILL.md:34
    1. Run the commands above without asking the user; compute `BASE_REF`/`BASE_COMMIT` first so later commands reuse them.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from redis/node-redis at commit 98747a7, republished under its MIT licence (© redis). 612 words, ~1,446 tokens.

Download SKILL.mdSave it as .claude/skills/pr-draft-summary/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
pr-draft-summary
description
Create the required PR-ready summary block, branch suggestion, title, and draft description for node-redis. Must be used before the final response whenever the actual task diff includes runtime code, tests, examples, build/test configuration, or docs with behavior impact, regardless of perceived change size. Skip only when no eligible files changed, every change is repo-meta or docs-only without behavior impact, the task is conversation-only, or the user explicitly opts out.

PR Draft Summary

Purpose

Produce a PR-ready summary after eligible work is complete: a concise change summary plus a PR-ready title and draft description for node-redis.

Close-out Gate

  1. Inspect the actual task diff before sending the final response.
  2. Run this skill when the diff includes runtime code, tests, examples, build/test configuration, or docs with behavior impact. Do not use perceived change size to skip an eligible change.
  3. Run it after any required verification and before sending the "work complete" response.
  4. Skip only when no eligible files changed, every change is repo-meta or docs-only without behavior impact, the task is conversation-only, or the user explicitly opts out.

Inputs to Collect Automatically (do not ask the user)

  • Current branch: git rev-parse --abbrev-ref HEAD.
  • Working tree: git status -sb.
  • Untracked files: git ls-files --others --exclude-standard (use with git status -sb; --stat omits them).
  • Changed files: git diff --name-only (unstaged) and git diff --name-only --cached (staged); sizes via git diff --stat and git diff --stat --cached.
  • Pull request base reference (use origin/master; never use a feature branch's upstream as the PR base):
    • BASE_REF=origin/master; if it does not exist locally, use master.
    • BASE_COMMIT=$(git merge-base "$BASE_REF" HEAD).
  • Committed branch diff: git diff --name-only "${BASE_COMMIT}..HEAD" and git diff --stat "${BASE_COMMIT}..HEAD".
  • Commits ahead of the base fork point: git log --oneline --no-merges ${BASE_COMMIT}..HEAD.
  • Category signals for this repo: runtime (packages/*/lib, examples/, doctests/, benchmark/, scripts/), tests (co-located packages/**/*.spec.ts), docs (docs/, README.md, packages/*/README.md, AGENTS.md, .github/), build/test config (package.json, package-lock.json, tsconfig*.json, eslint.config.mjs, .mocharc*, mocha-multi-reporter-config.json, .nycrc*).

Workflow

  1. Run the commands above without asking the user; compute BASE_REF/BASE_COMMIT first so later commands reuse them. Compare against origin/master or master, not the current branch's upstream.
  2. Combine the committed branch diff with staged, unstaged, and untracked changes. If the combined diff is empty, reply briefly that no code changes were detected and skip emitting the PR block.
  3. Infer change type from the touched paths listed under "Category signals"; classify as feature, fix, refactor, or docs-with-impact, and flag backward-compatibility risk only when the diff changes released public APIs, client/command behavior, connection config, or the RESP wire handling. Judge that risk against the latest release tag, not unreleased branch-only churn.
  4. Summarize changes in 1–3 short sentences using the top five paths and stats from the committed, staged, and unstaged diffs. Explicitly call out untracked files because --stat does not include them. Use commit messages as supporting context, not as a substitute for inspecting the committed diff.
  5. Choose the lead verb for the description: feature → adds, bug fix → fixes, refactor/perf → improves or updates, docs-only → updates.
  6. Suggest a branch name. If already off master, keep it; otherwise propose feat/<slug>, fix/<slug>, or docs/<slug> based on the primary area (for example docs/pr-draft-summary-guidance).
  7. If the current branch matches issue-<number> (digits only), keep that branch suggestion. When an issue number is present, reference https://github.com/redis/node-redis/issues/<number> and include an auto-closing line such as This pull request resolves #<number>. Do not block if the issue cannot be fetched.
  8. Draft the PR title and description using the template below. Use Conventional Commits prefixes for the title (feat:, fix:, docs:, chore:, etc.).
  9. Output only the block in "Output Format". Keep any surrounding status note minimal and in English. Do not include company-internal references (e.g. Jira/Confluence IDs) in the branch name, title, or description.
Show full SKILL.md (64 more words)Show less

Output Format

When closing out a task, add this concise Markdown block (English only) after any brief status note unless the task falls under the documented skip cases or the user says they do not want it.

# Pull Request Draft

## Branch name suggestion

git checkout -b <kebab-case suggestion, e.g., feat/pr-draft-summary-skill>

## Title

<single-line imperative title, which can be a commit message; a Conventional Commits prefix such as feat:, fix:, or docs: is preferred>

## Description

<include what you changed plus a draft pull request title and description for your local changes; start the description with prose such as "This pull request resolves/updates/adds ..." using a verb that matches the change (you can use bullets later), explain the change background (for bugs, clearly describe the bug, symptoms, or repro; for features, what is needed and why), any behavior changes or considerations to be aware of, and you do not need to mention any tests you ran.>

Keep it tight—no redundant prose around the block, and avoid repeating details between Changes and the description. Tests do not need to be listed unless specifically requested.

© redis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in .agents/skills/pr-draft-summary of redis/node-redis.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 98747a7

Compare with similar skills

PR Draft Summary next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

PR Draft Summary compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
PR Draft Summary this skillredis/node-redis18k—~1.4kAutomated safety check: WarnMIT
Creating Description For Gh PRredis/jedis12k—~838Automated safety check: PassMIT
Go-Redis Release Preparationredis/go-redis22k—~1.1kAutomated safety check: PassBSD-2-Clause
API Reviewmicrosoft/aspire6.3k—~6.1kAutomated safety check: PassMIT
Git Safetyredis/RedisInsight8.9k—~607Automated safety check: PassCustom licence
Worktree StackLanternOps/breeze130—~1.2kAutomated safety check: NotesAGPL-3.0

Similar skills

  • Official

    Generate a clear, concise GitHub PR title and description from the diff between two local git branches, and save it to prDescription.md in the repo root.

    12k GitHub stars~838 tokensUpdated today
    DevelopmentAuto-check passed
  • Official

    Prepares a go-redis release locally: picks the next semver, gathers merged PRs, writes the RELEASE-NOTES entry and bumps versions, without publishing.

    22k GitHub stars~1.1k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • API Review

    microsoft/aspire

    Official

    Reviews .NET API surface area PRs for design guideline violations.

    6.3k GitHub stars~6.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Git Safety

    redis/RedisInsight

    Official

    Critical safety guardrails for protected branches: never commit, push, or force-push directly to main, latest, or release branches; no destructive history rewrites without explicit user approval.

    8.9k GitHub stars~607 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Worktree Stack

    LanternOps/breeze

    A skill your agent uses when an agent needs a running, seeded, Playwright-ready Breeze stack for the current git worktree.

    130 GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check: notes
  • Update LanceDB to a specific Lance release or tag. An agent skill from lancedb/lancedb.

    12k GitHub stars~1.1k tokensUpdated today
    DatabasesAuto-check passed

More from redis/node-redis

  • Runtime Behavior Probe

    redis/node-redis

    Official

    Plan and execute runtime-behavior investigations with temporary TypeScript probe scripts, validation matrices, state controls, and findings-first reports.

    18k GitHub stars~4.4k tokensUpdated yesterday
    Auto-check passed
  • Implement Command

    redis/node-redis

    Official

    Add a new Redis command (or command variant) to node-redis end-to-end — the <NAME.ts Command file, its registration with JSDoc in the package commands/index.ts, and a co-located <NAME.spec.ts with…

    18k GitHub stars~5k tokensUpdated yesterday
    Auto-check passed
  • Maintainer Triage

    redis/node-redis

    Official

    Batch-triage and act on a set of node-redis PRs (or issues) by filter — fan out the maintainer-review methodology across them, present a one-word verdict plus a tldr to the user one at a time for…

    18k GitHub stars~1.9k tokensUpdated yesterday
    Auto-check passed
  • Docs Sync

    redis/node-redis

    Official

    Analyze master branch implementation and configuration to find missing, incorrect, or outdated documentation in docs/, README.md, and per-package READMEs.

    18k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Bump Test Image

    redis/node-redis

    Official

    Bump the default Redis docker test image (redislabs/client-libs-test) in the shared DEFAULTDOCKERCONFIG and the CI matrix, then force-push the bump-test-image branch and open a PR against upstream.

    18k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Maintainer Review

    redis/node-redis

    Official

    Review a GitHub issue or pull request URL as a node-redis maintainer, with a staged assessment of whether the claim is real, practically important, already solvable with supported functionality…

    18k GitHub stars~5.5k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about PR Draft Summary

What does PR Draft Summary do?

Create the required PR-ready summary block, branch suggestion, title, and draft description for node-redis. PR Draft Summary is an agent skill from redis/node-redis, published by the product's own GitHub organization. Create the required PR-ready summary block, branch suggestion, title, and draft description for node-redis.

When should I use PR Draft Summary?

PR Draft Summary fits situations like: databases work in your project.

How do I install PR Draft Summary in Claude Code?

Run `npx skills add redis/node-redis --skill pr-draft-summary -a claude-code`. Or copy the skill folder (.agents/skills/pr-draft-summary in redis/node-redis) into .claude/skills/pr-draft-summary in your project. Claude Code loads it when a task matches its description.

How do I install PR Draft Summary in Codex?

Run `npx skills add redis/node-redis --skill pr-draft-summary -a codex`. Or copy the skill folder (.agents/skills/pr-draft-summary in redis/node-redis) into .agents/skills/pr-draft-summary in your project. Codex loads it when a task matches its description.

Can I use PR Draft Summary in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add redis/node-redis --skill pr-draft-summary -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/pr-draft-summary, .gemini/skills/pr-draft-summary, .github/skills/pr-draft-summary and .opencode/skills/pr-draft-summary in your project.

What does PR Draft Summary need to run?

Going by SKILL.md and its folder, PR Draft Summary needs the command-line tools its instructions call (git).

Does PR Draft Summary access the network?

SKILL.md contains no URLs. Its commands use git, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is PR Draft Summary safe to install?

Our automated static check of SKILL.md flagged 1 warning(s): tells the agent its actions are pre-authorized / not to stop for confirmation. Read the flagged lines before installing; the check is not a guarantee either way.

What licence does PR Draft Summary use?

PR Draft Summary is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does PR Draft Summary use?

About 1.4k tokens (SKILL.md is roughly 5.8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to PR Draft Summary?

Skills that share tags, products or a category with PR Draft Summary: Creating Description For Gh PR (redis/jedis, 12k stars), Go-Redis Release Preparation (redis/go-redis, 22k stars), API Review (microsoft/aspire, 6.3k stars) and Git Safety (redis/RedisInsight, 8.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains PR Draft Summary?

redis (a GitHub organization, an official publisher) maintains it in redis/node-redis, which has 17,585 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 6, 2026.

Source: redis/node-redis on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.