Automatic Revive

Hello everyone! So today I wanted to create a skill that when used on an ally, when they die they will be revived automatically with 1 health and for the effect to be removed right after. I have Yanfly's core's and I've attempted a couple of things but I haven't been able to get it right yet.
Have you checked this?
...bruh... I searched up so many terms and variations before I posted this thread, I even watched like 5 similar yanfly tips and tricks... yet here you are giving me literally to an exact T what I wanted.

Thanks so much! xD

Original thread: https://forums.rpgmakerweb.com/threads/automatic-revive.140194/