Assemble a pull request that follows this repo's PR template, then open it as a draft.

BSD-3-ClauseAuto-check passedDevelopment

Install Yas PR

skills CLI
$ npx skills add tmck-code/yet-another-statusline --skill yas-pr -a claude-code

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

GitHub CLI
$ gh skill install tmck-code/yet-another-statusline yas-pr --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/tmck-code/yet-another-statusline.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/yas-pr .claude/skills/yas-pr && 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
yas-pr
GitHub stars
242
Token cost
~1.1k tokens
SKILL.md length
662 words
Files
1
Skills in repo
7
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Assemble a pull request that follows this repo's PR template, then open it as a draft.

  • Works in 9 steps: Sanity-check the branch and hooks.… → Read the template. Load… → Draft Context and Changes. From git diff… → …
  • The user wants to open
  • SKILL.md covers Steps and Notes
  • Calls make, git and uv

What it does

Yas PR is an agent skill from tmck-code/yet-another-statusline. Assemble a pull request that follows this repo's PR template, then open it as a draft. Use when the user wants to open, create, submit, or raise a PR for the current branch.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Development, covering Pull requests. It works with Git. The repository describes itself as: A statusline for Claude Code inspired by terminal monitor programs. The licence is BSD-3-Clause.

When your agent uses it

  • The user wants to open
  • Raise a PR for the current branch

Example prompts

  • “/yas-pr”

Requirements

  • Python 3

Workflow steps

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

  1. Sanity-check the branch and hooks. Confirm the current branch is not main and has
  2. Read the template. Load .github/pull_request_template.md. This is the single source of
  3. Draft Context and Changes. From git diff main...HEAD plus the conversation
  4. Embed system info. Run make pr-info and paste its output into the System info fenced
  5. Run tests. Run uv run pytest. If green, tick the tests checkbox. If red, show the
  6. Benchmark. Run make bench (times this branch vs main via a throwaway git worktree).
  7. Before/after screenshots. For any visible rendering/layout/glyph change, fill the
  8. Bump the version (only if the statusline's behaviour changed). If the diff changes the
  9. Confirm, then create the draft. Show the fully assembled body (Screenshots section already

What it can do on your machine

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

    • make
    • git
    • uv
    • gh

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

  • Network

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

Yas PR loads about 1.1k tokens when it runs. Until then it costs about 45 tokens; SKILL.md has 662 words of instructions outside code blocks.

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

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 tmck-code/yet-another-statusline at commit 26dc47d, republished under its BSD-3-Clause licence (© tmck-code). 662 words, ~1,148 tokens.

Download SKILL.mdSave it as .claude/skills/yas-pr/SKILL.md (or your agent's skills folder).
name
yas-pr
description
Assemble a pull request that follows this repo's PR template, then open it as a draft. Use when the user wants to open, create, submit, or raise a PR for the current branch.

YAS PR

Fill in this repo's PR template from the current branch, then open a draft PR. Do not invent the template structure — read it from the repo so the two never drift.

Steps

  1. Sanity-check the branch and hooks. Confirm the current branch is not main and has commits ahead of origin/main. If it's main or has no diff, stop and tell the user. Also check git config --local --get core.hooksPath; if it isn't .github/hooks, offer to run make hooks so the contributor gets pre-commit checks (don't enable it without their yes).

  2. Read the template. Load .github/pull_request_template.md. This is the single source of truth for the section structure — mirror its headings exactly.

  3. Draft Context and Changes. From git diff main...HEAD plus the conversation:

    • Context — why the change is needed; the higher-level goal/problem. Link the related issue/PRD (.scratch/<feature>/...) if one exists. If this PR bumps the version (step 8), reference the new version number here.
    • Changes — what changed and how it works. Group related changes and give each group its own ### (H3) heading. Under each heading, break the distinct points out into bullet points rather than one long run-on sentence — a wall of text is hard to read. Present these as a draft for the user to edit; don't fabricate motivation you can't infer.
  4. Embed system info. Run make pr-info and paste its output into the System info fenced block verbatim.

  5. Run tests. Run uv run pytest. If green, tick the tests checkbox. If red, show the failures and ask the user whether to fix first or proceed. Optionally also run uv run ruff check and uv run mypy . and note results.

  6. Benchmark. Run make bench (times this branch vs main via a throwaway git worktree). If hyperfine is not on PATH, bench.py prints an install hint and falls back to a Python timer — before letting it fall back, offer to install hyperfine (apt/brew/cargo) and ask the user; only fall back if they decline. Paste the paste-ready table into the Benchmark block. Tick "N/A — no performance-relevant change" instead only for docs/config-only PRs.

  7. Before/after screenshots. For any visible rendering/layout/glyph change, fill the Screenshots / recording section by delegating to the pr-screenshotter agent (see its own file for what it does). Drop the table it returns verbatim into the Screenshots / recording section.

    • Don't render or push images yourself — that's the agent's whole job; you just place the table it returns.
    • If the change isn't visible (logic/docs/config-only), skip this and tick the section's "N/A — no visible change" escape honestly.
    • The agent commits + pushes to the screenshots repo's main; flag that to the user when you present the body, since it's an outward-facing side effect of this PR flow.
  8. Bump the version (only if the statusline's behaviour changed). If the diff changes the statusline tool or its behaviour — anything a user would notice (rendering, layout, glyphs, config knobs, new stats, output format) — bump the version before creating the PR. Work out the next version from the current one (uv version --short) per semver, then run VERSION=0.X.Y make version/bump. This is an outward-facing action — it commits and pushes the bump (plugin.json, pyproject.toml, uv.lock) — so confirm the new number with the user before running it. Then reference the new version in the Context section.

    • Skip the bump for developer-only changes that users never see: tests, the Makefile, hooks, CI, dev deps, docs, OpenSpec specs, etc. When in doubt about whether a change is user-facing, ask rather than bumping blindly.
  9. Confirm, then create the draft. Show the fully assembled body (Screenshots section already populated with the agent's table). After the user confirms, run gh pr create --draft with that body. Print the PR URL and tell the user to click "Ready for review" when done.

Show full SKILL.md (37 more words)Show less

Notes

  • Keep checkbox N/A escapes honest — only tick "N/A — no behaviour change" / "N/A — no visible change" when that's actually true.
  • gh pr create --draft is an outward-facing action: never run it before the user confirms the body.

© tmck-code, BSD-3-Clause. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/yas-pr of tmck-code/yet-another-statusline.

Open the folder on GitHubat commit 26dc47d

Compare with similar skills

Yas PR 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.

Yas PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Yas PR this skilltmck-code/yet-another-statusline242—~1.1kAutomated safety check: PassBSD-3-Clause
Finishing a Development Branchobra/superpowers296k5 repos~1.9kAutomated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything85k1 repos~1.4kAutomated safety check: PassMIT
Contributor-First PR MergeHKUDS/OpenHarness16k1 repos~847Automated safety check: PassMIT
Open Code Review CLIalibaba/open-code-review44k—~3.1kAutomated safety check: PassApache-2.0
Create Pull Requestcline/cline70k1 repos~1.6kAutomated safety check: PassApache-2.0

Similar skills

  • Walks the last step of a branch: confirm tests pass, detect the git environment, ask how to integrate, carry out your choice and clean up the worktree.

    296k GitHub starsUsed in 5 repos~1.9k tokens
    DevelopmentAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    85k GitHub starsUsed in 1 repo~1.4k tokens
    DevelopmentAuto-check passed
  • Merges external GitHub pull requests while keeping the original author credited, and fixes conflicts after the merge instead of rewriting the contribution.

    16k GitHub starsUsed in 1 repo~847 tokens
    DevelopmentAuto-check passed
  • Open Code Review CLI

    alibaba/open-code-review

    Runs the ocr command-line tool to review Git changes, a commit or a branch comparison with an AI model, returning line-level comments and optionally applying fixes.

    44k GitHub stars~3.1k tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Opens a GitHub pull request from your current branch with the gh CLI, after reviewing the commits and diff and gathering the details the PR needs.

    70k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Pull Request Title and Body Writer

    openinterpreter/openinterpreter

    Rewrites the title and body of one or more pull requests with gh, leading with why the change was made, then what changed, and describing only the net result.

    69k GitHub starsUsed in 2 repos~1.1k tokens
    DevelopmentAuto-check passed

More from tmck-code/yet-another-statusline

  • Yas Demo Text

    tmck-code/yet-another-statusline

    Convert make demo/img statusline snapshots into ANSI-stripped plain text for diffing and PR embedding.

    242 GitHub stars~649 tokensUpdated 3 days ago
    Auto-check passed
  • Yas PR Screenshots

    tmck-code/yet-another-statusline

    Generate before/after PNG screenshots for a YAS branch's rendering changes, push them to the yas-pr-screenshots repo, and hand back a markdown before/after table for the PR description.

    242 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check passed
  • Tmck Code Statusline

    tmck-code/yet-another-statusline

    Edit the Claude Code statusline renderer safely. An agent skill from tmck-code/yet-another-statusline.

    242 GitHub stars~3k tokensUpdated 3 days ago
    Auto-check passed
  • Uninstall

    tmck-code/yet-another-statusline

    Unwire yet-another-statusline from Claude Code — removes statusLine.command from settings.json in CLAUDECONFIGDIR (default ~/.claude/) and deletes the renderer's runtime state.

    242 GitHub stars~1.2k tokensUpdated 3 days ago
    Auto-check: notes
  • Config

    tmck-code/yet-another-statusline

    Reconfigure yet-another-statusline — re-runs the interactive install wizard (glyph mode, theme, labels, token soft-limit, and Python version) against the already-installed plugin and re-wires…

    242 GitHub stars~254 tokensUpdated 3 days ago
    Auto-check: notes
  • Init

    tmck-code/yet-another-statusline

    Wire yet-another-statusline into Claude Code — writes statusLine.command to settings.json in CLAUDECONFIGDIR (default ~/.claude/).

    242 GitHub stars~185 tokensUpdated 3 days ago
    Auto-check: notes

Works with

Categories

Questions about Yas PR

What does Yas PR do?

Assemble a pull request that follows this repo's PR template, then open it as a draft. Yas PR is an agent skill from tmck-code/yet-another-statusline. Assemble a pull request that follows this repo's PR template, then open it as a draft.

When should I use Yas PR?

Yas PR fits situations like: the user wants to open; raise a PR for the current branch.

How do I install Yas PR in Claude Code?

Run `npx skills add tmck-code/yet-another-statusline --skill yas-pr -a claude-code`. Or copy the skill folder (.claude/skills/yas-pr in tmck-code/yet-another-statusline) into .claude/skills/yas-pr in your project. Claude Code loads it when a task matches its description.

How do I install Yas PR in Codex?

Run `npx skills add tmck-code/yet-another-statusline --skill yas-pr -a codex`. Or copy the skill folder (.claude/skills/yas-pr in tmck-code/yet-another-statusline) into .agents/skills/yas-pr in your project. Codex loads it when a task matches its description.

Can I use Yas PR 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 tmck-code/yet-another-statusline --skill yas-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/yas-pr, .gemini/skills/yas-pr, .github/skills/yas-pr and .opencode/skills/yas-pr in your project.

What does Yas PR need to run?

Going by SKILL.md and its folder, Yas PR needs the command-line tools its instructions call (make, git, uv and gh). Our summary lists: Python 3.

Does Yas PR access the network?

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

Is Yas PR 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 Yas PR use?

Yas PR is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Yas PR use?

About 1.1k tokens (SKILL.md is roughly 4.6k 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 Yas PR?

Skills that share tags, products or a category with Yas PR: Finishing a Development Branch (obra/superpowers, 296k stars), Understand Diff Analysis (Egonex-AI/Understand-Anything, 85k stars), Contributor-First PR Merge (HKUDS/OpenHarness, 16k stars) and Open Code Review CLI (alibaba/open-code-review, 44k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Yas PR?

tmck-code (a GitHub user) maintains it in tmck-code/yet-another-statusline, which has 242 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 4, 2026.

Source: tmck-code/yet-another-statusline on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.