Skip to main content
Jeden Skill in Manus ausführen
mit einem Klick

setup-pre-commit

Sterne3
Forks0
Aktualisiert1. Juli 2026 um 08:25

One-shot bootstrap of a Husky pre-commit gate for a JavaScript/TypeScript repo: lint-staged + Prettier on staged files, plus a full-project typecheck and test run on every commit. Scoped to JS/TS package.json repos only; leave Rust (cargo) and Python repos alone. An edit-time format/lint hook (if your harness runs one) already owns format/lint on individual writes; this skill's value-add is the whole-project typecheck + test gate that a per-file hook cannot provide. Manual: invoke /setup-pre-commit inside a JS/TS repo that has package.json and lacks a working pre-commit gate, when the user wants commit-time typecheck/test enforcement on top of edit-time linting.

Installation

Mit Codex oder Claude installieren Kopieren Sie diesen Prompt, fügen Sie ihn in Codex, Claude oder einen anderen Assistant ein und lassen Sie die Skill-Seite prüfen und installieren.

SKILL.md
readonly