generate api doc and test script skeleton