# Husky

husky 是一个让配置 git 钩子变得更简单的工具。当您提交或推送时，您可以使用它来**整理您的提交消息**、**运行测试**、**lint 代码**等。Husky 支持所有 Git 钩子。

{% embed url="<https://typicode.github.io/husky/#/>" %}

{% embed url="<https://juejin.cn/post/6982192362583752741>" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://chenqianhe.gitbook.io/rules/readme/coding-rules/qian-duan/husky.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
