When I do hs fetch and download a theme that I’ve created from the developer file system, I notice that my modules are downloaded as directories with a .module suffix, like Banner.module.
Can I also create a new module locally by adding a directory in my /modules folder, such as ProfileSection.module ?
If so, how do I come up with the necessary ids like the module_id in meta.json and the id attributes needed for fields in the fields.json file?