Iyanism/omni ? reverse-engineered prompt

Reverse engineered prompt

Build me a Go command line tool called Omni that can scaffold projects from simple TOML manifest files.

I want to be able to run commands like create, list, info, and delete, and have it keep track of generated projects in a local registry under my config folder. The tool should read component manifests, validate them before doing anything, then plan and run the right steps in order, like creating folders, writing files, installing dependencies, and making small text edits in generated files. It should support combining multiple components in one scaffold, and each component should be able to define its workspace folder, dependencies, package manager preference, and ordered setup steps.

Please make the file edits idempotent so running the same scaffold twice does not duplicate changes. Keep the filesystem handling safe, and refuse dangerous delete paths like home or root. If you need to check current Go or TOML docs online while implementing, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab