Question 171
Scenario: Code Generation with Claude Code
A team uses Claude Code daily for generating, refactoring, debugging and documenting code — with custom slash commands, CLAUDE.md configuration, hooks, and judgment about when plan mode beats direct execution.
Read the full scenario lessonWhen building an agent that queries a backend order system, the lookup_order tool returns a JSON object with 40+ fields, but the agent only needs the order status, shipping date, and tracking number. What context optimization technique should be applied?