@335g/pi-git
Git utilities extension for pi-coding-agent
Package details
Install @335g/pi-git from npm and Pi will load the resources declared by the package manifest.
$ pi install npm:@335g/pi-git- Package
@335g/pi-git- Version
0.0.4- Published
- Jun 7, 2026
- Downloads
- 76/mo · 76/wk
- Author
- 335g
- License
- MIT
- Types
- extension
- Size
- 202 KB
- Dependencies
- 1 dependency · 3 peers
Pi manifest JSON
{
"extensions": [
"./dist/index.js"
]
}Security note
Pi packages can execute code and influence agent behavior. Review the source before installing third-party packages.
README
pi-git
Git utilities extension for pi-coding-agent.
Provides slash commands to automate and streamline git workflows within pi.
Installation
From npm (recommended)
pi install @335g/pi-git
Or add to your project's package.json:
{
"dependencies": {
"@335g/pi-git": "^0.0.4"
}
}
As a local extension (development)
pi -e ./src/index.ts
From local package (development)
pi install /path/to/pi-git
Commands
| Command | Description |
|---|---|
/git-agg-commit |
Auto stage and commit changes with AI-generated Conventional Commits messages |
/git-auto-agg-commit |
Toggle automatic git-agg-commit after assistant responses |
/git-config |
Get, set, or list pi-git configuration values |
/git-agg-commit
Automatically analyzes the working tree diff, splits changes into logical hunks, generates Conventional Commits style messages, stages files, and creates commits — all in one shot.
/git-agg-commit [--lang=<code>]
/git-auto-agg-commit
Toggles automatic git-agg-commit after assistant responses. When enabled, uncommitted changes are automatically committed when the assistant finishes responding.
/git-auto-agg-commit [on|off|toggle]
/git-config
Gets, sets, or lists pi-git configuration values. Supports global (~/.config/pi-git/settings.json) and local (<repo-root>/pi-git.toml) scopes.
/git-config <key> [value] [--global] [--list] [--show-origin] [--keys] [--models] [--help]
Documentation
For detailed usage, options, keybindings, and behavior specifications, see:
Requirements
- pi-coding-agent
- Git repository
- Active AI model with API key configured (for hunk analysis)
License
MIT