Who it is forA developer or reviewer preparing a pull request that touches many commits and files.
The problemA pull request can contain many changes, and checking only the latest staged edit misses the rest.
The outcomeThe developer gets questions covering the whole branch since main, and knows whether the pull request is ready to open.
What you need first
- Python 3.11 or newer on Linux, macOS or Windows
- git installed and a repository to test in
- One model option: an installed Claude Code, Codex or Gemini CLI, an Anthropic API key, an OpenAI-compatible API, Ollama, or the offline fake provider
Steps
- Install Grip with
pipx install grip-hook - Check out your feature branch in the repository
- Run
grip quiz --branchto quiz the whole branch since main - Answer the questions and fix any gaps before opening the pull request
Prompt for your agent
Using the grip repo at github.com/guilyx/grip, check out the feature branch in <repo path> and run `grip quiz --branch --provider fake` to get an offline quiz on the whole branch. Expected output: five questions covering changes since main. Verify that the questions refer to files changed on the branch.
Caveat. The README describes --branch as quizzing changes since main, so branches with a different base may need the configuration reference checked.
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Disclaimer
Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page