Note: if you've never used a macro, here's a quick overview on how to do it.
* Go to <Name>-specific Macros (unless you have multiple hunters).
* Name your macro--this can be anything you want.
* Pick an icon. The Spirit Beast's heal icon, for example, is one scroll-up tick from the bottom of the icon menu.
* Enter the macro commands into the box that says, well, "Enter Macro Commands:".
* Drag the icon down onto your bars! You're done.
Note: You need to pick an icon for pet-skill macros. Normally the first line of most macros, #showtooltip, will pick the correct icon for you--but when a pet is away, the game seems to tend to forget what the pet's spell was, leaving the icon as a black box with a red ? until the pet is resummoned. If you don't mind this then you can just leave the icon untouched when you make the macro, which will show the correct icon when the pet is out but not otherwise.
On to the macros! These macros (bar the first Simple one) use a pet ability on you, OR on your Focus target with a Shift modifier (so if you click/press the macro with Shift held, it will use the ability on the Focus). You can change the modifier by changing "Shift" to "Alt" or anything else you like.
[/center]Simple Spirit Mend Macro: This is for soloing/questing. It just uses Spirit Mend on you. Requires Spirit Beast
#showtooltip Spirit Mend
/cast [target=player] Spirit Mend
[/center]Roar of Sacrifice: Uses Roar of Sacrifice on you, or on your Focus target using a Shift modifier.
#showtooltip Roar of Sacrifice
/cast [modifier:shift, target=focus] Roar of Sacrifice; [nomodifier, target=player] Roar of Sacrifice
Roar of Sacrifice is a Cunning-talented ability that makes the friendly target immune to critical strikes for 12 seconds, but causes 20% of that target's damage taken to also be taken by the pet.
[/center]Master's Call: Uses Master's Call on you, or on your Focus target using a Shift modifier.
#showtooltip Master's Call
/cast [modifier:shift, target=focus] Master's Call; [nomodifier, target=player] Master's Call
Master's Call frees a friendly target AND the pet from roots and snares and makes you both immune for 4 seconds. As of next patch it will have a 35 second cd and a 40-yard range, rather than the current 1 minute/25 yards.
[/center]Spirit Mend: Heals you or a Focus target using a Shift modifier. Requires Spirit Beast
#showtooltip Spirit Mend
/cast [modifier:shift, target=focus] Spirit Mend; [nomodifier, target=player] Spirit Mend
Final note:
Be aware that if you attempt to leave your PET on focus for Spirit Mend, the focus will clear every time you resummon your pet. This means every time you mount/dismount, you will lose the focus. You can fix this if you intend to ONLY use your pet as Focus by adding an extra macro line with /focus <Pet Name> after the #showtooltip line.

