contribos_check
Review your local branch against repo rules and history before submitting: check scope, tests, changelog, AI policy, and explanation coverage to avoid common contribution issues.
Instructions
Pre-submit review of the local branch against the repo's rules and history: scope versus similar past changes, tests, changelog, sign-off, debug leftovers, AI policy, and whether the contributor's own explanation covers the change, AI-disclosure trailers, competing PRs, and (with verify_test) whether the test fails without the fix. Do not write the explanation for the user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | branch the work started from (default: auto-detect) | |
| path | No | local checkout | . |
| issue | No | issue number, to look for competing PRs | |
| ai_note | No | how AI was used, e.g. 'Claude Code: drafted the test' | |
| explanation | No | the contributor's own explanation, as text | |
| verify_test | No | test command to run with and without the fix | |
| explain_file | No | or a file holding it |