VSTS DevOps Task SDK
Libraries for writing Visual Studio Team Services build and deployment tasks

Reference examples of our in the box tasks are here
Typescript Tasks
Cross platform tasks are written in Typescript. It is the preferred way to write tasks once.

Step by Step: Create Task
Documentation: Typescript API
Reference Examples
The ShellScript Task and the XCode Task are good examples.
Contributing
Node
Once:
$ cd node
$ npm install
$ sudo npm install tsc -g
Build and Test:
$ npm test
Set environment variable TASK_TEST_TRACE=1 to display test output.