JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q37224F

Turns diffs into concise, readable git commit messages

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (llm-commit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    LLM Commit

    Turn diffs into somewhat accurate commit messages

    Setup

    Run llm-commit --help to see a list of options

    .env

    Looks for a .env file in the project root

    Follows https://sdk.vercel.ai/providers/ai-sdk-providers defaults, for example

    ANTHROPIC_API_KEY=sk-hunter2

    Ignoring Files

    The code runs git diff internally which respects .gitignore

    git diff doesn't count staged changes, so pass in --cached if you already ran git add

    https://harper.blog/2024/03/11/use-an-llm-to-automagically-generate-meaningful-git-commit-messages/ basic idea