🚢 Shippy
AI pull-request summaries and reviews, posted straight to your git provider.
shippy is a CLI reviewer for pull requests. It reads the real PR context,
splits large diffs into focused worker groups, asks the configured AI platform
for summary/review output, and publishes clean GitHub updates without comment
spam.
Use it to turn messy PRs into clear title/body updates and one sticky review comment. Today it supports Ollama + GitHub. More AI platforms and Git platforms are the next expansion path.
📌 What It Does
| Workflow | What Shippy Does |
|---|---|
| Summary | Generates a PR title and body from commits, changed files, diff stat, and grouped diff context. |
| Review | Reviews focused file groups in parallel, then merges findings into one sticky Markdown comment. |
| Context | Collects branch/base data, commits, changed files, diff stats, ignored paths, and model settings. |
| Publishing | Updates GitHub through gh; review comments use <!-- shippy-review --> so reruns update one comment. |
🧭 Why It Exists
shippy is not a replacement for human review. It catches the boring and
expensive-to-miss stuff before people spend attention on it:
- risky diffs
- unclear PR intent
- missing tests
- generated-file noise
- accidental large changes
- suspicious cleanup/refactor mistakes
Goal: make every PR easier to understand and safer to ship.
✨ Highlights
| Feature | Detail |
|---|---|
| 📝 PR summaries | Clear title/body updates from actual repository and PR context. |
| 🔍 PR reviews | Finds bugs, risks, missing tests, and concrete cleanup opportunities. |
| 📌 Sticky comments | One GitHub review comment, updated on rerun. |
| ⚡ Split workers | Large PRs are split into focused groups and processed in parallel. |
| 🧹 Ignore rules | Lockfiles, generated files, build outputs, and noisy paths can be skipped. |
| 🛠 CLI-first | Works locally, from scripts, and from release workflows. |
🤖 Supported Platforms
| Type | Supported Now | Planned |
|---|---|---|
| AI platform | Ollama | API-key providers, hosted model APIs, provider presets |
| Git platform | GitHub through gh |
GitLab, Bitbucket, and other review platforms |
🚀 Quick Start
Requirements:
- Python 3.11+
git- GitHub CLI authenticated with
gh auth login - Ollama running locally with a pulled model
ollama serve
ollama pull gemma4:e4b
pip install shippy-ai
shippy init
shippy summary
shippy review
From a local checkout:
uv run -m shippy.cli init
uv run -m shippy.cli summary
uv run -m shippy.cli review
Run Shippy from anywhere inside a Git work tree. It discovers the repository root automatically.
⚙️ Configuration
shippy init creates .shippy.toml at the Git repository root and refuses to
overwrite an existing config.
Minimal shape:
model = "gemma4:e4b"
ollama_url = "http://localhost:11434"
ignores = [
"**/go.sum",
"**/package-lock.json",
"**/dist/**",
"**/build/**",
"**/.next/**",
"**/coverage/**",
"graphify-out/**",
]
[summary]
context_window = 16384
max_group_chars = 32000
max_groups = 12
workers = 4
temperature = 0.1
timeout_seconds = 420
[review]
context_window = 16384
max_group_chars = 32000
max_groups = 12
workers = 4
temperature = 0.05
timeout_seconds = 420
[title]
update = true
enforce_prefix = true
prefixes = ["feat:", "task:", "fix:", "hotfix:", "chore:", "docs:", "refactor:"]
[prompts]
summary_split_group = ""
summary_final = ""
review_split_group = ""
review_final = ""
🧠 Context And Limits
context_windowis provider context per model call.- Shippy tries to send the whole PR to one worker first.
max_group_charsis the diff size cap before Shippy splits into groups.max_group_charsis measured in characters, not tokens.32000diff chars is roughly several thousand tokens for code.- Output caps default to
1024tokens for split-group workers and2048tokens for final synthesis.
Override output caps only when the model needs longer answers:
[review]
split_group_output_tokens = 1024
final_output_tokens = 2048
See the full editable config template here: src/shippy/templates/.shippy.toml.
🧩 Prompt Overrides
Leave prompt fields empty to use Shippy defaults. Set a field to replace that
prompt completely. Use [extra_instructions] to keep the default prompt and
append custom rules.
split_group means: prompt for one chunk of changed files.
Supported prompt tokens:
summary_split_group:{{area}},{{branch}},{{base}},{{ignored_paths}},{{files}},{{diff}}summary_final:{{branch}},{{base}},{{commits}},{{stat}},{{area_summaries}},{{title_prefixes}},{{title_update}},{{title_enforce_prefix}},{{title_shape}},{{title_rules}}review_split_group:{{area}},{{pr_title}},{{pr_url}},{{pr_body}},{{branch}},{{base}},{{commits}},{{stat}},{{files}},{{diff}},{{trim_note}}review_final:{{pr_title}},{{pr_url}},{{pr_body}},{{branch}},{{base}},{{commits}},{{stat}},{{changed_files}},{{diff}},{{area_reviews}},{{trim_note}}
🧪 Commands
shippy init
shippy summary
shippy review
shippy --pr-url "$PR_URL" summary
shippy --config ./custom.toml --pr-url "$PR_URL" review
shippy --help
🧾 Example Review Output
## AI Review
### Verdict
✅ Pass: no blocking issue visible.
### Tests
- Unit tests were not visible in PR context.
🔒 Privacy
Current Ollama + GitHub support talks to:
- your local Git repository
- GitHub through
gh - your configured Ollama server
Your prompt is sent to the AI platform endpoint you configure.
🧰 Development
For contributors cloning this repo, use the root Taskfile:
task prereq
task format
task check
task publish:check
🤝 Contributing
PRs are welcome, especially for:
- more AI platforms
- more Git platforms
- more features
- better usability
- better prompts
- cleaner Git platform comment behavior
- config improvements
- model compatibility fixes
- tests around diff collection and output formatting
Before opening a PR:
task format
task check
task publish:check
📄 License
MIT
Metadata
Release files for shippy-ai 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| shippy_ai-0.1.2.tar.gz | 34.6 kB | With provenance | Details for shippy_ai-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shippy_ai-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for shippy_ai-0.1.2-py3-none-any.whl |
Total release size: 65.4 kB
Release files / shippy_ai-0.1.2.tar.gz
| Download URL | shippy_ai-0.1.2.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c900de89810c691523393966f8ecf2c2f08344357ef48754cf76d855f26f0f25
|
|
BLAKE2b-256 checksum How to use checksums |
d19b25c85503800d056e0382ea067c307a208e96597d0747cad0e40373705e64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.
Transparency logRelease files / shippy_ai-0.1.2-py3-none-any.whl
| Download URL | shippy_ai-0.1.2-py3-none-any.whl |
|---|---|
| Size | 30.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4cf19878cbaf73b102285ddd56f25fdc1843b7c76c325f833f7b729240d24f3
|
|
BLAKE2b-256 checksum How to use checksums |
7e1d1a8e34267045598ef679b1e256cd626e9da765fb78049b064a09375edc88
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.
Transparency logSecurity for shippy-ai 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for shippy_ai-0.1.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.