1# Skill
2
3The Skill module defines a skill object. Such an object can be obtained through [bundleManager.getBundleInfoForSelf](js-apis-bundleManager.md#bundlemanagergetbundleinfoforself), with at least **GET_BUNDLE_INFO_WITH_HAP_MODULE**, **GET_BUNDLE_INFO_WITH_ABILITY**, and **GET_BUNDLE_INFO_WITH_SKILL** passed in to **bundleFlags**. (The skill information is contained in [BundleInfo](./js-apis-bundleManager-bundleInfo.md) -> [HapModuleInfo](./js-apis-bundleManager-hapModuleInfo.md) -> [AbilityInfo](./js-apis-bundleManager-abilityInfo.md) or [ExtensionAbilityInfo](./js-apis-bundleManager-extensionAbilityInfo.md).)
4
5> **NOTE**
6>
7> The initial APIs of this module are supported since API version 12. Newly added APIs will be marked with a superscript to indicate their earliest API version.
8
9## Modules to Import
10
11```ts
12import { bundleManager } from '@kit.AbilityKit';
13```
14
15## Skill
16
17**Atomic service API**: This API can be used in atomic services since API version 12.
18
19**System capability**: SystemCapability.BundleManager.BundleFramework.Core
20| Name    | Type  | Readable| Writable| Description      |
21| -------- | ------ | ---- | ---- | ---------- |
22| actions     | Array\<string> | Yes  | No  | Actions received by the skill.|
23| entities    | Array\<string> | Yes  | No  | Entities received by the skill.  |
24| uris | Array\<SkillUri> | Yes  | No  | URIs that match Want.|
25| domainVerify     | boolean | Yes  | No  | DomainVerify value received by the skill. This parameter exists only in **AbilityInfo**.|
26
27## SkillUri
28
29**Atomic service API**: This API can be used in atomic services since API version 12.
30
31**System capability**: SystemCapability.BundleManager.BundleFramework.Core
32| Name           | Type  | Readable| Writable| Description                                                       |
33| --------------- | ------ | ---- | ---- | ----------------------------------------------------------- |
34| scheme          | string | Yes  | No  | Scheme of the URI, such as HTTP, HTTPS, file, and FTP.         |
35| host            | string | Yes  | No  | Host address of the URI. This parameter is valid only when **scheme** is specified.           |
36| port            | number | Yes  | No  | Port number of the URI. This parameter is valid only when both **scheme** and **host** are specified.  |
37| path            | string | Yes  | No  | Path of the URI. This parameter is valid only when both **scheme** and **host** are specified.  |
38| pathStartWith   | string | Yes  | No  | Prefix of the path of the URI. This parameter is valid only when both **scheme** and **host** are specified.|
39| pathRegex       | string | Yes  | No  | Regular expression of the path of the URI. This parameter is valid only when both **scheme** and **host** are specified.|
40| type            | string | Yes  | No  | Data type that matches the want. The value complies with the Multipurpose Internet Mail Extensions (MIME) type specification.|
41| utd             | string | Yes  | No  | Standard data type of the URI that matches Want. This parameter applies to sharing scenarios.|
42| maxFileSupported | number   | Yes  | No  | Maximum number of files of a specified type that can be received or opened at a time.|
43| linkFeature     | string | Yes  | No  | Feature type provided by the URI. It is used to implement redirection between applications and exists only in **AbilityInfo**.|
44