Find a base of your same TH level, which has no more than 1 gap inside the base in which a giant bomb could be. If you are not in war, make sure that there's good loot/trophies available. The hog rider attack costs a lot of dark elixir.
If possible, lure out the clan castle troops with a barbarian or giant. If not possible that way, use a hog rider. If the units that come out all have a housing space of 4 or less, go to step 3. If they have a housing space of 5 or more, skip to step 5. If there's no clan castle troops, skip to step 6.
If you are a TH 8 and don't have a poison spell, or are a TH 7, skip to step 4. Drop a poison spell on the troops and wait. They should get taken out. Skip to step 6.
Lure out the troops with archers, and then use barbarians and/or archers to take them out. If needed, use a wizard or two, but save the rest. Skip to step 6.
Lure our the troops with archers, and then use barbarians and/or archers to take them out. Deploy wizards behind, and the clan castle troops should get taken out easily.
Decide from where you want to attack. Try to attack from the side opposite the barbarian king. Deploy a single hog rider first to check for traps, and then deploy all of your hog riders on a single line.
If there is no giant bomb hole in the base, skip to step 8. Save a heal spell for the giant bomb hole. Use your other one to help your hog riders fight a wizard tower. If your hogs reach the hole, and the giant bomb is about to explode, use your heal spell. If there is no giant bomb, then you can save your second heal spell for another wizard tower. Skip to step 9.
When your hog riders are facing wizard towers, use your heal spells to keep them up.
By the time about 40% of the defenses have been taken out, use your barbarian king and clan castle troops (if any) to clean up outside structures.
If there is no barbarian king defending, then skip to step 11. When your hogs get in the barbarian king's range, use the rage spell. Skip to step 12.
Use your rage spell around a group of defenses to speed up your attack.
Your hog riders should take out all of the defenses, and you should get 3 stars.
(No execution notes)
This is a really strong strategy. Try it. You should get 3 stars in most of your attacks. If you don't, then level up your troops and try again, or try another popular attack strategy.