[READ-ONLY] Mirror of https://github.com/stephansama/packages. open source npm packages created by @stephansama packages.stephansama.info
alfred-workflow javascript javascript-library npm npm-package npm-package-typescript npm-packages turborepo typescript
1.3 kB · 43 lines

@stephansama/ai-commit-msg #

Source code Documentation NPM Version npm downloads

generate commit messages using ai

Table of contents #
Open Table of contents

Installation #

pnpm install @stephansama/ai-commit-msg

Usage #

Husky #

  1. Install and initialize husky

    npm install --save-dev husky && npx husky init
    
  2. create the prepare-commit-msg hook by creating a file located at .husky/prepare-commit-msg

    #!/bin/sh
    
    ai-commit-msg -o "$1"