Improving skills learned from traits rather than classes' levels

If you learn a skill via a trait like from a weapon's trait, rather than from the classes, can you use Yanfly's plugins to improve the skill's mastery or upgrade the skill to a new skill even if you switch like weapons with the trait temporarily and switch the weapons back?
Yes. If you have mastery progress in a skill gained from a weapon, you'll retain the mastery progress if you unequip it and reequip it later.
Ah, great, sir! Thanks!

Original thread: https://forums.rpgmakerweb.com/threads/improving-skills-learned-from-traits-rather-than-classes-levels.159265/