Shadow Prompting
ELI5 — The Vibe Check
Shadow prompting is the hidden system prompts that secretly shape how an AI behaves. When you use an AI tool and it has a particular personality or coding style, that's because someone wrote instructions you never see. It's the man behind the curtain. Most AI coding tools have layers of shadow prompts defining their behavior before you even type your first message.
Real Talk
Shadow prompting refers to system-level prompts, instruction sets, or behavioral configurations that are hidden from the end user but significantly influence AI output. In AI coding tools, shadow prompts define coding style preferences, safety behaviors, response formats, and domain expertise. Understanding shadow prompting helps developers work more effectively with AI tools and build their own AI-powered applications.
When You'll Hear This
"Cursor's shadow prompts are why it defaults to TypeScript patterns." / "We tuned our shadow prompts to enforce our team's coding standards."
Related Terms
CLAUDE.md
CLAUDE.md is a special file you put in your project to give Claude Code persistent instructions — your project's personality file.
Cursor Rules
Cursor Rules (formerly .cursorrules) are instructions you put in your project to tell Cursor IDE how to behave — like a CLAUDE.md but for Cursor.
Prompt Engineering
Prompt engineering is the art of talking to AI so it actually does what you want.
System Prompt
A system prompt is the secret instruction manual you give the AI before the conversation starts. It sets the personality, rules, knowledge, and behavior.