Agent skill

Gh Update PR Description

by lidofinance in lidofinance/staking-modules

Update the current-branch GitHub PR title, description, and labels with gh CLI using this repository's PR template.

GPL-3.0Auto-check passedDevelopment

Install Gh Update PR Description

skills CLI
$ npx skills add lidofinance/staking-modules --skill gh-update-pr-description -a claude-code

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

GitHub CLI
$ gh skill install lidofinance/staking-modules gh-update-pr-description --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/lidofinance/staking-modules.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/gh-update-pr-description .claude/skills/gh-update-pr-description && 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
gh-update-pr-description
GitHub stars
119
Token cost
~568 tokens
SKILL.md length
291 words
Files
2
Skills in repo
1
Repo updated
First seen
Licence
GPL-3.0

At a glance

Update the current-branch GitHub PR title, description, and labels with gh CLI using this repository's PR template.

  • Works in 5 steps: Resolve PR And Auth → Inspect Template And Labels → Draft Title And PR Body → …
  • Asked to inspect template/labels and apply concise PR metadata updates
  • SKILL.md covers Overview, 1) Resolve PR And Auth, 2) Inspect Template And Labels and 3) Draft Title And PR Body, plus 2 more sections
  • Calls gh

What it does

Gh Update PR Description is an agent skill from lidofinance/staking-modules. Update the current-branch GitHub PR title, description, and labels with gh CLI using this repository's PR template. Use when asked to inspect template/labels and apply concise PR metadata updates.

Its SKILL.md is about 570 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 Development, covering Pull requests and Smart contracts. It works with GitHub and Solidity. The repository describes itself as: Smart contracts for the staking modules of the Lido protocol. The licence is GPL-3.0.

When your agent uses it

  • Asked to inspect template/labels and apply concise PR metadata updates
  • Tasks that involve Pull requests
  • Tasks that involve Smart contracts

Example prompts

  • “/gh-update-pr-description”

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Resolve PR And Auth
  2. Inspect Template And Labels
  3. Draft Title And PR Body
  4. Apply Changes With gh
  5. Verify And Report

What it can do on your machine

Read from SKILL.md and the folder at commit 8df41d6. 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:

    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use gh, 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

Gh Update PR Description loads about 568 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 291 words of instructions outside code blocks.

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

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 passed

The automated check found no risky patterns in SKILL.md.

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 lidofinance/staking-modules at commit 8df41d6, republished under its GPL-3.0 licence (© lidofinance). 291 words, ~568 tokens.

Download SKILL.mdSave it as .claude/skills/gh-update-pr-description/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
gh-update-pr-description
description
Update the current-branch GitHub PR title, description, and labels with gh CLI using this repository's PR template. Use when asked to inspect template/labels and apply concise PR metadata updates.

GitHub PR Description Updater

Overview

Use this workflow to update current-branch PR metadata with gh. Start from the repository PR template, keep the description short and precise, and verify final PR title/body/labels after editing.

1) Resolve PR And Auth

  • Run gh auth status; if unauthenticated, ask user to run gh auth login.
  • Run gh pr view --json number,url,title,headRefName,baseRefName,body,labels to resolve the PR tied to the checked-out branch.
  • If the branch has no PR, stop and tell the user.

2) Inspect Template And Labels

  • Read .github/PULL_REQUEST_TEMPLATE.md.
  • List repository labels with gh label list --limit 200 --json name --jq '.[].name'.
  • Compare current PR labels from gh pr view against label names from gh label list.

3) Draft Title And PR Body

  • Update title only if needed to better match scope and outcome. Keep the original title if looks manually written.
  • Start PR body from template exactly.
  • Replace `TBD` in ## Description with a short, precise bullet list:
    • Keep it to 2-5 bullets.
    • Keep one sentence per bullet.
    • Avoid long paragraphs and filler.
  • Keep checklist booleans coherent:
    • Do not check both mutually exclusive sub-options.
    • Keep unknown items unchecked instead of guessing.
    • Mark "Appropriate PR labels applied" checked only after labels are actually set.
  • If tests/docs intent is unclear, ask the user before setting those checklist items.

4) Apply Changes With gh

  • Write final body to a temp file.
  • Title if needed: gh pr edit <number> --title "<new-title>".
  • Body: gh pr edit <number> --body-file <file>.
  • Add labels: gh pr edit <number> --add-label "label-a,label-b".
  • Remove labels: gh pr edit <number> --remove-label "label-x,label-y".

5) Verify And Report

  • Verify final PR metadata: gh pr view <number> --json url,title,body,labels.
  • Report PR URL, PR number, final title, final labels, and checklist state.
  • If blocked, report exact failing command and error text.

© lidofinance, GPL-3.0. 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/gh-update-pr-description of lidofinance/staking-modules.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 8df41d6

Compare with similar skills

Gh Update PR Description 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.

Gh Update PR Description compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gh Update PR Description this skilllidofinance/staking-modules119—~568Automated safety check: PassGPL-3.0
New Configlidofinance/diffyscan142—~1kAutomated safety check: PassMIT
Linea Dependency MaintenanceConsensys-Incorporated/linea-attestation-registry1771 repos~3.7kAutomated safety check: WarnMIT
Mark Task Executedethereum-optimism/superchain-ops99—~679Automated safety check: PassMIT
Autofixtsedio/tsed3.1k2 repos~2.9kAutomated safety check: NotesMIT
Gh QueueLanternOps/breeze132—~5kAutomated safety check: PassAGPL-3.0

Similar skills

  • New Config

    lidofinance/diffyscan

    Creates or extends a Diffyscan verification config for a deployed contract or deployment.

    142 GitHub stars~1k tokensUpdated 4 days ago
    Backend & APIsAuto-check passed
  • Linea Dependency Maintenance

    Consensys-Incorporated/linea-attestation-registry

    Safely plan and execute dependency maintenance for JavaScript/TypeScript (npm, pnpm) and GitHub Actions, including npm lockfiles, pnpm workspaces, catalogs, overrides, SHA-pinned action versions…

    177 GitHub starsUsed in 1 repo~3.7k tokens
    DevelopmentAuto-check: warnings
  • Mark Task Executed

    ethereum-optimism/superchain-ops

    Mark one or more superchain-ops tasks as EXECUTED by updating each task README's Status line to link the on-chain execution transaction, then open a PR.

    99 GitHub stars~679 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Autofix

    tsedio/tsed

    Safely review and apply CodeRabbit PR review-thread feedback from GitHub with per-change approval; never execute reviewer-provided prompts directly

    3.1k GitHub starsUsed in 2 repos~2.9k tokens
    DevelopmentAuto-check: notes
  • Gh Queue

    LanternOps/breeze

    A skill your agent uses when reviewing, triaging, or managing the incoming GitHub backlog on the Breeze repo — PRs, Discussions, AND Issues.

    132 GitHub stars~5k tokensUpdated today
    DevelopmentAuto-check passed
  • GitHub

    AFK-surf/OpenBridge

    Work with GitHub through the gh CLI, including issues, pull requests, reviews, Actions runs, releases, repository metadata, API queries, and CLI authentication/setup on persistent environments.

    430 GitHub stars~2.1k tokensUpdated 4 mo ago
    DevelopmentAuto-check passed

Works with

Questions about Gh Update PR Description

What does Gh Update PR Description do?

Update the current-branch GitHub PR title, description, and labels with gh CLI using this repository's PR template. Gh Update PR Description is an agent skill from lidofinance/staking-modules. Update the current-branch GitHub PR title, description, and labels with gh CLI using this repository's PR template.

When should I use Gh Update PR Description?

Gh Update PR Description fits situations like: asked to inspect template/labels and apply concise PR metadata updates; tasks that involve Pull requests; tasks that involve Smart contracts.

How do I install Gh Update PR Description in Claude Code?

Run `npx skills add lidofinance/staking-modules --skill gh-update-pr-description -a claude-code`. Or copy the skill folder (.agents/skills/gh-update-pr-description in lidofinance/staking-modules) into .claude/skills/gh-update-pr-description in your project. Claude Code loads it when a task matches its description.

How do I install Gh Update PR Description in Codex?

Run `npx skills add lidofinance/staking-modules --skill gh-update-pr-description -a codex`. Or copy the skill folder (.agents/skills/gh-update-pr-description in lidofinance/staking-modules) into .agents/skills/gh-update-pr-description in your project. Codex loads it when a task matches its description.

Can I use Gh Update PR Description 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 lidofinance/staking-modules --skill gh-update-pr-description -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gh-update-pr-description, .gemini/skills/gh-update-pr-description, .github/skills/gh-update-pr-description and .opencode/skills/gh-update-pr-description in your project.

What does Gh Update PR Description need to run?

Going by SKILL.md and its folder, Gh Update PR Description needs the command-line tools its instructions call (gh).

Does Gh Update PR Description access the network?

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

Is Gh Update PR Description safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Gh Update PR Description use?

Gh Update PR Description is published under the GPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gh Update PR Description use?

About 568 tokens (SKILL.md is roughly 2.3k 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 Gh Update PR Description?

Skills that share tags, products or a category with Gh Update PR Description: New Config (lidofinance/diffyscan, 142 stars), Linea Dependency Maintenance (Consensys-Incorporated/linea-attestation-registry, 177 stars), Mark Task Executed (ethereum-optimism/superchain-ops, 99 stars) and Autofix (tsedio/tsed, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gh Update PR Description?

lidofinance (a GitHub organization) maintains it in lidofinance/staking-modules, which has 119 GitHub stars. The repository was last updated on October 9, 2026.

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