sadkodev/gitsc ? reverse-engineered prompt

Reverse engineered prompt

Build me a Rust command line tool called gitsc that looks at my staged Git changes and generates a clean commit message for me.

I want it to work from the terminal with one simple command, and it should make a sensible message based on the actual diff, not just a generic summary. Please support standard commit styles like Conventional Commits and Angular style, and let me customize the final format with a template in a config file. I’d also like it to support different AI providers, with config for choosing the provider and model, and if a Redis URL is set it should cache responses so it does not keep calling the AI for the same thing.

Make debug mode show useful info like cache hits and misses, AI timing, and diff details. If the diff is large, handle it intelligently and split it into smaller meaningful commits in interactive mode. Keep it simple to use, read config from the usual config path, and make sure it works well as a polished Rust CLI app. If you need to check current docs for any provider integration, go ahead and look them up.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab