WIll the experts fix these for me?

If anyone wouldn’t mind helping me clean these up improving the code I’d really appreciate it. I keep it simple and I think the intents clear on these but feel free to dress them up and add function if you notice a better way. Sorry for the noobness I don’t often need to write macro’s I normally can find what I want and just modify it a bit but it’s patch time…

Skull bash is working, but rakes not for some reason and it performs really poorly. Upon testing it normally uses the wrong ability/and or doesn’t target.

#showtooltip
/targetnearestenemy
/cast shred
/cast [mod:alt] rake
/cast [mod:shift] skull bash

These two macros I have on my mouse wheel up/down respectively. They are both kind of buggy occasionally casting the wrong ability and could use some clean up. Ideally I’d like to combine it in to one macro if it’s possible.

#showtooltip
/cast prowl
/cast [mod:shift] cat form
/cast [mod:alt] bear form

#showtooltip
/cast travel form
/use [mod:shift] Swift mistsaber

Thanks for any help or improvement suggestions.

I’d change /targetnearestenemy to something like /targetenemy [nodead][noexist][noharm]
The rake not working could be because you have something binded to alt + 1/2/3/4 so check keybindings. I noticed you don’t have any rip in there?

Here are some of the random small macros i made for my druid over the time i’ve played, maybe you will find something useful

To escape getting ganked as a night elf:
#showtooltip shadowmeld
/castsequence [flyable] reset=3 shadowmeld,travel form,null
/castsequence [noflyable] reset=3 shadowmeld,prowl,null

Ultimative travel form AND get out of roots in combat no matter which stance i am:
#showtooltip
/cancelform [flying]
/cast [swimming,nocombat] Travel Form; [indoors,nocombat] Cat Form;[flyable,nocombat,noflying] Travel Form;[nocombat] Azure Water Strider
/dismount [mounted]
/cast [nostance] Cat Form
/cast [stance:1,combat] !Bear Form
/cast [stance:2,combat] !Cat Form
/cast [stance:3,combat] !Travel Form