I'm quite random...
1) List all slots. Perfectly 12 types. Roll 1d12 to decide a type.
2) Roll 1d3 to pick up a spell list, 1 for Wizard/Sorcerer's, 2 for Cleric's, 3 for Druid's. What? Bard's?!
3) Roll 1d9 to pick up a level. Roll or choose a spell from that level.
4) Using the same method to randomly pick up another spell.
5) Try hard to put the type and two spells together...yepp, that does not work.
6) Change the slot type or spells or whatever makes the item usable and useful. If I couldn't, then I just roll another group.
7) Look for spells more suitable for the purpose of the item. Write it down.
8) Ask someone to check my bad English grammar.
Randomly generated magic item...