32 Claude Code Prompt Shortcuts + Complete Command Reference
Every built-in command, keyboard shortcut, and prompt pattern you need to get maximum output from Claude Code. Copy, paste, and combine for instant results.
Built-in Commands
These commands are available in every Claude Code session. Type them directly into the prompt.
Session Commands
/helpShow all available commands/clearClear conversation history and start fresh/compactCompress conversation to free up context window/costShow token usage and estimated cost for this session/statusShow current working directory, git branch, and session info/quitEnd the sessionModel & Mode Commands
/modelSwitch between models (Opus, Sonnet, Haiku)/fastToggle fast mode (faster output, same model)/thinkEnable extended thinking for complex reasoning/permissionsView or change tool permissionsAgent Commands
/agentsLaunch a background agent that works independently/bugReport a bug to AnthropicFile & Context References
@file.tsReference a specific file in your prompt@folder/Reference an entire folder@urlFetch and include web content!commandRun a shell command inline.claude/commands/name.md files to define your own slash commands. Examples: /start, /sync, /wrap-up, /review, /deployKeyboard Shortcuts
Speed up your workflow with these keyboard shortcuts available in the Claude Code terminal.
32 Prompt Patterns
Add these prefixes at the start of your prompt to change how Claude responds. Example: ELI5: How does React Server Components work?
ELI5:Explain like I'm 5 — simple, no jargonTLDR:Summarize in 2-3 sentences maxSTEP BY STEP:Break down into numbered stepsFIRST PRINCIPLES:Rebuild from fundamental basicsCHAIN OF THOUGHT:Show intermediate reasoningCHECKLIST:Turn response into a checklistTABLE:Format as a comparison tableJSON:Output as structured JSONSCHEMA:Generate a data model or outlineFORMAT AS [X]:Force a specific formatACT AS [role]:Adopt a specific personaDEV MODE:Raw technical developer responsePM MODE:Project management perspectiveARCHITECT:System design perspectiveSWOT:Strengths / Weaknesses / Opportunities / ThreatsCOMPARE:Side-by-side comparisonPITFALLS:Identify traps and common mistakesTRADEOFFS:Analyze pros and cons of each approachMETRICS:Express with measures and indicatorsMULTI-PERSPECTIVE:Show several viewpointsDELIBERATE:Slow, thoughtful reasoningREFLECTIVE:AI reflects on its own answerEVAL-SELF:Critical self-evaluationBIAS CHECK:Identify potential biasesBRIEFLY:Force a very short answerAUDIENCE [X]:Adapt to a specific audienceTONE [X]:Change the toneJARGON:Use technical vocabularyNO AUTOPILOT:Force careful, non-generic responseGUARDRAIL [X]:Set strict boundariesCONTEXT:Keep multiple context layersPower Combinations
Combine multiple patterns in a single prompt for maximum effectiveness. Stack prefixes, separated by commas, before your actual request.
Claude Code-Specific Prompts
These prompts leverage Claude Code's built-in tools — Read, Write, Edit, Grep, Glob, and Bash — to interact directly with your codebase and terminal.
Prompt Templates for Common Tasks
Copy these templates and fill in the brackets for common development workflows.
Bug Fix Template
Feature Request Template
Code Review Template
Refactor Template
Get All 32 Shortcuts + 1,730 Skills
The AI Brain Pro package includes this complete shortcut reference, 1,730+ pre-built skills, 250+ agents, and a 7-tier memory system that makes Claude Code work like a senior engineer.