An open API service indexing awesome lists of open source software.

https://github.com/bsorrentino/ai-conventional-commit

This simple utility make a commit description compliant with conventional commit standard using AI
https://github.com/bsorrentino/ai-conventional-commit

Last synced: 30 days ago
JSON representation

This simple utility make a commit description compliant with conventional commit standard using AI

Awesome Lists containing this project

README

          

## AI COMMIT

This simple utility make a commit description compliant witn [conventional commit] standard

### Features

* If update concerns **one staging file** or such file is provided by command line using `-c` argument, **it is put automatically as scope of commit**
* Period is translated as new line in result message
* use postfix `as ` to define commit topic
* use postfix `scope ` to define commit scope.

### Examples

| text | result | staging file (-c argument)
--- | --- | ---
| `add password hashing as auth` | `feat(auth): add password hashing` |
| `update README.md`| `docs: update readme.md` |
| `update`| `docs(README.md): update` |README.md |
| `add jsdoc from AI(cody) as docs` | `docs(index.mjs): add jsdoc from AI(cody)` | index.mjs

[conventional commit]: https://www.conventionalcommits.org/en/v1.0.0/