lefthook

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

Lefthook リファレンス

Lefthook 参考文档

Lefthook(lefthook.dev)の全ドキュメントを網羅したスキル。 ユーザーのタスクに応じて適切な README.md を読み、そこから個別ファイルへ辿ること。
本技能涵盖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
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.md找到目标页面:
  1. 从下方映射表中查找任务对应的分类
  2. 查看该分类的
    references/{category}/README.md
    确定目标页面
  3. 读取对应页面的.md文件获取详细信息

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

任务 → 分类 映射表

タスクカテゴリ参照 README
Lefthook のインストール・セットアップinstallationreferences/installation/README.md
npm / yarn / pnpm / pip / gem でのインストールinstallationreferences/installation/README.md
Homebrew / Scoop / Winget / APK / AUR でのインストールinstallationreferences/installation/README.md
バイナリ手動インストール・mise / devbox 対応installationreferences/installation/README.md
lefthook.yml のグローバル設定configurationreferences/configuration/README.md
Hook 設定(parallel, piped, follow, skip)configurationreferences/configuration/README.md
Command 設定(run, glob, files, stage_fixed)configurationreferences/configuration/README.md
Script 設定・source_dir の変更configurationreferences/configuration/README.md
remotes による設定共有configurationreferences/configuration/README.md
lefthook install / run / add / validate / dumpusagereferences/usage/README.md
環境変数(LEFTHOOK, LEFTHOOK_VERBOSE 等)による制御usagereferences/usage/README.md
commitlint / Commitizen 統合examplesreferences/examples/README.md
ファイルフィルタリング(glob / staged_files / tags)examplesreferences/examples/README.md
lefthook-local.yml でのローカルオーバーライドexamplesreferences/examples/README.md
条件付きスキップ・ブランチ制限examplesreferences/examples/README.md
典型的な使い方を知りたいsamplessamples/README.md
インストール・CLI コマンドを知りたいscriptsscripts/README.md
任务分类参考README
Lefthook的安装与设置installationreferences/installation/README.md
通过npm/yarn/pnpm/pip/gem安装installationreferences/installation/README.md
通过Homebrew/Scoop/Winget/APK/AUR安装installationreferences/installation/README.md
手动二进制安装及mise/devbox支持installationreferences/installation/README.md
lefthook.yml全局配置configurationreferences/configuration/README.md
Hook配置(parallel、piped、follow、skip)configurationreferences/configuration/README.md
Command配置(run、glob、files、stage_fixed)configurationreferences/configuration/README.md
Script配置及source_dir修改configurationreferences/configuration/README.md
通过remotes共享配置configurationreferences/configuration/README.md
lefthook install/run/add/validate/dump命令usagereferences/usage/README.md
通过环境变量(LEFTHOOK、LEFTHOOK_VERBOSE等)控制usagereferences/usage/README.md
commitlint/Commitizen集成examplesreferences/examples/README.md
文件过滤(glob/staged_files/tags)examplesreferences/examples/README.md
通过lefthook-local.yml进行本地覆盖examplesreferences/examples/README.md
条件跳过及分支限制examplesreferences/examples/README.md
了解典型使用方法samplessamples/README.md
了解安装及CLI命令scriptsscripts/README.md