At the Core root, inspect php cli/c2f.php module:create --help and run php cli/c2f.php module:create my-module [--table=my_table]. The command normalizes the id to lowercase kebab case; the default table name uses underscores. If gestor/modulos/<id>/ exists, it returns an error instead of overwriting it.
The scaffold writes <id>.php, <id>.json, <id>.js and pt-br/en resources (pages and variables). Before publishing, review the controller and generated operations, including permissions, validation, CSRF, history and table names. Scaffolding does not replace functional review. Use menus as a real module example and resources for compilation.
Define pages and links under resources/<language>/ and the module JSON. Then, in the Core development flow, run the local php cli/c2f.php manager:update-all pipeline. Runtime reads pages and styles from the database after updating. Review compiler orphan reports before treating the module as available.