mxa-verify-precommit
Runs on every commit, on the staged files only: formatting, linting, types and a secrets scan, in under a second. Deliberately thin, because a slow hook gets bypassed.
- Formats, lints and type-checks every commit before it lands, with no one having to remember.
- Scans the staged diff for leaked keys, so a secret never reaches the history.
- Checks staged files only, which keeps the hook fast enough that nobody works around it.
- Is wired once to a git hook and then fires on its own; fixing what it flags is mxa-commit's job.
What is inside
Instructions. Nothing here runs on its own: the judgement is the skill.
- Evals
- 3
Works with
The outside tools and connectors this skill drives.
- Lefthook with Biome· our default
- Husky with ESLint and Prettier
- gitleaks
The first is what we reach for on our own projects. A project that already uses one of the others keeps it, and the skill works with that instead.