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.0.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.0-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: commitwise_review-0.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 ed96d09b673c16aa3242652c0c4c28ac77106aa66499deb7c3b170c4aba25ff6
MD5 40962166a70690d9b10b956453205488
BLAKE2b-256 65e44099631c36aa24c86eceffe05e9fea332cb149e66c7cb0b57bc31b6cd891

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for commitwise_review-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 068ec293995f88cb9d5b528b22206cc440f4dc9c0873a20dac944cd144319e39
MD5 4520f0cabf0560ae31075d1fa511533d
BLAKE2b-256 a08c53960602654a30ce6b4e0df3e0f3da27e28b734d1dacb356de73f68550ad

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