<!--
{
  "availability" : [
    "iOS: 27.3.0 -",
    "iPadOS: 27.3.0 -",
    "macOS: 27.3.0 -",
    "visionOS: 27.3.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SiriEvaluations",
  "identifier" : "/documentation/SiriEvaluations/Loads",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Siri Evaluations"
    ],
    "preciseIdentifier" : "s:15SiriEvaluations5LoadsV"
  },
  "title" : "Loads"
}
-->

# Loads

An expectation that Siri loads specific app skills.

```
struct Loads
```

## Overview

A skill is the Markdown instructions an app ships for a task, which can
reference the app’s intents and chain them to satisfy a request. Use `Loads`
to check whether Siri loads a skill into its planning for a turn.

`Loads` has no default enforcement, so you write [`Loads.Enforcement.required`](/documentation/SiriEvaluations/Loads/Enforcement-swift.enum/required) or
[`Loads.Enforcement.preferred`](/documentation/SiriEvaluations/Loads/Enforcement-swift.enum/preferred). Only a required skill counts toward the
<doc://com.apple.documentation/documentation/Evaluations/Metric/skillsLoadedPass>
metric. A turn fails a required `Loads` if Siri doesn’t load the skill.

A preferred skill appears in the report but never affects the score. Siri sees
the app’s intents alongside the skill and might satisfy the request by calling
them directly.

To name a skill, write its
<doc://com.apple.documentation/documentation/AppIntentsTesting/SkillDefinition>
in the closure. A skill has no properties to constrain, so the expectation matches
by identity and checks only whether Siri loads that skill.

A passing check doesn’t show that Siri follows the skill’s instructions, because
Siri doesn’t report which steps it performs in a skill. To verify the outcome,
pair `Loads` with [`Calls`](/documentation/SiriEvaluations/Calls) for the intents the skill chains.

For more information about skills, see
<doc://com.apple.documentation/documentation/AppIntents/orchestrating-complex-actions-with-app-skills>.

## Topics

### Creating a load expectation

[`init(Loads.Enforcement, () -> [SkillDefinition])`](/documentation/SiriEvaluations/Loads/init(_:_:))

Creates an expectation that the skills in the block load, graded according to the enforcement.

[`enum SkillExpectationBuilder`](/documentation/SiriEvaluations/SkillExpectationBuilder)

A result builder that collects the skills in a loads expectation.

### Configuring enforcement

[`let enforcement: Loads.Enforcement`](/documentation/SiriEvaluations/Loads/enforcement-swift.property)

Whether a missed skill fails the expectation or only shows in the report.

[`enum Enforcement`](/documentation/SiriEvaluations/Loads/Enforcement-swift.enum)

Whether a missed skill fails the expectation or only shows in the report.

## Relationships

### Conforms To

[`Decodable`](/documentation/Swift/Decodable)

[`Encodable`](/documentation/Swift/Encodable)

[`Sendable`](/documentation/Swift/Sendable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)