buildwithflux/kicad-module-parser ? reverse-engineered prompt

Reverse engineered prompt

Build me a small tool that can read KiCad board and module files and turn them into JSON or YAML. I want both a command line version and a simple JavaScript API, so I can run it on a .kicad_pcb or .kicad_mod file, choose the output format, and save the result next to the original file or to a path I pick.

The output should be easy to work with for scripts and other tools, and it should support a few different ways of organizing the data so I can pick the one that fits best. If some KiCad parts are not supported yet, that’s okay, just make those cases clear instead of failing silently.

Please include a help message for the CLI, basic examples in the README, and make it easy to install and use locally. If you need to check current docs or examples online, go ahead.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab