pr-style

pr-style is a skill for Claude Code from ncaq/konoka. It costs 44 tokens per session (2,757 once invoked), scanned A, original, Apache-2.0.

Guidelines for writing GitHub pull requests, which are proposed code changes submitted for review. They cover the title, description, assignee, and labels, while prioritizing the repository's own conventions.

In plain words
What is it for?
Drafting or proposing pull requests, selecting labels and assignees, and matching the style already used in a repository.
Why use it?
They provide a consistent way to describe changes and choose review metadata. They also require checking project-specific contribution rules and recent merged pull requests when available.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions Claude Code.

Part of the pr plugin — 2 skills shipped together

Good fit Drafting or proposing pull requests, selecting labels and assignees, and matching the style already used in a repository.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ncaq/konoka/pr-style
View source ↗ ncaq/konoka
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ncaq/konoka --skill pr-style
Clone the repo
git clone --depth 1 https://github.com/ncaq/konoka

Made for: Claude Code.

Or install pr, the plugin that ships this one along with the rest of its 2 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pr-style

README.md
[![agentmods](https://agentmods.dev/badge/skills/ncaq/konoka/pr-style.svg)](https://agentmods.dev/skills/ncaq/konoka/pr-style)
Your own site
<a href="https://agentmods.dev/skills/ncaq/konoka/pr-style"><img src="https://agentmods.dev/badge/skills/ncaq/konoka/pr-style.svg" alt="Measured on agentmods" height="20"></a>
Per session 44 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,757 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00044 $0.02757
Opus 5 $0.00022 $0.01378
Sonnet 5 $0.00009 $0.00551
Haiku 4.5 $0.00004 $0.00276

Measured 7d ago against content hash 2a43d0ffb773, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

pr-style scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/pr/skills/pr-style/SKILL.md · 311 lines

How it starts

The opening of the file, as written. The whole thing — 311 lines — stays where its author put it; the contents beside it link to each section on GitHub.

GitHubのpull requestを作成するときのスタイルガイドラインです。 タイトルと本文の書き方に加え、 アサインとラベルの決め方も扱います。 /prスキル経由でないPR作成でも、 このガイドラインに従ってください。

大前提: そのリポジトリのスタイルに従う

リポジトリ固有のスタイルがある場合は、 ここに書かれたデフォルトより優先してください。

リポジトリ固有のCONTRIBUTING

!read-contributing

上記の内容が空でなければリポジトリのCONTRIBUTING.mdの内容です。 CONTRIBUTING.mdファイルが典型的に存在する場所を探索して、 最初に見つかったファイルの内容を出力します。 内容に従ってください。

リポジトリ固有のpull requestテンプレート

!read-pull-request-template

上記の内容が空でなければリポジトリのpull requestテンプレートです。 GitHub標準のテンプレートの置き場所を探索して、 全てのテンプレートの内容を出力します。

テンプレートが存在する場合は、 そのテンプレートの構造を本文に反映してください。 複数のテンプレートが存在する場合は、 PRの内容に最も合うものを選んでください。

過去のmerged PRの参照

直近のmergedなPRは、 タイトルと本文のスタイル、 そしてラベルの実際の使われ方の両方の参考になります。 GitHub MCPが利用可能な場合は優先して使ってください。 PR一覧の応答にはラベル情報も含まれているため、 この取得結果を後のラベル選定にも流用してください。

  • mcp__github__list_pull_requests: PR一覧の取得
  • mcp__github__pull_request_read: PR詳細の取得

GitHub MCPが使えない場合はGitHub CLI(gh)を使ってください。

gh pr list --state merged --limit 20 --json number,title,body,author,labels
gh pr view <number> --json title,body,labels

bot(renovate, dependabotなど)のPRは参考になりません。 author.is_botfalseのPRだけを参考にしてください。

コミット履歴とdiffの把握

baseブランチからの差分を以下のコマンドで取得してください。

git log <base>..HEAD --no-merges
git diff <base>...HEAD --stat

差分が大きい場合は--statで概要を把握してから、 必要な範囲だけgit diff本体で内容を確認してください。

タイトルのスタイル

リポジトリのスタイルが不明な場合のデフォルトスタイルは、 commit-styleスキルのガイドラインに従った、 Conventional Commits準拠の日本語タイトルです。

リポジトリのスタイルがある場合はそちらを優先してください。

PRに含まれるコミットが1つだけの場合は、 そのコミットのタイトルをそのままPRのタイトルに使ってください。

PRに含まれるコミットが複数ある場合は、 PR全体の変更を要約するタイトルを新たに書いてください。

本文のスタイル

リポジトリ固有のテンプレートが用意されている場合は、 そのテンプレートを埋める形で本文を書いてください。

リポジトリのスタイルの個別の要素が不明な場合のデフォルトスタイルの要素は以下です。

言語

日本語で記述してください。

文体

丁寧語とですます調で書いてください。

英単語と日本語が混在する場合は、 英単語の前後にスペースを入れないでください。 中国語の風習では普通スペースを入れますが、 日本語ではスペースを入れないのも一般的で、 私は基本的にスペースなしのスタイルを採用しています。

行長と改行

行長は100文字以内に収めてください。 URLなど改行できないものを挿入する場合は例外です。

改行位置は句読点の後など、 自然な場所を選んでください。 不自然な場所で改行はしないでください。 改行位置が不自然になるぐらいなら文章を練りなおしてください。 日本語は英語と違い好きに改行して良い言語ではないので、 改行位置には十分注意してください。

コードシンボル

コードのシンボル(関数名や変数名など)を本文に含める場合は、 Markdownのインラインコード記法であるバッククォートで囲んでください。

Read the full file on GitHub · 311 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 311 lines · 44 tokens per session scan A 2a43d0ffb773

Subscribe to this mod's changes

pr-style is a skill published in the GitHub repository ncaq/konoka (3 stars, last pushed today), licensed Apache-2.0. It adds 44 tokens to every session and 2,757 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

parallel-pr-scope-overlap-tiebreaker-delta-check

Before applying a handoff prompt's tiebreaker default ("merge the first-mover", "the clean-against-main one", "the one with reviewer APPROVE") to pick a winner between two parallel PRs that implemented the SAME scope, run gh pr diff on BOTH and audit for substantive deltas. Use when: (1) a session prompt or handoff…

wan-huiyan/agent-traffic-control · 384 tokens

pr-from-stale-branch-silently-reverts-newer-main-files

Trap: merging a PR whose branch carries an OLD TREE silently DELETES (reverts) files that landed on main after that tree was built — with NO merge conflict to warn you, because a deletion your own commit records is not a conflict. Use when: (1) about to gh pr create or squash-merge from a long-lived / earlier-branched…

wan-huiyan/agent-traffic-control · 387 tokens

stacked-pr-review-per-base-diff-and-attach

Reviewing a stack of dependent pull requests: diff each one against ITS OWN base rather than against main, and attach the reports to the bottom branch.

wan-huiyan/agent-traffic-control · 43 tokens

subagent-reports-complete-but-pr-unmerged

Catch the systematic gap between sub-agent "completed" status and the actual end state of a PR-merge orchestration task. Use when: (1) you've dispatched multiple parallel sub-agents (general-purpose or specialist) to open + review + merge PRs, (2) the parent receives with status: completed but the sub-agent's last…

wan-huiyan/agent-traffic-control · 372 tokens

working-tree-edits-stranded-on-squash-merge

Diagnose and prevent "I made the fix but it's not on main" cases where the fix was applied in the working tree via Edit / Write but never git added before the squash-merge. Use when: (1) you squash-merged a PR and the user reports the issue is back, (2) git status after the merge shows uncommitted changes for files…

wan-huiyan/agent-traffic-control · 236 tokens

pr

Comprehensive PR/issue review - analyzes architecture, tests, identifies unrelated changes mixed in, drafts review comment or issue comment. Use when user asks to review a PR, check a PR, look at PR changes, or comment on an issue.

umputun/cc-thingz · 51 tokens