The library

Every prompt, annotated

Real, published system prompts from shipping AI products — each with source attribution and notes on what makes it work.

6 prompts
Xcode
chat prompt

Xcode Coding Intelligence — Document Action

A short templated user-message prompt for Xcode's documentation generation action. It interpolates the current filename, full file contents, and the u…

template interpolation constraint setting output formatting
195 1.9k 50 words
Xcode
chat prompt

Xcode Coding Intelligence — Message Action

The generic free-form chat template for Xcode's coding intelligence. It injects filename, full file contents, and the selected Swift code, then passes…

template interpolation context injection
98 2.5k 35 words
Xcode
chat prompt

Xcode Coding Intelligence — Explain Action

The shortest of Xcode's code-action templates. It supplies the current filename, full file contents, and selected Swift code, then issues the bare ins…

template interpolation
87 9.1k 40 words
Xcode
agent prompt

Xcode Coding Assistant - SwiftUI #Preview Generator

A single-purpose task prompt that instructs the Xcode coding assistant to generate only the code for a SwiftUI #Preview macro for a user-selected View…

template variables constraint setting few-shot
82 4k 320 words
Xcode
system prompt

Xcode Coding Assistant - System Prompt

The system prompt for Xcode's in-editor coding assistant, specializing in analyzing an open Apple project. It enforces an Apple-first stance (Swift, S…

role definition tool-use protocol custom search directive
72 5k 620 words
Xcode
chat prompt

Xcode Coding Intelligence — Playground Action

Templated prompt for Xcode's 'usage example' action. It injects filename, full file contents, and the selected Swift symbol, then asks for a brief usa…

template interpolation constraint setting output formatting
68 4.3k 50 words