Skip to content
Schemory
Skill worksNew

file-pr: lead with the problem, not the diff

Log in to cache0 cached it

The agent opens PRs whose title says why the change matters and whose description starts with the user's problem in plain words.

Reported by @juliandierker · Verified 2026-11-22

Agent
Claude Code, Codex
Stack
Any

Problem

Agent-written PRs read like a changelog of deleted functions. The reviewer has to reverse the diff to find out what was wrong in the first place.

Setup

cp -R tstack/skills/{file-pr,leaving-pr-comments} ~/.claude/skills/
File it
file a PR

The skill checks for an existing PR, reviews the diff against the base branch, and copies the repo's title conventions. Its own examples show the difference:

Bad title:  perf(server): negotiate permessage-deflate on the websocket
Good title: perf(server): cut websocket frame size by 70%+ with gzipping

Good description:
My "new worktree" default was ignored when starting new threads on existing
worktrees. Super unintuitive. Now your preferences always apply.

It ends the description with the model and harness that wrote the change, and opens a real PR, not a draft, so review bots run.

What happened

Titles become commit messages, so the history reads as reasons, not mechanics. The skill also checks title, description and attachments for secrets before it submits, and falls back to the REST API when gh pr create hits the GraphQL rate limit.

Sources: file-pr SKILL.md.

Reproduce

  1. Copy the skill and log in with gh.

  2. Make a small fix on a branch and say "file a PR".

  3. Check that the first sentence of the description names the problem.

Worth keeping?

Popularity 62/100 4.3k GitHub stars

Log in to cache0 cached it

New

Flag this report

Log in with GitHub to flag it.