setup-pre-commit

Pass

Audited by Gen Agent Trust Hub on Oct 11, 2026

Risk Level: SAFE
Full Analysis
  • [SAFE]: The skill automates the configuration of Git hooks using industry-standard tools like husky and lint-staged. These tools are used to run formatters (e.g., oxfmt, prettier) and linters (e.g., oxlint, eslint) on staged files.
  • [SAFE]: The provided Python script scripts/pr_hygiene.py is a utility designed to enforce project-specific conventions for commit messages, branch naming, and pull request structure. It operates entirely on local file inputs provided during the Git workflow and uses Python's standard library to perform regex-based validation. The script includes a non_ascii check which acts as a security best practice by preventing the use of potentially deceptive homoglyphs or hidden characters in commit history.
  • [SAFE]: Dependencies are managed through the project's existing package manager (Bun, NPM, PNPM, or Yarn) and target established, reputable packages. No external scripts are downloaded or executed via network-piped commands.
  • [SAFE]: The skill's behavior matches its stated purpose. While it creates persistence in the form of Git hooks, this is the intended and transparent functionality requested by the user.
Audit Metadata
Risk Level
SAFE
Analyzed
Oct 11, 2026, 05:12 PM