An open API service indexing awesome lists of open source software.

https://github.com/zackproser/automations

Shell scripts that leverage the latest AI models and github.com/charmbracelet tooling to make your developer workflow buttery smooth and way more fun
https://github.com/zackproser/automations

automation shell-scripts

Last synced: 12 months ago
JSON representation

Shell scripts that leverage the latest AI models and github.com/charmbracelet tooling to make your developer workflow buttery smooth and way more fun

Awesome Lists containing this project

README

          

# Automations

Automations are shell scripts I wrote alongside generative AI, that leverage generative AI to make common developer tasks delightful and efficient.

![Shell automations for productivity and fun](./docs/automations.gif)

## Current automations
* [`autogit`](#autogit)
* [`autoreview`](#autoreview)
* [`autocommitmessage`](#autocommitmessage)
* [`autopullrequest`](#autopullrequest)

## Installation & usage

[Usage guide](./docs/usage.md)

## `autogit`

autogit's goal is to ensure you're always working with the latest code, because even experienced developers forget to `git pull` at the least opportune times.

![autogit is a shell script that handles git fetching, branch pruning and more](./docs/autogit.gif)

[**Read the deep-dive blog post on `autogit`** to learn about everything it can do.](https://www.zackproser.com/blog/autogit-introduction)

## `autoreview`

`autoreview` is a shell script that performs a detailed code review of your stashed git changes.

![Shell automation for automatic local code review](./docs/autoreview.gif)

Here's an example of a code review you'd get back, right in your terminal, so that you can refer to the review while you fix your code in another buffer:

![Example autoreview review output](./docs/autoreview-example.png)

## `autocommitmessage`

Never write "check in latest" ever again. Always get accurate, well-formed git messages that actually record the context of the changes you're making for posterity

![auto git commit message writer](./docs/autocommitmessage.gif)

## `autopullrequest`

[Example pull request opened by this command.](https://github.com/zackproser/sizeof/pull/2)

Reads all the commit messages for commits that exist in your current branch but not in your default branch. Writes a pull request description and title for you, then uses the `gh` tool to programmatically open the pull request for you. Pairs very nicely with `autocommitmessage`.

![autopullrequest](./docs/autopullrequest.gif)

Here's an example of a pull request opened by this automation - in fact, I ran it on this codebase itself to open my most recent pr!

![autopullrequest example](./docs/autopullrequest-example.png)