You mostly do not need to worry about pitfalls of concurrent processing (races, deadlocks, livelocks, resource sharing, etc.). The fact of cooperative processing takes care of such issues by design.
In your mod's Git repository, run this command to copy the template, then follow the prompts to set it up: uvx copier copy gh:hexdoc-dev/hexdoc-hexcasting-template ...