Create or update your skill using the ASK Skill Builder (beta) button from the
Alexa Skills Console.
Make sure to save & build any changes you make.
Step 2 - Copy the Skill Builder Interaction Model
Within Skill Builder (beta), click on the 'Code Editor' view in the left nav. Copy the entire model JSON, and paste it into the left hand window above, labeled 'Language Model JSON'.
Review the Options panel and update as necessary.
Click the 'Generate' button to generate your Node.JS scaffolding code.
Default handler functions will be created for each of your Intents.
Step 3 - Create new AWS Lambda function
Login to the AWS Lambda Console,
and create a new function based on the alexa-skill-kit-sdk-factskill blueprint.
Give your function a unique name.
Choose a role such as 'lambda_basic_execution', and click Create Function.
Step 4 - Update function code
Within your function, click on the Configuration Tab and scroll down to the Function Code panel.
Select All the contents of the index.js source file. Paste over this with your generated code,
copied from the above panel .
Step 5 - Configure and Test
Paste the ARN from your Lambda function into the skill configuration tab in the ASK portal.
Go to the test tab or use a device connected to your dev account to test the skill.
You should be up and running pretty quickly. For additional tutorials on creating skills,
Step 6 - Customize
The generated code will simply reflect back to the user the Intent name and any slot values.
You will need to change the responses and add your own logic, to implement a high quality skill.