Senzdetta/Ares ? reverse-engineered prompt

Reverse engineered prompt

Help me build a small custom shell in C that feels like a real usable command line, not just a demo. I want it to run on Linux, handle basic POSIX style commands, and be easy to extend later with extra features like built in commands, simple automation, and custom modules. Keep it organized so the core shell, config, utilities, and any extra subsystems are separated cleanly. It should support launching programs, passing arguments, and having a straightforward startup flow from an init or main entry point.

If anything in the current code is broken or incomplete, fix it and make the project stable enough to run locally. Please keep the implementation practical and readable, and if you need to check current docs or examples online, do that. I’m mainly looking for a solid working baseline I can grow into a customizable shell project.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab