How alexa/skill-components works
Alexa Skill Components is a collection of reusable Alexa skill experiences, implemented here as separate TypeScript Lambda components. The principal runtime pattern is an Alexa request reaching a component handler, which performs a domain operation and returns a skill response; catalog search and item selection also use provider and session-state abstractions. The README documents feedback, catalog exploration, list navigation, account linking, in-skill purchases, and checkout. Scheduling is present in the tree as a further booking workflow. Source excerpts are partial, so edges are limited to documented or indexed relationships; unsampled handler wiring is not inferred.
Main entry points: interface.ts Catalog APIs · lambda/handlers Booking handlers · lambda/handlers Checkout handlers · base-api-handler.ts List APIs
Components 19
Catalog exploration
- Catalog APIs
catalog-explorer/lambda/interface.ts - Search handler
catalog-explorer/lambda/handlers/search-handler.ts - Item selection
catalog-explorer/lambda/handlers/select-item-handler.ts - Catalog provider
catalog-explorer/lambda/catalog-provider.ts - Catalog session
catalog-explorer/lambda/state.ts
List navigation
- List APIs
list-navigation/lambda/handlers/base-api-handler.ts - List session
list-navigation/lambda/session-state.ts
Commerce
- Checkout handlers
checkout/lambda/handlers - Checkout provider
checkout/lambda/checkout-provider.ts - Purchase handlers
in-skill-purchase/lambda/handlers
Scheduling
- Booking handlers
scheduling/lambda/handlers - Scheduling provider
scheduling/lambda/provider.ts - Scheduling session
scheduling/lambda/state.ts
Account linking
- Account linking
account-linking/lambda/get-account-linking-details-handler.ts
Feedback
- Save rating
feedback-elicitation/lambda/handlers/save-rating-handler.ts - Rating recorder
feedback-elicitation/lambda/recorders/rating-recorder.ts - Log recorder
feedback-elicitation/lambda/recorders/log-rating-recorder.ts
Other components
- Skill user
- Skill developer
Connections 27
- Skill developer → Catalog APIs: imports component
README.md - Skill developer → List APIs: imports component
README.md - Skill developer → Checkout handlers: imports component
README.md - Skill developer → Purchase handlers: imports component
README.md - Skill developer → Account linking: imports component
README.md - Skill developer → Save rating: imports component
README.md - Skill user → Catalog APIs: uses experience
README.md - Skill user → List APIs: uses experience
README.md - Skill user → Checkout handlers: uses experience
README.md - Skill user → Purchase handlers: uses experience
README.md - Skill user → Account linking: uses experience
README.md - Skill user → Save rating: uses experience
README.md - Skill user → Booking handlers: uses booking
- Catalog APIs → Search handler: registers handler
catalog-explorer/lambda/interface.ts - Catalog APIs → Item selection: registers handler
catalog-explorer/lambda/interface.ts - Search handler → Catalog provider: searches catalog
catalog-explorer/lambda/handlers/search-handler.ts - Search handler → Catalog session: saves session
catalog-explorer/lambda/handlers/search-handler.ts - Item selection → Catalog provider: selects item
catalog-explorer/lambda/handlers/select-item-handler.ts - Catalog APIs → Catalog session: saves state
catalog-explorer/lambda/interface.ts - List APIs → List session: loads session
list-navigation/lambda/handlers/base-api-handler.ts - Checkout handlers → Checkout provider: calls provider
checkout/lambda/handlers/checkout-handler.ts - Checkout handlers → Checkout provider: validates order
checkout/lambda/handlers/validate-order-handler.ts - Booking handlers → Scheduling provider: booking operations
scheduling/lambda/handlers/cancel-booking-handler.ts - Booking handlers → Scheduling session: loads session
scheduling/lambda/handlers/cancel-booking-handler.ts - Booking handlers → List APIs: uses list navigation
- Save rating → Rating recorder: records rating
feedback-elicitation/lambda/handlers/save-rating-handler.ts - Log recorder → Rating recorder: implements
feedback-elicitation/lambda/recorders/log-rating-recorder.ts