Amazon have now released an API for skills management. Please use that instead.
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/ask-cli-intro
Some handy tools to manage Amazon Alexa skills
Currently allows you to fetch and update the skills code. i.e. Intents, Utterances and slots.
It utilises your Chrome cookies to authenticate, so you need to log into https://developer.amazon.com first.
yarn install alexa-skills-toolkit
Shell
# Download the current model
alexa-skills-toolkit --action getcode --appId amzn1.echo-sdk-ams.app.XXX
# Update the model
alexa-skills-toolkit --action updatecode --appId amzn1.echo-sdk-ams.app.XXX --data file.json
API
import * as ast from 'alexa-skills-toolkit';
const data = ast.getCode(appId);
ast.updateCOde(appId, data);
After checking out the repo, run npm test
to run the tests.
To release a new version:
- yarn test
- yarn publish
This will run the tests, update the version, create a git tag for the version, push git commits and tags. Publish the module file to npmjs.com.
Bug reports and pull requests are welcome on GitHub at https://github.com/echohubio/alexa-skills-toolkit. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.
The gem is available as open source under the terms of the ISC License.