This repository contains a template for a ZMK module, as it would most frequently be used.
Read through the ZMK Module Creation page for details on how to configure this template.
For more info on modules, you can read through through the Zephyr modules page and ZMK's page on using modules. Zephyr's west manifest page may also be of use.