Lefthook

Fandhe-AI/agent-reference-skills/skills/lefthook

作者 Fandhe-AIab4ae2660c236a3e0d8f58cea8ab14299317d9ef無授權條款收錄於 2026年10月9日更新於 2026年10月9日

Lefthook (高速並列 Git hooks マネージャー) リファレンス。 lefthook.yml 設定、pre-commit / pre-push / commit-msg 等のフック、 parallel / piped 実行、glob / run / tags フィルタ、 CI スキップ、staged_files、Husky からの移行。

AI 產生的概覽

Lefthook(平行 Git hooks 管理器)參考技能,涵蓋安裝、設定、用法與範例。

功能
此技能是 Lefthook(快速平行 Git hooks 管理器)的說明文件參考。它會把使用者任務對應到隨附的參考頁面,涵蓋安裝方式、lefthook.yml 的全域、hook、command 與 script 設定、remotes、CLI 用法、環境變數,以及 commitlint 整合、檔案過濾、本機覆寫與條件式略過等範例。也包含範例設定與面向 CLI 和安裝的指令碼類頁面。代理會先讀取對應的 README,再讀取特定頁面來回答 Lefthook 相關問題。
適用情境
當使用者詢問 Lefthook 的安裝、設定或執行時使用,包括 hook 定義、平行或管線執行、glob 與標籤過濾、暫存檔案、CI 略過、remotes,或從 Husky 移轉。也適合 lefthook.yml 選項或典型 hook 設定的問題。
執行需求
除了代理讀取檔案的能力外,不需要特殊執行環境;此技能為說明文件,並附帶指令碼角色的 markdown 頁面。Lefthook 本身是主題內容,而非此技能的相依項目。

Lefthook リファレンス

Lefthook(lefthook.dev)の全ドキュメントを網羅したスキル。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。

ディレクトリ構成

text
skills/lefthook/  SKILL.md  references/    installation/      README.md      overview.md      node.md      ruby.md      go.md      python.md      swift.md      homebrew.md      winget.md      scoop.md      deb.md      rpm.md      alpine.md      arch.md      snap.md      devbox.md      mise.md      manual.md    configuration/      README.md      global-settings.md      hook-settings.md      command-settings.md      script-settings.md      source-dir.md      remotes.md    usage/      README.md      commands.md      environment-variables.md    examples/      README.md      commitlint.md      filters.md      lefthook-local.md      remotes.md      skip.md      stage-fixed.md      wrap-commands.md  samples/    README.md    basic-setup.md    parallel-execution.md    auto-fix-and-stage.md    commitlint-integration.md    local-override.md    conditional-skip.md    monorepo-setup.md    shared-config-via-remotes.md  scripts/    README.md    cli.md    install.md    run-with-env.md

探索手順

タスクからカテゴリを引き、カテゴリの README.md で目的のページを特定する:

  1. 下記マッピング表でタスクに対応するカテゴリを探す
  2. そのカテゴリの references/{category}/README.md を参照して目的のページを特定する
  3. 該当ページの .md を Read して詳細を確認する

タスク → カテゴリ マッピング

タスクカテゴリ参照 README
Lefthook のインストール・セットアップinstallationreferences/installation/README.md [blocked]
npm / yarn / pnpm / pip / gem でのインストールinstallationreferences/installation/README.md [blocked]
Homebrew / Scoop / Winget / APK / AUR でのインストールinstallationreferences/installation/README.md [blocked]
バイナリ手動インストール・mise / devbox 対応installationreferences/installation/README.md [blocked]
lefthook.yml のグローバル設定configurationreferences/configuration/README.md [blocked]
Hook 設定(parallel, piped, follow, skip)configurationreferences/configuration/README.md [blocked]
Command 設定(run, glob, files, stage_fixed)configurationreferences/configuration/README.md [blocked]
Script 設定・source_dir の変更configurationreferences/configuration/README.md [blocked]
remotes による設定共有configurationreferences/configuration/README.md [blocked]
lefthook install / run / add / validate / dumpusagereferences/usage/README.md [blocked]
環境変数(LEFTHOOK, LEFTHOOK_VERBOSE 等)による制御usagereferences/usage/README.md [blocked]
commitlint / Commitizen 統合examplesreferences/examples/README.md [blocked]
ファイルフィルタリング(glob / staged_files / tags)examplesreferences/examples/README.md [blocked]
lefthook-local.yml でのローカルオーバーライドexamplesreferences/examples/README.md [blocked]
条件付きスキップ・ブランチ制限examplesreferences/examples/README.md [blocked]
典型的な使い方を知りたいsamplessamples/README.md [blocked]
インストール・CLI コマンドを知りたいscriptsscripts/README.md [blocked]

來源與署名

來源:Fandhe-AI/agent-reference-skills位於skills/lefthook提交ab4ae26

授權條款: 無授權條款

內容歸原作者所有。SourceWeft 從公開儲存庫中收錄這些內容。

檢舉或申請下架