automations icon indicating copy to clipboard operation
automations copied to clipboard

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

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

Current automations

  • autogit
  • autoreview
  • autocommitmessage
  • autopullrequest

Installation & usage

Usage guide

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

Read the deep-dive blog post on autogit to learn about everything it can do.

autoreview

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

Shell automation for automatic local code review

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

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

autopullrequest

Example pull request opened by this command.

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

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