This is a fork of the Alexa Trivia skill template template that uses the Jargon SDK to manage content.
This template makes use of the SDK's ability to render resource objects to store the questions separate from the source code to make it easier to change the questions for different locales.
- 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 questions response content into language- and locale-specific resource files
- Various tweaks and bug fixes
See https://github.com/JargonInc/skill-sample-nodejs-trivia/blob/en-US/instructions/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, with the exception that the Lambda needs to be deployed via the CLI to ensure that all dependencies and resources are included.