Alexa Skill for persistent counting of events per day.
Copy lambda/.env.example to lambda/.env, set SKILL_ID to the Alexa skill ID, and set ASK_PROFILE to a dedicated
ASK CLI test profile. The local file is ignored by Git. The deployed Lambda function must provide SKILL_ID in its
environment configuration. Offline tests inject a test-only value and do not read this deployment configuration.
To deploy all six interaction models to the development stage, configure the ASK CLI default profile and run from
lambda/:
mise exec -- npm run model:deployModel deployment always uses the ASK CLI default profile; ASK_PROFILE is used only by deployed-skill tests.
Run mise install from the repository root, then run the offline checks through Mise from lambda/:
mise exec -- npm ci
mise exec -- npm run lint
mise exec -- npm test
mise exec -- npm run test:e2e # deployed development skill; writes dedicated test-account countersSee TESTING.md for the individual suites and CI setup.
- When requesting a week, consider the locale to determine its first day instead of hard-coding Monday.
- Add named counters. Feedback from Amazon.com: There could be a feature to count for a specific thing. Like add 20 to pushups, add I to cup of water, but it does what it says it will, so good enough.
- Export charts in S3 and show them as a response card: https://www.npmjs.com/package/chartjs-node