gsc-dx
v1.0.3
Published
A smart git wrapper that adds shorthand commands for add/commit/push with optional AI-enhanced commit messages.
Readme
gsc-dx
Simple git commits with AI-generated messages from your actual staged changes.
gsc uses the authenticated claude CLI first, then falls back to the authenticated
codex CLI. It reads the git diff, generates a commit message, and runs the git
commands for you.
Install
npm install -g gsc-dxThis installs the gsc command.
Basic workflow
gsc add runs git add . and commits everything with an auto-generated
message based on what was actually edited:
gsc addTo commit and push, stage with git add . first, then run gsc push:
git add .
gsc pushCommands
| Command | What it does |
| --- | --- |
| gsc add | Runs git add ., generates a commit message from the diff, and commits. |
| gsc push | Generates a commit message from staged changes, commits, and pushes to the current branch. |
| gsc push --<branch> | Same as gsc push, but pushes to the named branch instead. |
| gsc help | Prints command help. |
Examples
Commit everything:
gsc addStage, commit, and push:
git add .
gsc pushPush to a specific branch:
git add .
gsc push --devAI message generation
gsc does not need an API key. It uses whichever CLI is already installed and
authenticated:
claude -pcodex
If neither CLI is available, gsc will stop before committing.
