# Plugins

Plugins are a great way to enrich your development and reuse as much as possible. Plugins are components that expose more building blocks than what platform provides. They may be higher level conversational constructs such as "greeting a good morning" or a lower level construct such as a rich APL template home screen building block.

# Platform Developed

# Examples

import { ax } from "@chitchatjs/alexa";
import { common } from "@chitchatjs/plugin-ax-common";

ax.compound()
  .add(
    ax
      .whenLaunch()
      .then(ax.say("Hello world!"))
      .build()
  )
  // automatically add help, stop, fallback handlers
  .add(common.defaultHandlers())
  .build();

or customize

common.defaultHandlers({
  help: ax
    .ask("You can ask me a number, I will say that number back.")
    .reprompt("What is your number?")
    .build(),
});