The generic free-form chat template for Xcode's coding intelligence. It injects filename, full file contents, and the selected Swift code, then passes through the user's raw {{message}} as the instruction, making it the open-ended variant behind the fixed-purpose actions.
What makes this prompt notable
Acts as the pass-through template where the user's arbitrary {{message}} becomes the instruction, unlike the fixed-task action prompts
Always supplies both whole-file context and the highlighted selection so ad-hoc questions are grounded in the editor state
35 words · 235 chars
The user is curently inside this file: {{filename}}
The contents are below:
```swift:{{filename}}
{{filecontent}}
```
The user has selected the following code from that file:
```swift
{{selected}}
```
The user has asked:
{{message}}
The most elaborate Copilot VS Code agent prompt, for GPT-5. It combines the Copilot identity and refusals with a detailed communication-style guide, m…
role definitiontool-use protocolstructured diff format specification
A lightweight intent-classification prompt that routes a user message into chat/do/spec modes and returns a JSON object of confidence scores summing t…
Discussion (0)