I typically start of testing a new plugin I want to develop by using the Run Script sketch dialog and playing around with the code there first. With the new API it seems to me like all of the new functions are not available from this dialog or I am not understanding the documentation clearly. The documentation provides some examples ( which is great, the more the better! ), but it seems like the examples are not 100% correct. For example to create a new artboard the documentation says to call:
name: 'my name',
But doesn't make it clear that you first have to call
var sketch = require('sketch') and then prefix the new component as
Hopefully that provides a little bit more background from an amateur developer like myself!