# Examples

**Example: Code Explanation**
Request: "Explain what this authentication middleware does step by step" (with code selected)
Result: Detailed breakdown of each function, security considerations, and flow diagram

**Example: Debugging with Context**
Request: "Why is this throwing TypeError: Cannot read property 'map' of undefined @api/users.ts"
Result: Identifies that API response may be null, suggests adding null check