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.

Artwork
Loading artwork…
Altar of Shadows
Mirrodin · #143 · EN
Nonfoil—Foil—
Card rules
At the beginning of your first main phase, add
for each charge counter on this artifact.
7,
: Destroy target creature. Then put a charge counter on this artifact.
Rare · Illustrated by Sam Wood
Format legality
Commander Legal
Duel Legal
Legacy Legal
Modern Legal
Oathbreaker Legal
Penny Legal
PreDH Legal
Vintage Legal
Alchemy Not Legal
Brawl Not Legal
Competitive Brawl Not Legal
Future Not Legal
Gladiator Not Legal
Historic Not Legal
Old School Not Legal
Pauper Not Legal
Pauper Commander Not Legal
Pioneer Not Legal
Premodern Not Legal
Standard Not Legal
Standard Brawl Not Legal
Timeless Not Legal
Tlr Not Legal
Rulings
Published rulings from the downloaded Scryfall catalog. Source card record · Rules and interactions
You put the counter on Altar of Shadows even if the creature regenerates.