Skip to content

@stephansama packages / @stephansama/ai-commit-msg

@stephansama/ai-commit-msg

Source codeDocumentationNPM Versionnpm downloads

generate commit messages using ai

Table of contents
Open Table of contents

Installation

sh
pnpm install @stephansama/ai-commit-msg

Usage

Husky

  1. Install and initialize husky

    sh
    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

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

Modules

ModuleDescription

ai

args

config

index

schema

util

Released under MIT license