Add documentation for the `sw-precommit' script.