Nutlope/aicommits ? reverse-engineered prompt

Reverse engineered prompt

Build me a command line app called AI Commits that looks at my staged git changes and writes a good commit message for me using AI.

I want it to be easy to set up, with a first run setup flow that helps me pick an AI provider, enter my API key, choose a model if needed, and pick a commit style like plain, conventional commits, gitmoji, or subject plus body. It should work from the terminal, let me generate one or a few message options, copy a message to the clipboard, or go ahead and commit for me after I confirm. It should also support excluding files, adding a custom prompt, and skipping hooks when needed.

Please make it support both the normal command line workflow and a git hook so I can just run git commit and have the message suggested automatically. If anything needs current provider docs or API details, look them up online.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab