Building a new Alexa skill involves a lot of work: designing the voice experience, crafting the interaction model, and finally writing the code that brings the skill to life. To help developers on that journey the Alexa Skill Kit Command Line Interface (ASK CLI) makes it easy to start a new skill using a pre-built template.
We want the experience of building a skill using the Jargon SDK to be just as easy. Today we’re pleased to announce that we’ve made available “Jargonized” versions of a number of the Amazon-authored templates to get your new skill up and running with the Jargon SDK.
To make use of these templates:
- Install and setup the ASK CLI
- If you’ve previously installed the CLI please make sure you’re on the latest version by running
npm update -g ask-cli
- If this is your first time using the CLI you’ll need to first run
ask init to configure everything
ask new --url https://s3.amazonaws.com/jargon-templates/ask-nodejs.json
- Select the template you wish to use, and follow the prompts to complete configuring your new skill
Please note that you’ll receive a warning message that the template isn’t from an official source; in order to create the skill from
the template answer “yes” when prompted. The templates include the same hook scripts as the original Amazon templates; these scripts
ensure that the necessary dependencies are installed (via npm) after creating a new project, and prior to deployment.
If you know which template you’d like to use, in step 2 above you can directly provide its URL:
Alternatively, you can clone the template repository instead of using the ASK CLI.
Please file an issue if you’re interested in seeing a template for a different use case, or contact us at firstname.lastname@example.org with any suggestions or feedback you might have.