pr-issue

pr-issue is a skill for Claude Code, Codex from Mark-Life/agent-skills. It costs 34 tokens per session (1,866 once invoked), scanned A, original, MIT.

A writing guide for pull requests, issues, and tickets—the records developers use to propose changes or report problems. It sets a fixed structure based on the observed symptom, the code mechanism, and real evidence.

In plain words
What is it for?
Use it before writing a pull request or issue, including when creating one with the GitHub command-line tool.
Why use it?
It helps reviewers or future maintainers understand what happened, why it matters, and whether the result was actually tested. This avoids vague descriptions and unsupported output claims.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it before writing a pull request or issue, including when creating…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mark-life/agent-skills/pr-issue
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 Mark-Life/agent-skills --skill pr-issue
Clone the repo
git clone --depth 1 https://github.com/Mark-Life/agent-skills

Made for: Claude Code, Codex.

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-issue

README.md
[![agentmods](https://agentmods.dev/badge/skills/mark-life/agent-skills/pr-issue.svg)](https://agentmods.dev/skills/mark-life/agent-skills/pr-issue)
Your own site
<a href="https://agentmods.dev/skills/mark-life/agent-skills/pr-issue"><img src="https://agentmods.dev/badge/skills/mark-life/agent-skills/pr-issue.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,866 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.00034 $0.01866
Opus 5 $0.00017 $0.00933
Sonnet 5 $0.00007 $0.00373
Haiku 4.5 $0.00003 $0.00187

Measured 6d ago against content hash c09e927aa7b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

pr-issue 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 6d 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.

skills/coding-workflows/pr-issue/SKILL.md · 178 lines

How it starts

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

PR & Issue

Write the title and body Vim-stylearea: summary, then labelled sections in template order.

Three words carry this skill. Symptom: every body opens with the thing a human noticed. Mechanism: the next paragraph names the exact code that misbehaves. Receipts: any output shown was really produced, never output that would plausibly have been produced — and a change to rendered output shows that output.

A PR is read once, in a hurry, by someone deciding whether to approve. An issue is read once, weeks later, by someone deciding whether to work on it — and again by whoever picks it up. Every sentence earns its place by moving that decision along.

Which artifact

A PR argues that a change should land. An issue argues that a change is needed. The title, the Problem section, and the style rules are shared; everything after them diverges.

Pull request Issue / ticket
Title mood imperative — the change indicative — the defect or the gap
Header block none Labels: / Relates to:
Body Problem, Solution, Security Impact, Testing Problem, Reproduction, Expected vs actual, Proposed solution
Evidence commands you ran, output you copied steps that reproduce, revision the line numbers pin to
Tone of the fix decided proposed, with the open questions named

Read one reference, now, before drafting. This file carries only what both artifacts share.

  • Writing a pull request → pr.md
  • Writing an issue, ticket, or bug report → issue.md

Shared steps

  1. Gather the ground truth in full. For a PR that is the diff (git diff <base>...HEAD), read until every changed file is accounted for, not until the shape is clear. For an issue it is the code path that fails, read until you can name the line that decides the wrong outcome.
  2. One artifact, one problem. A diff spanning unrelated areas splits into two PRs; a report bundling two defects splits into two issues.
  3. Draft the title from the area of the largest coherent change.
  4. Follow the reference for the artifact — it owns the middle of the body.
  5. Cut every clause that would not change what the reader does. Done when the body is under 400 words.
  6. Open it with a heredoc, so the markdown survives the shell:

Read the full file on GitHub · 178 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago First seen · 178 lines · 34 tokens per session scan A c09e927aa7b2

Subscribe to this mod's changes

pr-issue is a skill published in the GitHub repository Mark-Life/agent-skills (2 stars, last pushed 22d ago), licensed MIT. It adds 34 tokens to every session and 1,866 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