Just Pondering If I can do these Skills

First off, I'm not entirely sure if this is the correct location for my questioning post, but I figured Tutorial might be the best place.
So I will cut right to the chase, I am working on a few abilities for my Rogue class in the game. I have made a stealth ability that changes the form of the rogue and I am just wondering is there a way I could make it so certain abilities can only be used under this Stealth Buff.

I want to make a ambush type of ability that is only usable in Stealth form and when used takes the rogue out of Stealth form. WHILST also being a skill that is purchased using Yanfly's Skill Learn system.

I am also looking to make another sort of ability that you can only use while in Stealth Form BUT doesn't break Stealth form when used, WHILST also being a purchasable ability.

Now I don't know if this is a tall order for a helping hand or something commonly done but any and all help would be appreciated or even a "Yes you can do this." would be helpful. Because right now I am racking my brain trying to figure out if I can do this.

Also if it helps with suggestions on how to do this, I have a LOT of Yanfly's plugins that I am hoping will allow me to do what I'm trying to do.

Again any and all help is much appreciated!
'Tutorials' is where people who have made a tutorial can post it to share with others. As it says on the general description "How do I...?" questions don't belong here.
Moved to: RPGMaker MV
Yes. The difference between the two is the simplest part, just have the skill remove the state when used (in Before Eval). For the requirement, use Lunatic Mode in the Skill Core (yanfly's). Just have it check if the actor has the state as a "cost" but don't execute it as a cost (well, you can for the skill that removes the state). Here's some help on what you can check; http://www.rpgmakercentral.com/topic/36290-damage-formulas-101-mv-edition/
'Tutorials' is where people who have made a tutorial can post it to share with others. As it says on the general description "How do I...?" questions don't belong here.
Moved to: RPGMaker MV
I apologize, that's probably why I don't often make my own posts I'm always fearful it will be in the wrong place. It hopefully won't happen again.
Yes. The difference between the two is the simplest part, just have the skill remove the state when used (in Before Eval). For the requirement, use Lunatic Mode in the Skill Core (yanfly's). Just have it check if the actor has the state as a "cost" but don't execute it as a cost (well, you can for the skill that removes the state). Here's some help on what you can check; http://www.rpgmakercentral.com/topic/36290-damage-formulas-101-mv-edition/
Oh perfect, well I am just happy that I am able to perform the task of what I wanted, like I said last night when I posted this I was sitting in my seat after a long day racking my brain whether I could even do this, then thinking if I could which lunatic mode would I have to dip into. But you cleared it up quite well so using what you have provided. I could make Ambush an ability the player buys with JP and then make it so Ambush only appears in the skills menu once the character has Stealth Buff. All by using state as the cost? I have that correct?

Original thread: https://forums.rpgmakerweb.com/threads/just-pondering-if-i-can-do-these-skills.86604/