pr-ready

An end-to-end pull-request checklist that takes a code branch from finished work through checks, review, opening the request, and monitoring it.

In plain words
What is it for?
Use it when preparing a branch for a pull request and following it until reviews are handled and the request is ready to merge.
Why use it?
It reduces the chance of submitting unfinished code by enforcing checks for cleanliness, linting, tests, security, documentation, and release notes.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/5uck1ess/devkit/pr-ready
Any agent
npx skills add 5uck1ess/devkit --skill pr-ready
Clone the repo
git clone --depth 1 https://github.com/5uck1ess/devkit

Made for: Claude Code, Codex.

Per session 246 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 788 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00246 $0.00788
Opus 5 $0.00123 $0.00394
Sonnet 5 $0.00049 $0.00158
Haiku 4.5 $0.00025 $0.00079

Measured yesterday against content hash ba9e85aef13f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

pr-ready 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 yesterday.

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/pr-ready/SKILL.md · 53 lines

How it starts

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

PR Ready

Deterministic PR pipeline: validate → necessity → lint (loop) → test (loop) → security → doc-check → changelog → create PR → monitor (loop).

Invoke

Start the workflow via the devkit engine:

Use the devkit_start tool with workflow: "pr-ready" and input: "{input}".

Then follow each step the engine returns. Call devkit_advance after completing each step. The engine controls step order, gates, and loops. Do NOT skip steps.

What it does

  1. validate — checks not on main, no uncommitted changes, commits ahead of main
  2. necessity — removes debug prints, unrelated changes, stray files from the diff
  3. lint — runs linter, fixes violations, loops until clean
  4. test — runs test suite, fixes failures, loops until passing
  5. security — scans for hardcoded secrets, injection, XSS, traversal, insecure deps
  6. doc-check — classifies the diff (feature/bugfix/breaking/internal/docs-only) and decides per-file whether README, ROADMAP, CLAUDE.md, skills/*/SKILL.md, plugin.json, or workflows/*.yml need updates. Applies mechanical edits directly (moving roadmap bullets, adding command rows, syncing SKILL.md step lists); flags ambiguous updates as [!] in the output checklist. Commits applied edits with docs: update ... so they land in the PR alongside the code. CHANGELOG.md is intentionally skipped — it is managed by the release pipeline. Runs before changelog so any doc commit it creates is captured in the PR description.
  7. changelog — generates entry from git diff (now includes any doc-check commits)
  8. create-pr — pushes branch, creates PR via gh pr create with title/summary/changelog/test plan
  9. monitor — waits for CI, classifies reviewer comments (code_fix/style_nit/question/false_positive/out_of_scope), applies fixes, replies, pushes, loops until all resolved

Rules

  • Never force-push
  • Never dismiss reviews — only re-request after fixing
  • Reply to false positives with evidence, not dismissal
  • Escalate architectural changes via AskUserQuestion
  • Stop after 10 monitor iterations or when stuck (3 iters with zero progress)

Read the full file on GitHub · 53 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. yesterday First seen · 53 lines · 246 tokens per session scan A ba9e85aef13f

Subscribe to this mod's changes

pr-ready is a skill published in the GitHub repository 5uck1ess/devkit (5 stars, last pushed 13d ago), licensed MIT. It adds 246 tokens to every session and 788 once invoked, about $0.0012 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