Here is a simple list of all my macros that I currently use in World of Warcraft: Shadowlands.

Generic Macros

Clear Action Bar Macro

This macro will remove any Spells and Macros on your action bars, use with caution.

/run for i = 1,120 do PickupAction(i) ClearCursor() end
Focus Macro

This macro will set your current target as your focus without pressing any modifier. You can mouseover a target and press the alt modifier to set it in focus. Pressing the shift modifier will clear the focus target.

/focus [nomod]
/focus [mod: alt, @mouseover]
/clearfocus [mod: shift]
Upper Trinket Macro

This macro will let you use your upper slot trinket.

#showtooltip
/use 13
Lower Trinket Macro

This macro will let you use your lower slot trinket.

#showtooltip
/use 14

Death Knight Macros

Asphyxiate Macro

Without pressing any key modifier, this macro will Asphyxiate your current target. While pressing the alt modifier it will Asphyxiate your focus target.

#showtooltip
/cast [mod:alt, @focus] Asphyxiate; Asphyxiate
Chains of Ice Macro

Without pressing any key modifier, this macro will Chains of Ice your current target. While pressing the alt modifier it will Chains of Ice your focus target.

#showtooltip
/cast [mod:alt, @focus] Chains of Ice; Chains of Ice
Death Grip Macro

Without pressing any key modifier, this macro will Death Grip your current target. While pressing the alt modifier it will Death Grip your focus target.

#showtooltip
/cast [mod:alt, @focus] Death Grip; Death Grip
Dark Transformation

If your pet is alive this macro will cast Dark Transform. If your pet is currently not alive it will make sure to cast Raise Dead first. This will also turn on Claw back to auto-cast in case you disabled it previously for pulling energy.

#showtooltip
/use [nopet] Raise Dead; Dark Transformation
/petautocaston Claw
Gnaw Macro

Without pressing any key modifier, this macro will Gnaw your current target. While pressing the alt modifier it will Gnaw your focus target. If your pet is currently not alive it will make sure to cast Raise Dead first.

#showtooltip 
/cast [nopet] Raise Dead 
/cast [mod:alt, @focus] Gnaw; Gnaw
Raise Ally Macro

You can cast Raise Ally on a mouseover target, and you can also use it on a selected target.

#showtooltip
/cast [@mouseover, exists] Raise Ally; Raise Ally
Outbreak Macro

This will force your pet to attack the target that you use Outbreak on.

#showtooltip Outbreak
/cast Outbreak
/petattack
Wraith Walk & Death Pact Macro

Will use Wraith Walk or Death Pact depending on which talent you selected.

#showtooltip
/cast [talent:5/2] Wraith Walk; [talent:5/3] Death Pact
Damage Cooldowns Macro

No matter what specialization you’re playing it will use your main damage cooldown.

#showtooltip
/cast [spec:3, talent:7/2] Unholy Frenzy; [spec:3, talent:7/3] Summon Gargoyle
/cast [spec:2] Empower Rune Weapon
/cast [spec:1] Dancing Rune Weapon