From frontend-skills
Installs and configures Husky, lint-staged, and Prettier, plus optional typecheck and test scripts, for pre-commit hooks.
How this skill is triggered — by the user, by Claude, or both
Slash command
/frontend-skills:setup-pre-commitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Sets up Husky + lint-staged + Prettier + optional type/test scripts.
Sets up Husky + lint-staged + Prettier + optional type/test scripts.
husky lint-staged prettier.husky init using detected package runner)..husky/pre-commit:<pm> lint-staged
<pm> run typecheck # only if script exists
<pm> run test # only if script exists
.lintstagedrc:{"*":"prettier --ignore-unknown --write"}
.prettierrc only if no Prettier config exists.prepare script present, lint-staged works.npx claudepluginhub redpanda-data/ui-harness --plugin frontend-skillsSets up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests in the current repo.
Sets up Husky pre-commit hooks with lint-staged (Prettier), type checking, and tests. Detects package manager and configures commit-time formatting and validation.
Installs and configures ecosystem-specific git pre-commit hooks (Husky, pre-commit, lefthook, cargo-husky) for formatting, linting, type-checking, and test gates.