Introducing "Hero Trivia": Your First Alexa Skill
Explore the process of building your first Alexa skill by creating Hero Trivia, a voice app that shares superhero facts. Understand how to plan user conversations, write scripts that handle varied interactions, develop the voice user interface, code backend logic, and test your skill. This lesson guides you through designing natural dialogues, handling unexpected user inputs, and preparing your skill for certification and store listing.
It’s time to start building our first Alexa skill! We hope you are as excited as we are. Before we get started, it’s essential to understand what the app is all about. Let’s take a look.
Introduction
The Hero Trivia Alexa Skill will allow users to hear some interesting trivia about their favorite comic book superheroes simply by asking Alexa.
Once we’re done with this chapter, our first Alexa Skill will say:
“Here’s a superhero trivia: Bruce Wayne has an IQ of 192, beating out both Stephen Hawking and Albert Einstein. You can say, ‘tell me a superhero trivia,’ to hear another one.”
Let’s start by understanding the process for building Alexa Skills.
Process for building Alexa Skills
Alexa Skills are simple to use but can be slightly complex to build. The responsibility is on us, the Skill builders, to make the user interaction natural and straightforward.
It’s always great to have a process when building a skill to ensure the quality of our Alexa Skill. In this course, we will divide the process into the following phases:
- Plan: Plan the