64 questionsQuestion · Short answer
Agents and Workflows
To resume an interrupted Claude agent, load the workflow's last committed checkpoint and reconcile pending external actions before advancing. An Agent SDK session can restore conversational context. Use the application's action ledger and…
Claude Code
Review a Claude Code plugin as a dependency that can install several extensions together. Identify the marketplace, trusted repository or package, approved version or immutable source revision where the distribution method supports one,…
Claude Code
Use Claude Code interactively when you expect clarification, inspection, or action-by-action review. For a script, use claude -p and pick the output format by what the caller needs. The default text format is readable, --output-format…
Applications and Integration
Version the application code together with its model ID or supported alias policy, production prompt and examples, output and tool contracts, parser, feature flags, limits, and relevant dependency versions. Give each asset an owner and a…
Tools and MCPs
Resolve Claude's proposed tool call through an allowlisted handler, validate the arguments and their meaning, and authorize the exact operation using authenticated application identity and current resource policy. When policy requires…
Tools and MCPs
Expose only the client tools relevant to the authorized task and current state, then set explicit limits for calls, parallel work, elapsed time, cost, and retries. Use a reviewed registry, enforce policy on each dispatch, and stop on…
Eval, Testing, and Debugging
Start with observable success criteria and build cases from the workload's real input classes. Include representative routine work, boundaries, missing or contradictory context, dependency and permission failures, relevant adversarial…
Model Selection and Optimization
Shortlist current models supported on your API surface, then choose the lowest-total-cost configuration that meets your quality, safety, and latency requirements on representative cases. Opus is a candidate for difficult reasoning or…
Eval, Testing, and Debugging
Match each grader to observable evidence and give critical control failures a separate pass/fail gate. Use deterministic checks for exact fields, permitted tools, or state transitions. Check grounded claims against a controlled source.…
Prompt and Context Engineering
Start zero-shot when the task and output rules clearly define success. Add one example when a particular format or decision boundary is unclear. Use multiple examples when Claude must distinguish varied cases or handle several meaningful…
Claude Code
Use a deterministic command hook at a supported pre-action event when a rule can be expressed in code. For a tool action, match the relevant tools on PreToolUse , parse the documented event JSON, and return the documented denial for a…
Claude Code
Use Claude Code permission rules to control tool requests and the shell sandbox to constrain filesystem and network access for covered commands on supported platforms. Built-in file tools such as Read, Edit, and Write use permissions.…