This article provides a basic overview of the skill development environment and resources to get you started with building skills. Please note that building custom skills requires the Andi Skills Builder product.
In this Article
- Skill Coding Language
- Skill Writing Tips
Skill Coding Language
Supported Language Versions
- TypeScript: v4.2.3
Allowed Packages: andiskills, @andi/powers, and custom packages
- TypeScriptlang by Microsoft
- TypeScript Tutorial by Tutorials Point
Skill Writing Tips
Andi Skills Builder includes IntelliSense which allows you to see possible suggestions for your function properties as you write skill code. Property suggestions should appear after you a ‘.’. Another way to trigger the possible properties is to select CTRL+Space on your keyboard. Once you find the property you need, you can either select it and hit enter or type the property.
Hover over a property, you can preview more information about it and potentially see examples. For a more in-depth view, you can:
- Place your cursor anywhere in that specific property’s name and select F12; OR
- Right-click on the property and select one of the following options from the menu:
- Go to Definition
- Peek Definition – this will generate a small pop-up window instead of a new tab
- Go to Type Definition
The code editor supports several code actions that help to build skills more easily. You can open the Command Palette by selecting F1 on your keyboard to see all available actions. Rename, transform, and refactor actions will specifically help simplify code editing.
Andi skills support full International Components for Unicode (ICU). This allows you to easily format numbers, currency, dates, and other data based on your audience’s needs.
For a list of supported functions, please see Intl.
While building skills the Andi support site can be helpful however, embedded documentation will help you find what you need more quickly. In the bottom right pane of the builder, select the arrow. You can view and search all code documentation that is available. For many functions and types, examples are available so you can more easily get up to speed!