Where should an API key be stored to prevent it from being leaked on version control?	In a `.env.local` file.
What is the primary function used to send a request and receive a structured insight from Claude?	`client.messages.create()`
What are the three essential parameters required when calling `messages.create`?	The `model`, `max_tokens` limit, and the `messages` array.
Which parameter is used to define Claude's persona or shape its behavior (e.g., "terse senior code reviewer")?	The `system` prompt.
When processing the response from Claude, what data structure must be iterated over, and why?	An array of blocks (`response.content`); this is necessary because Claude can return multiple types of content (text, tool calls, etc.).
What is the recommended method for handling API key security?	Storing keys in environment files (`.env.local`) rather than hardcoding them in source files.
What command is used to install the Anthropic SDK for Node.js?	`npm install @anthropic-ai/sdk`
What are the two primary roles used when structuring messages in the API call?	`user` and `assistant`.
