To create a new change, clone the repository with codereview config and hooks:
git clone https://dmitri.shuralyov.com/state && (cd state && \ (echo '/codereview.cfg' >> .git/info/exclude) && \ (echo 'gerrit: https://dmitri.shuralyov.com/state' > codereview.cfg) && \ go install golang.org/x/review/git-codereview@latest && git codereview hooks)
Author your change, write a commit message, and run git codereview mail
to mail it.
You'll be prompted by git to authenticate. Sign in via URL to get the git credentials to mail a change.
The general process is similar¹ to that of the Go project. See https://go.dev/doc/contribute for more information.
¹ One limitation here is that mailing multiple dependent changes is not supported at this time.