Awesome
<p align="center"> <img src="https://m.media-amazon.com/images/G/01/mobile-apps/dex/avs/docs/ux/branding/mark1._TTH_.png"> <br/> <h1 align="center">Alexa Skills Kit SDK for Node.js</h1> </p>The ASK SDK v2 for Node.js makes it easier for you to build highly engaging skills by allowing you to spend more time on implementing features and less on writing boilerplate code.
The ASK SDK Controls Framework (Beta) builds on the ASK SDK v2 for Node.js, providing a scalable solution for creating large, multi-turn skills in code with reusable components called controls.
The ASK SMAPI SDK for Node.js provides developers a library for easily interacting with all Skill Management APIs (SMAPI), including interaction model, intent request history, and in-skill purchasing APIs.
Package Versions
Package | NPM |
---|---|
ask-sdk | |
ask-sdk-core | |
ask-sdk-dynamodb-persistence-adapter | |
ask-sdk-runtime | |
ask-sdk-s3-persistence-adapter | |
ask-sdk-v1adapter | |
ask-sdk-express-adapter | |
ask-smapi-sdk | |
ask-sdk-local-debug |
Alexa Features Supported by SDK
- Amazon Pay
- Audio Player
- Display – Body templates for devices with a screen
- Gadgets Game Engine – Echo Buttons
- Directive Service (Progressive Response)
- Messaging
- Monetization
- Video
- Device Address
- Lists
- Request for customer contact information
- Obtain customer settings information
- Account Linking
- Entity Resolution
- Dialog Management
- Location Services
- Reminders
Preview Features
The following features are released as public preview. The interfaces might change in future releases.
Technical Documentation
Models
The SDK works on model classes rather than native Alexa JSON requests and responses. These model classes are generated using the Request, Response JSON schemas from the developer docs. The source code for the model classes can be found here.
Samples
Hello World
Sample that familiarizes you with the Alexa Skills Kit and AWS Lambda by allowing you to hear a response from Alexa when you trigger the sample.
Hello World (Controls framework)
Sample that familiarizes you with the Controls framework, allowing you to hear a response from Alexa when you trigger the skill.
Fact
Template for a basic fact skill. You’ll provide a list of interesting facts about a topic, Alexa will select a fact at random and tell it to the user when the skill is invoked.
How To
Template for a parameter-based skill called 'Minecraft Helper'. When the user asks how to craft an item in the game Minecraft, the skill provides instructions.
Trivia
Template for a trivia-style game with score keeping. Alexa asks the user multiple-choice questions and seeks a response. Correct and incorrect answers to questions are recorded.
Quiz Game
Template for a basic quiz game skill. Alexa quizzes the user with facts from a list you provide.
City Guide
Template for a local recommendations skill. Alexa uses the data that you provide to offer recommendations according to the user's stated preferences.
Pet Match
Sample skill that matches the user with a pet. Alexa prompts the user for the information it needs to determine a match. Once all of the required information is collected, the skill sends the data to an external web service that processes the data and returns the match.
High Low Game
Template for a basic high-low game skill. When the user guesses a number, Alexa tells the user whether the number she has in mind is higher or lower.
Decision Tree
Template for a basic decision tree skill. Alexa asks the user a series of questions to get to a career suggestion.
Fruit Shop (Controls framework)
Build a multi-modal grocery shopping skill using custom and library controls for item lists, shopping cart management, and checkout.
Device Address API
Sample skill that shows how to request and access the configured address in the user’s device settings.
Audio Player
Project that demonstrates how to use the audio player for skills.
Other Language Alexa Skills Kit SDKs
<a href="https://github.com/alexa/alexa-skills-kit-sdk-for-java"><img src="https://github.com/konpa/devicon/raw/master/icons/java/java-original.svg?sanitize=true" width="25px" /> Alexa Skills Kit SDK for Java</a>
<a href="https://github.com/alexa/alexa-skills-kit-sdk-for-python"><img src="https://github.com/konpa/devicon/blob/master/icons/python/python-original.svg?sanitize=true" width="25px" /> Alexa Skills Kit SDK for Python</a>
Got Feedback?
Request and vote for Alexa features here!