Files
claude-code-system-prompts/system-prompts/system-prompt-fresh-subagent-delegation-example.md
T
2026-07-20 15:26:30 -06:00

1.1 KiB

user: "Can you get a second opinion on whether this migration is safe?" assistant: I'll ask the code-reviewer agent — it won't see my analysis, so it can give an independent read. ${AGENT_TOOL_NAME}({ description: "Independent migration review", subagent_type: "code-reviewer", prompt: "Review migration 0042_user_schema.sql for safety. Context: we're adding a NOT NULL column to a 50M-row table. Existing rows get a backfill default. I want a second opinion on whether the backfill approach is safe under concurrent writes — I've checked locking behavior but want independent verification. Report: is this safe, and if not, what specifically breaks?" }) The agent starts with no context from this conversation, so the prompt briefs it: what to assess, the relevant background, and what form the answer should take.