Skip to main content

Git staged-change AI review helper

Project description

Commit-wise

Open Source Commit and PR reviewer.

Install

Install the library from PyPI:

pip install commitwise-review

Install directly from the source repository:

pip install .

Install from GitHub:

pip install git+https://github.com/gokul-1998/Commit-wise.git

To force reinstall:

pip install --force-reinstall --no-cache-dir git+https://github.com/gokul-1998/Commit-wise.git

Versioning

This project uses Semantic Versioning:

MAJOR.MINOR.PATCH

Example release plan:

  • 0.1.0 — initial release
  • 0.2.0 — new features
  • 0.2.1 — bug fixes and prompt improvements
  • 1.0.0 — stable public release

CLI MVP (commit-wise)

This repository now includes a minimal local CLI for staged-change review.

Commands

commit-wise init
commit-wise review
commit-wise explain
commit-wise commit
commit-wise hooks install

The old gai alias is still available:

gai init
gai review
gai explain
gai commit
gai hooks install

What commit-wise review does

  • Reads staged files from git diff --cached --name-only
  • Reads staged diff from git diff --cached
  • Runs local analyzers when installed (ruff, mypy, pytest, bandit)
  • Prints actionable review suggestions and score in terminal

Security

gai init stores provider tokens in the system keyring (keyring package), not in plain-text config.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

commitwise_review-0.1.1.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

commitwise_review-0.1.1-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

Details for the file commitwise_review-0.1.1.tar.gz.

File metadata

  • Download URL: commitwise_review-0.1.1.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.10

File hashes

Hashes for commitwise_review-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d2c7e95265c51871f971ddd5ecd1e409da82df3e6af1e666aba3930417ca6bb3
MD5 df51d571c5944e77a7b672600403b7d4
BLAKE2b-256 0250cd383abaa0920c478f419b913c42b1182ddbdb4b0bab7d4868885323ffaa

See more details on using hashes here.

File details

Details for the file commitwise_review-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for commitwise_review-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 8652e385bd49b35adc985562240a44dcc6d1c44737ae10870855b7d73b8d1347
MD5 b40e62a2986653a00f6b0761225270e2
BLAKE2b-256 1db59176793941edc216826415b38de3ac051aeada5059d6d19e3044cb207b62

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page