---
title: SkillDefinition
framework: appintentstesting
role: symbol
role_heading: Structure
platforms: [iOS 27.3+, iPadOS 27.3+, Mac Catalyst 27.3+, macOS 27.3+, tvOS 27.3+, visionOS 27.3+, watchOS 27.3+]
path: appintentstesting/skilldefinition
---

# SkillDefinition

A definition that identifies one of an app’s skills by the app’s bundle identifier and the skill’s name.

## Declaration

```swift
struct SkillDefinition
```

## Overview

Overview Get a skill definition from the skills collection of the app’s IntentDefinitions: let definitions = IntentDefinitions(bundleIdentifier: "com.apple.example") let planTripSkill = definitions.skills["plan-trip"]

## Topics

### Instance Properties

- [bundleIdentifier](appintentstesting/skilldefinition/bundleidentifier.md)
- [skillName](appintentstesting/skilldefinition/skillname.md)

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
