huskyjavascriptgit

Uses Husky to integrate pre-commit, pre-push, and commit-msg checks into the repository so agents and developers run the same local protections before changes leave the workstation.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "huskyjavascriptgit" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-27809f76c42c075b206cd83cbce519dd459c4d5ef6614bef7ed6eaf3db64851a. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/enforce-local-git-hook-checks-in-javascript-repos-with-husky before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Uses Husky to integrate pre-commit, pre-push, and commit-msg checks into the repository so agents and developers run the same local protections before changes leave the workstation.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0.0 Reference

SkillPi interpretation

Tasks
Translation pending; see source documentation.
Software, accounts and paid services
Git, Node.js, npm or pnpm or yarn
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: "使用 Husky 在 JavaScript 仓库中强制执行本地 Git 钩子检查"
slug: "enforce-local-git-hook-checks-in-javascript-repos-with-husky"
version: "1.0.0"
displayName: "使用 Husky 在 JavaScript 仓库中强制执行本地 Git 钩子检查"
summary: "使用 Husky 将 pre-commit、pre-push 和 commit-msg 检查集成到仓库中,以便代理和开发人员在更改离开工作站之前运行相同的本地防护措施。"
license: "MIT"
description: "使用 Husky 将 pre-commit、pre-push 和 commit-msg 检查集成到仓库中,以便代理和开发人员在更改离开工作站之前运行相同的本地防护措施。"
github_stars: 34988
verification: "listed"
source: "https://github.com/1991513ccie-png/skills"
author: "1991513ccie-png"
publisher_type: "individual"
category: "Templates & Workflows"
framework: "Multi-Framework"
tool_ecosystem:
  github_repo: "1991513ccie-png/skills"
  github_stars: 34988
  npm_package: "husky"
  npm_weekly_downloads: 25702615

使用 Husky 在 JavaScript 仓库中强制执行本地 Git 钩子检查

Use Husky to wire pre-commit, pre-push, and commit-msg checks into a repo so agents and developers run the same local guardrails before changes leave the workstation.

Prerequisites

Git, Node.js, npm or pnpm or yarn

Installation

No source-backed install or usage instructions could be extracted automatically. Review the upstream project before running this skill in a sensitive workflow.

Documentation

Current listing version

1.0.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

Scenario Value78/100

Highlights

  • 提供 JavaScript 仓库中集成 Husky 实现 Git 钩子检查的实用方案
  • 解决开发者在提交和推送代码前的本地防护需求,提升代码质量
Trigger Precision85/100

Highlights

  • description 精准描述了 pre-commit、pre-push 和 commit-msg 检查功能
  • 触发词清晰,覆盖核心使用场景
Structure and Standards65/100

Areas to improve

  • 缺少具体使用步骤和示例 Reported severity: Minor

    文档仅提供简介和前置条件,缺少详细的安装、配置和使用步骤

    Recommendation: 补充具体的 Husky 安装命令、配置文件示例和常见钩子设置方法

Highlights

  • 文档结构清晰,标题和简介明确
Execution Reliability60/100

Areas to improve

  • 缺少具体执行指令 Reported severity: Minor

    未提供具体的安装和使用指令,仅提示查看上游项目

    Recommendation: 补充具体的 npm 安装命令、husky 初始化步骤和钩子配置示例

Highlights

  • 工具来源明确,引用了官方 Husky 文档
Evidence Verifiability (mean of the first four)72/100

The arithmetic mean of the first four original scores, rounded to a whole number.

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

These common operations were not identified in the main document. This does not mean no permissions or risks exist.

Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • github.com
  • typicode.github.io

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

Git, Node.js, npm or pnpm or yarn

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.