At the beginning of your first main phase, add {B} for each charge counter on this artifact.
{7}, {T}: Destroy target creature. Then put a charge counter on this artifact.
You put the counter on Altar of Shadows even if the creature regenerates.
The precombat main phase is the first main phase of the turn. All others are postcombat main phases, even if they technically occur before combat.