added skill.js and tests