A CLI tool that quizzes you on your code changes before you can commit. Pass the quiz, ship the code. Fail, and go read the diff.
$ npm install -g arivcode
click to copy
Copied!
AI coding tools generate hundreds of lines in seconds. Developers accept the suggestions, commit the code, and move on. The code works. Until it doesn't. And when it breaks, nobody can explain what it does or why it was written that way.
Quiz runs at commit time. You answer before the commit goes through. Maximum accountability, strictest enforcement.
Commit freely. Quiz runs when you push. All outbound commits are quizzed as one aggregated diff. Your creative flow stays unbroken.
Push freely. Quiz appears when a PR is opened. The PR can't merge until the developer passes the quiz. Reviewer is auto-assigned after.
OpenAI, Google Gemini, and Anthropic Claude. Bring your own API key and pick the model that works for you.
OpenAI · Google · Anthropic8 questions for small diffs, up to 20 for large ones. Tiered by lines changed so the quiz matches the scope of your work.
8 · 12 · 16 · 20 QuestionsSyntax, Execution, Architecture, and Edge Cases. Configure which areas to test, or use all four for comprehensive coverage.
Configurable per projectBeginner, Intermediate, or Advanced. Set globally or per project to match your experience level.
Beginner · Intermediate · AdvancedOptionally badge your commits with your quiz score. Every commit shows you understood the code when you shipped it.
Optional · ConfigurableNeed to ship a hotfix at 2am? Use --skip to bypass the quiz when you absolutely must commit now.
arivcode is in active development. Here's what's live, what's next, and what's on the horizon.
The CLI is free, open source, and always will be. Star the repo, file issues, submit PRs. This tool gets better when developers shape it.