Skip to content

feat(pr-open): link non-GitHub tickets plainly and flag guessed reasons - #38

Merged
mastro993 merged 1 commit into
mainfrom
refactor/lean-pr-open-skill
Nov 28, 2026
Merged

mastro993 merged 1 commit into
mainfrom
refactor/lean-pr-open-skill

Conversation

@mastro993

Copy link
Copy Markdown
Owner

Why

Test runs of pr-open showed three mistakes that kept coming back, and the skill text had grown long and repetitive.

  • For a Jira-style ticket, the body opened with Resolves [LIB-204](…). "Resolves" is a GitHub closing word, so it reads as if the PR closes the ticket.
  • When nothing said why a change was made, the body stated a guessed reason as fact.
  • Some manual test steps couldn't be run on the branch as written.

What

- A tracker key becomes a link to its ticket when you know the URL.
+ Another tracker's ticket: `Ticket: [PAY-118](<url>)`, or `Ticket: PAY-118` without a URL,
+ since closing keywords act only on GitHub issues.
+ The why comes from the issue, the user, or the commits; when none gives one, write what
+ the diff shows and say in the reply that you inferred it.
+ Manual steps ... each runnable on this branch as written.

SKILL.md and references/previews.md are also rewritten as short bullet lists, about 30% fewer words, with the same steps. The per-step "done when" lines are gone (the read-back check after opening stays), and the default template no longer repeats the previews table that previews.md already shows. previews.md also notes that headless Chrome won't capture below about 500 px wide, so phone-width shots need a browser CLI. Version goes to 0.17.2.

Merge danger

Reversible: yes. It only changes skill text; a revert brings the old wording back.

Blast radius: contained. pr-open's own runs change, and so do PRs opened through pr-ship and create-issues, which hand off to it. Their steps and output shape (title format, body sections, reply) are the same as before.

How to test

Automated: the three pr-open evals, run twice per version against the current main version, with a grader that didn't know which version made each run.

Before After
Checks passed 42/44 43/44
Average rank (1 = best) 2.67 2.33
Tokens per run 71.8k 71.6k
Time per run 88 s 99 s

The Jira case used the Ticket: line in both new runs (old: Resolves in both), and both new UI runs said the reason was a guess (old: neither). The extra time is mostly the UI case, where both new runs had their local preview servers blocked by the permission check and had to work around it.

Jira-style tickets get a Ticket: line instead of a GitHub closing
keyword, a guessed why is flagged in the reply, and manual test steps
must run on the branch as written. SKILL.md and previews.md are
rewritten shorter (-30% words) with the same steps.
@mastro993
mastro993 marked this pull request as ready for review November 28, 2026 10:55

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Approach: sound — fixes the Resolves-on-a-non-GitHub-ticket mistake at its source in the skill text, and condenses the skill without changing its steps or output shape.

Reviewed changes

Reviewed the full single commit (f2acb6b) across all six files.

  • Non-GitHub tickets: the issue line is now Ticket: [PAY-118](<url>) (or Ticket: PAY-118), since closing keywords only act on GitHub issues.
  • Guessed reasons: when no issue, user, or commit gives the why, the body states what the diff shows and the reply says the reason was inferred.
  • Runnable manual steps: manual test steps must work on this branch as written.
  • SKILL.md and references/previews.md condensed: bullet form, same steps; per-step "done when" lines dropped, post-open read-back kept; headless Chrome's ~500 px minimum width noted.
  • Version bump to 0.17.2: consistent across .claude-plugin/plugin.json, plugin.json, gemini-extension.json, and the README badge; no stray 0.17.1 remains.

I checked pr-ship, create-issues, and implement-issue for references to the removed wording and found none.

Pullfrog  | View workflow run | Using claude-sonnet-5-5 | 𝕏

@mastro993
mastro993 merged commit cdd8946 into main Nov 28, 2026
2 checks passed
@mastro993
mastro993 deleted the refactor/lean-pr-open-skill branch November 28, 2026 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant