Armor that use Skills in Battle

I want to make an armor piece that automatically uses a predetermined skill after a character wearing that armor performs an action on their turn. How would I go about doing that?
with plugins, and you'll probably need several to do this indirectly, like having the armor create a passive state that gives that ability
As @Andar said, you'd use Yanfly's Buffs & States and Auto Passive States. Put a passive state on the armor, then give that state a notetag from Buffs & States that's triggered at the end of an action to force another action (and toggle a switch so it only happens once a turn).

Then a notetag that goes off at the beginning of each turn to toggle the switch back off.

For example, using switch ID 42 and saying you want them to use skill ID 6 as the followup:
Code:
<Custom Turn Start Effect>
$gameSwitches.setValue(42, false);
</Custom Turn Start Effect>

<Custom Conclude Effect>
if (!$gameSwitches.value(42))
{
    $gameSwitches.setValue(42, true);
    user.forceAction(6, target.index());
    BattleManager.forceAction(user);
}
</Custom Conclude Effect>

Original thread: https://forums.rpgmakerweb.com/threads/armor-that-use-skills-in-battle.173338/