Role Assignment

Prompting

Definition

The practice of defining Claude's identity and expertise in the system prompt to anchor its behavior. Roles like 'You are an expert security auditor' improve response quality for domain-specific tasks by activating relevant knowledge and behavioral patterns.

Example Usage

Begin the system prompt with 'You are a senior cloud architect specializing in AWS security' to anchor Claude's expertise for infrastructure review tasks.