soulpet skils are very easy as far as i took a look on them.
It starts with the summonresource. skilltree1_id /skilltree2_id etc are linking o the skilltreeresource (skilltreeid)
And if the skill_group_id != 0, it's linking to the summonrandomskill (skill_group_id = sid of summonrandomskill)
In summonrandomskill the use_code is the count of the avaible skills to learn and the skill_id_1 - 15 are the possible skills, wich the creature can learn
if for example skill_id_1 - 12 are filled, the use_code have to be 12.
All other "fixed" skills are still stored in skilltreeresource with skill_group_id = 0.
If i made a mistake, correct me.