If you are using Yanfly DamageCore you can just reach the Id of your skill with
Code:
item.id
And this
will give you 2 errors 1: the V in value is capitalized and when written correctly it would say invalid left hand side something.
What you thus want is this
Code:
$gameVariables.setValue(5,item.id);
Edit: A quick way to test my example is when you the required plugins installed is selecting your skill and make it do damage without variance and put in this
Code:
<damage formula>
value = item.id;
</damage formula>