# Pre-commit verification

A step of the [Claude Code development environment](https://gradus.kazet.blog/tree/claude-dev-environment) tree on Gradus, in the Guardrails area: Permissions, verify, review.

Page: https://gradus.kazet.blog/tree/claude-dev-environment/step/pre-commit-verification

Run the verify command from a pre-commit hook so a broken commit cannot be made, by a person or an assistant.

Usually comes after: [A single verify command](https://gradus.kazet.blog/tree/claude-dev-environment/step/verify-command).

## Prompt for your AI assistant

```
Install a pre-commit hook (Husky, pre-commit or a plain git hook, whichever fits the ecosystem) that runs the project's verify command and aborts the commit on failure. Make sure the hook is installed automatically after dependencies are installed.
```

Every step of the tree: https://gradus.kazet.blog/tree/claude-dev-environment/llms.txt
