Shirei's ability only triggers if the creature's power immediately before leaving the battlefield is 1 or less, regardless of its power in your graveyard.

Artwork
Loading artwork…
Shirei, Shizo's Caretaker
Commander Masters · #186 · EN
Nonfoil—Foil—
Card rules
Whenever a creature with power 1 or less is put into your graveyard from the battlefield, you may return that card to the battlefield at the beginning of the next end step if Shirei is still on the battlefield.
2/2
Uncommon · Illustrated by Wayne Reynolds
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
Shirei's ability triggers if a creature you own with power 1 or less dies under another player's control.
If Shirei leaves the battlefield and returns to the battlefield after a creature with power 1 or less is put into your graveyard, Shirei is considered a new object. The delayed triggered ability won't return the creature to the battlefield.
Shirei's ability can't return any creatures that died before Shirei entered the battlefield.