setup-pre-commit
Builds automatic checks that run before you save code, so formatting and tests happen without you doing it by hand.
Installation
Paste this into Claude Code, Cursor, or any agent that can run commands.
What this skill does
What it does:
- Sets up Husky, which is a tool that runs checks before you save code changes
- Installs Prettier, which automatically fixes how your code looks
- Runs type checking to catch mistakes
- Runs tests to make sure your code works
- All of this happens automatically when you try to save your changes
When to use it:
- When you want to make sure bad code never gets saved to your project
- When your team wants everyone's code to look the same
- When you want tests and type checking to run automatically before saving
- When you are starting a new project and want to set up these safety checks from the beginning
The full skill text could not be loaded right now. It installs fine with the command above, or read it at the source.
Mirrored from the author's public source. Install counts from the open skills registry.