Try to mimic existing summoning spells.
The logic is that it create a Mob using the NPCTemplate in some spell field (I don't remember which)
Then you can create a custom NPCTemplate to have your own custom pet and give him skills, spells, styles, and hope DOL knows how to handle these skills
You can copy Mobs or other Pets Template to have example NPCTemplate...