Skip to content
This repository has been archived by the owner on Jun 5, 2021. It is now read-only.

Color Changer buttons skill opens with buttons roll call and asks the user to push buttons to change their colors with various animations. It covers roll call, starting and stopping the Input Handler, and defining animations for different button events. It also demonstrates how Echo Buttons can interrupt text-to-speech (TTS).

License

JargonInc/skill-sample-nodejs-buttons-colorchanger

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Color Changer Skill for Echo Buttons, using the Jargon SDK

This is a fork of the Color Changer Skill for Echo Buttons template that uses the Jargon SDK to manage content.

Changes from the source template

  • Add dependency on the Jargon SDK npm package (@jargon/alexa-skill-sdk)
  • Use the Jargon skill builder during initialization
  • Use the Jargon response builder to construct all responses
  • Move response content into locale-specific resource files

The source template uses a response interceptor to merge together the content used for speak and reprompt instructions, as well as to add multiple directives. This isn't necessary with the Jargon SDK with the "mergeSpeakAndReprompt" option enabled. The response interceptor is still needed to set the end session flag correctly, but the skill's request interceptor isn't (and thus isn't present in this version of the template).

Instructions

See https://github.com/JargonInc/skill-sample-nodejs-buttons-colorchanger/blob/master/instructions/2-deployment-cli.md for instructions on how to use this template via the ASK CLI.

In general the instructions from the source template are also applicable.

About

Color Changer buttons skill opens with buttons roll call and asks the user to push buttons to change their colors with various animations. It covers roll call, starting and stopping the Input Handler, and defining animations for different button events. It also demonstrates how Echo Buttons can interrupt text-to-speech (TTS).

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 89.0%
  • PowerShell 6.6%
  • Shell 4.4%