MZ State that improves a single skill?

I have been looking but it's kind of difficult to know exactly what to search/look for.

I essentially want to make talents much like MMO's.

Example:
Improved Fireball: Increases critical chance of fireball by 2%. (So not improving the element but the specific skill itself).

I know you can make passives with visustella/yanfly that improves a weapon type so I could make every skill its own weapon type that isnt used on actual weapons. But wondering if there is an easier way?😛

Spoiler: Sword Mastery
<Custom Passive Condition>
// Get all currently equipped weapons for the user.
var weapons = user.weapons();
// Set the swords variable.
var swords = 2;
// Set the initial condition to be false.
condition = false;
// Loop through each of the weapons.
for (var i = 0; i < weapons.length; ++i) {
// Get the currently looped weapon.
var weapon = weapons;
// Check if the weapon exists and if the weapon type ID matches the sword ID.
if (weapon && weapon.wtypeId === swords) {
// Set the condition to be true.
condition = true;
// Break the loop.
break;
}
}
</Custom Passive Condition>

Can you do something similar with skills? If not then I suppose I'm requesting a plugin that can.

Original thread: https://forums.rpgmakerweb.com/threads/state-that-improves-a-single-skill.146573/