Example: Refactor Code
You:
"Convert this class to use async/await, update all callers, fix formatting, run tests"
What the agent does:
1
Analyzes the class and its dependencies
2
Converts methods to async pattern
3
Finds and updates all callers across the codebase
4
Applies code formatting rules
5
Runs test suite, fixes any failures
Tedious refactoring that used to take
Hours → Minutes
You focus on design decisions, agent handles the grunt work.