An easy to use Amazon Alexa Skill Boilerplate for fast skill creation
For In-Depth Explanation on how to use this check out my blog post
- Clone the repository:
$ git clone https://github.com/acucciniello/alexa-skill-boilerplate.git
- Install all packages:
$ yarn
- Start Adding Intents to your skill by editing
app.js
.
This uses mocha
for a testing framework, chai
for an assertion library, and bespoken-tools
to mock Alexa behavior
$ yarn test
This command will deploy it to lambda given you have sent up your environment for Claudia usage.
In order to have this properly set up:
- Create a folder in your user’s home directory on your computer
$ mkdir ~/.aws && cd ~/.aws
- Create a file called credentials
$ touch credentials
- Edit that file to have your AWS Credentials
[claudia]
aws_access_key_id = ACCESS_KEY_ID_FROM_AWS_PAGE
aws_secret_access_key = SECRET_KEY_FROM_AWS_PAGE
- Deploy to Lambda
$ yarn deploy
Once deployed, you can update your lambda function with:
$ yarn upload
MIT