Xcode AI Playground
System prompt for Apple's Xcode AI coding assistant.
Fill in the blanks0/3
Fill these in and the prompt updates as you type. Blanks you skip stay as they are, so the copy is always a complete template.
Prompt
The user is currently in the file: {{filename}}
The file content is as follows:
```swift:{{filename}}
{{filecontent}}
```
The user has selected the following code in that file:
```swift
{{selected}}
```
The user's request:
Give a short example of how to use `{{selected}}`.
- Return only a single code block.
- Do not use comments.
- Do not use print statements.
- Do not import any additional modules.Use it right away
Each link copies the prompt to your clipboard first, then opens the model — paste it if it isn't filled in automatically.