I have 2 (old) skills in production to which I would like to add custom tasks. The current skill tree is as follows.
$ ls -F <CR>
DirectivesAPL/ index.js node_modules/ package.json
How should I proceed to get to CLI v2. Thanks
Firstly, deploy your skills using CLIv1 and then backup your existing skill directories, put the backups somewhere safe.
The you can install CLI v2 and use it's upgrade-project command to migrate the v1 structure to v2.
The instructions are here (but make sure you perform your own backup and don't rely on the upgrade-project to do it!). Also, make sure you perform a successful deployment of both skills using CLIv1 before you do anything!
However... from your post, you don't show a models/ directory containing any voice models and your index.js file isn't under a "lambda" directory.
Perhaps use the "clone" command from CLI v1 before you migrate to pull down all of the project files which are in the Alexa cloud. Perform this in a directory well away from your existing skills.
14 People are following this question.