Elvis Wolcott
Published © GPL3+

Prepare an Alexa Skill

This guide shows you how to prepare an Alexa Skill in just a few minutes.

BeginnerProtip1 hour3,012
Prepare an Alexa Skill

Things used in this project

Hardware components

Echo Dot
Amazon Alexa Echo Dot
Only one of the four options is required.
×1
Amazon Echo
Amazon Alexa Amazon Echo
Only one of the four options is required.
×1
Amazon Tap
Amazon Alexa Amazon Tap
Only one of the four options is required.
×1
Alexa enabled device
Only one of the four options is required. This refers to a device such as an Raspberry Pi with Alexa capabilities.
×1

Software apps and online services

AWS Lambda
Amazon Web Services AWS Lambda
Alexa Skills Kit
Amazon Alexa Alexa Skills Kit

Story

Read more

Code

Sample intent schema

JSON
This works along with the code found in the template the tutorial directs you to.
Sourced from: https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/alexa-skill-tutorial
{
  "intents": [
    {
      "intent": "MyColorIsIntent",
      "slots": [
        {
          "name": "Color",
          "type": "LIST_OF_COLORS"
        }
      ]
    },
    {
      "intent": "WhatsMyColorIntent"
    },
    {
      "intent": "AMAZON.HelpIntent"
   }
  ]
}

LIST_OF_COLORS

Plain text
This is the color slot required for use in the sample. You may add other colors to the list.
green
red
blue
orange
gold
silver
yellow
black
white

Sample utterances

Plain text
This tells Alexa what to trigger when one of the phrases are detected. You can add you own phrases, but make sure to preface them with the corresponding intent name.
WhatsMyColorIntent what's my favorite color
WhatsMyColorIntent what is my favorite color
WhatsMyColorIntent what's my color
WhatsMyColorIntent what is my color
WhatsMyColorIntent my color
WhatsMyColorIntent my favorite color
WhatsMyColorIntent get my color
WhatsMyColorIntent get my favorite color
WhatsMyColorIntent give me my favorite color
WhatsMyColorIntent give me my color
WhatsMyColorIntent what my color is
WhatsMyColorIntent what my favorite color is
WhatsMyColorIntent yes
WhatsMyColorIntent yup
WhatsMyColorIntent sure
WhatsMyColorIntent yes please
MyColorIsIntent my favorite color is {Color}

Credits

Elvis Wolcott

Elvis Wolcott

27 projects • 83 followers
Self-taught app developer and hardware developer.

Comments