behnamazimi/samecmd ? reverse-engineered prompt
Reverse engineered prompt
Build me a small command line tool that makes every project feel the same from the terminal.
When I’m inside a repo, I want to be able to type short commands like dev, build, test, fmt, lint, and typecheck, and have it automatically run whatever that project uses underneath, whether that’s pnpm, npm, Bun, Cargo, Go, Makefile, Python, Gradle, Maven, or Docker compose. It should detect the project by the files in the folder, and it should pass through extra arguments too.
I also want a samecmd.yml option for custom commands or overrides when auto detection is not enough, plus a way to trust or distrust a project before running commands from that file. Make it work from the shell after setup, so commands just start working when I cd into a repo. Add helpful commands like list, why, setup, and a dry run mode so I can see what would run without actually running it. If you need to, look up current docs online while building it.
Are you gonna build this?
make sure you review the code using coderabbit