Each pet has 3 abilities it can use during a battle, but a total of 6 to choose from. They will also have a total of 3 active spell slots that show which abilities can be used during a Pet Battle. The first spell slot will already be unlocked, but the second and third will only become available once the companion has reached a certain level. Other spells will also unlock after reaching higher levels.
Most people come here not to read walls of text, they look for the better-rated strategies that match their pet collections, copy&paste stuff they need to import into their addons and only come back if something goes horribly wrong and then mostly to find help in other peoples' comments who also struggled or to find a different team/strategy: I don't think many people wanna read about stuff that already happened to them, they mostly want to see solutions and it's the best way to have them in a well-optimized strategy&team already.