Skip to main content

What are AI Prompts?

AI Prompts are pre-written instructions that teach AI coding assistants how to use the Surf platform correctly. Paste them into your project configuration so every AI-generated code snippet follows Surf best practices out of the box.

Setup by Tool

Add the prompt below to your project’s CLAUDE.md file:

Full Prompt (Copy-Paste)

Use this universal prompt in any AI tool — chat interfaces, IDE assistants, or agent configurations:

Python Quick Start

After pasting the prompt, try asking your AI assistant:
Expected output:

TypeScript Quick Start

Expected output: