No results found
October 02, 2018Sohan Maheshwar
We recently launched quick-start templates to help new and experienced skill developers get started faster when building a fact skill, quiz skill, or high-low game skill. Each template comes with an interaction model and default endpoint and provides pre-set intents, slots, and prompts.
If you're new to skill building, quick-start templates are a great way to learn how a skill works as you build your first voice experience. Every skill has a voice user interface (VUI) and a back end that consists of the programming logic. The quick-start template is automatically configured with the interaction model that makes up the VUI as well as the endpoint that provides the back-end code for the skill. You can modify the VUI to add more intents, slots, and prompts. You can also change the endpoint to your own AWS Lambda function or custom back end once you have designed your VUI. Check out our technical documentation for step-by-step instructions to get started.
Currently there are three quick-start templates to currently choose from. Here we provide an overview of each one and tips for using them:
Fact Skill Template
The fact skill template comes with one custom intent, four built-in intents, and no slot values. If you’re a new Alexa developer, the template is helpful to understand the various parts that make up a skill. In the Build tab, you can check out the invocation name, intents, and endpoint of your skill. Clicking on the intent will display all the corresponding utterances and slots (if any) that invoke your intent. Don’t forget to click on “Save Model” and then “Build Model” to build your interaction model.
Once you’ve built your interaction model, click on the Test tab to interact with the Space Facts skill using the Alexa simulator. Try different utterances using the invocation name to see the matching intent.
Invoking the skill shows the LaunchRequestIntent, whereas using a one-shot invocation invokes the GetNewFactIntent.
Quiz Game Template
This template has one custom intent with one slot and six built-in intents. The quiz game template has the AMAZON.StartOverIntent that lets the customer request to restart an action, such as restarting a game, transaction, or audio track. Make sure you Save and Build Model before testing the skill. Say “open quiz game and start a quiz” to test the template out. You can say “start over” or “restart” to test out the invoking of the AMAZON.StartOverIntent.
High-Low Game Template
This template has two custom intents with five slots and five built-in intents. One of the built-in intents is the AMAZON.FallbackIntent, which is an intent that helps you handle unexpected utterances, or when a customer says something that doesn’t map to any intents in your skill.
Start interacting with the game by saying “open high low game.” Try out the different utterances to guess a number (such as, “Is it fifty one”). Note that if you use numerals in your text (such as, “Is it 51”), the simulator will display invoking the FallbackIntent as numerals are converted to words during the speech-to-text conversion while using Alexa.
Whether you’re building your first or your fifth skill, the quick-start templates can help you learn and implement several voice design best practices.
Bring your big idea to life with Alexa and earn perks through our milestone-based developer promotion. US developers, publish your first Alexa skill and earn a custom Alexa developer t-shirt. Publish a skill for Alexa-enabled devices with screens and earn an Echo Spot. Publish a skill using the Gadgets Skill API and earn a 2-pack of Echo Buttons. If you're not in the US, check out our promotions in Canada, the UK, Germany, Japan, France, Australia, and India. Learn more about our promotion and start building today.