Requiring a skill to use a spell

So, I want to require certain skills in order for the player/NPC to us certain spells.
For example: I have the [Fire Magic] skill, and want to require it for all of my fire spells (Ember, Flaming Arrow, Fireball, etc).
I'm using RMMV, and feel like this should be super simple, but I'm not sure how to do this.
Thank you in advance!
does that have to be a skill?

because by default that is handled by skill type. If all fire skills are of the type "fire magic" then you would have to have that trait to use any fire magic skill.

Other than that there is no default condition between any skill, you would have to create them with a plugin - either a skill plugin that adds skill requirements, or a skill tree plugin, or an evented skill tree (possible but requires more work).
Arn't there scripts for subskill types?
Unless you go with Andar's suggestion, you will need a plugin for this.

I've moved this thread to JS Plugin Requests. Thank you.

does that have to be a skill?

because by default that is handled by skill type. If all fire skills are of the type "fire magic" then you would have to have that trait to use any fire magic skill.

Other than that there is no default condition between any skill, you would have to create them with a plugin - either a skill plugin that adds skill requirements, or a skill tree plugin, or an evented skill tree (possible but requires more work).
Actually, this should work perfectly this way, I think. Thank you!
I would like to leave this open until I confirm that it does everything I'm interested in it doing.

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/requiring-a-skill-to-use-a-spell.122968/