You can get these bars by speaking with the signature heroes in the Burthorpe troll cases, including less forms of abilities yet unlocked so that they'll still be where they should be.
There's also an "auto-setup action bar" option on the combat bar cog that does the same - admittedly very hidden but it's been there long as I can remember.
New players also get automatically set up for Revolution with these bars, with action bars bound to weapon types as of the Sept 2019 mobile update.
Certainly room for improvement as the meta keeps evolving, and what's optimal is situational and subjective, but used the optimal bars from the wiki at the time.