Write code: build new functionality from scratch or specs.
Example: create a login API, a data scraper, or a UI component.
Debug code: find and fix problems in existing code.
Example: fix a crash, wrong calculation, failing test, or slow query.
Refactor code: improve code quality without changing behavior.
Example: split a large function, rename unclear variables, remove duplication, simplify logic.