This is a personal note on the migration process to port a yt frontend into its own extension package so that it can be developed outside the main code base.
The following structure isn't the only possible one, but it's designed to make migration to the core yt codebase easiest once the frontend is mature and battle tested.
I'll use dummy as a fake frontend name here, just replace it with whatever fits yours. Note that the source directory has to be named yt_<something>
to comply with yt's extensions importing rules.