Commit and Open a PR

Close out a session with a why-focused commit and a PR that carries a test plan.

Beginner1 min read

Prompt

Commit the current changes with a descriptive message that explains the why, not just the what.

Then open a PR using `gh pr create` with a summary of the change and a test plan in the description.

Similar prompts

Pull Context From an Issue

Have the agent read the ticket itself, find the relevant code, and propose a plan.

Bisect a Regression

Walk the history between a known-good commit and main to find the culprit diff.

Check the Diff Against the Plan

Audit finished work against the plan it was supposed to follow — gaps only, no style notes.

Document What You Built

Update docs strictly from the diff, with no invented features.