httpdss/structkit — reverse-engineered prompt
Reverse engineered prompt
Build me a Python command line tool called StructKit that helps people create the same project folder and file layouts over and over from simple YAML files.
I want someone to be able to define folders, files, boilerplate text, and variables in a YAML config, then run a command to generate the project in a target folder. It should support asking for variable values, filling them into templates, pulling file contents from remote places like GitHub or a web URL, and handling existing files safely with options like overwrite, skip, or backup. Add commands to generate a structure, list available structures, validate a config, and preview changes without writing anything.
Please include helpful docs, examples, tests, and a clean Python package setup so it can be installed with pip or run in Docker. Also include support for pre and post generation shell hooks, schema validation for the YAML, and a simple MCP server mode so AI tools can use the same project scaffolding features.
Want more depth? Deep Reverse