Step 3 - Building an Alexa skill with ASK CLI

We can build an Alexa skill by going through the following steps:

  1. Prepare the skill manifest JSON file, as shown in the following code:
{    "manifest": {        "publishingInformation": {            "locales": {                "en-US": {                    "summary": "A simple skill to say introduction for someone",                    "examplePhrases": [                        "Alexa please say intro",                        "say intro",                        "help"                    ],                    "name": "self-intro",                    "description": "Simple Intro Skill"                }            },            "isAvailableWorldwide": true,            "testingInstructions": "1) Say 'Alexa, say intro'.",            "category": "ORGANIZERS_AND_ASSISTANTS",            "distributionCountries": []        },        "apis": {            "custom": {                "endpoint": {                    "uri": "arn:aws:lambda:us-east-1:<account id>:function:lambda-alexa-simple-intro"                }            }        },        "manifestVersion": "1.0" ...

Get Serverless Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.