A Sub-Skill is a type of skill that is not meant to be triggered directly by users through a phrase. Instead, it can only be called from other skills through branching. A Sub-Skill, therefore, cannot be executed independently.
The purpose of having a Sub-Skill is to prevent skill collision and helps to streamline one skill that suggests or prompts the related skills. For example, If 'Manage an account in Salesforce' is the main skill, you can create Sub-Skills such as 'Update password for a Salesforce Account', 'Delete a Salesforce Account', 'Issues with a Salesforce Account' and so on, which help users navigate from the main skill to the subsequent skills easily.
The following rules are validated for Sub-Skills:
To create a Sub-skill, do the following:
The following example explains how the Sub-skill is used via the parent skill.
The following steps explain how you can use a Sub-skill to carry out a logical flow while executing a skill
Parent Skill - Manage an account in Salesforce
Sub-skill: Rest password and Create an account
You can link the Sub-skill by adding a rule in the parent skill using the Rule Set.
The Rule Set is defined as shown in the image below to help execute the skill by navigating from the parent skill to the Sub-skill.
The following image shows how to execute the skill: