AI code needs more documentation than human code because intent isn't obvious. Document:
- What the code does and why (the prompt that generated it)
- Assumptions AI made that you validated
- Edge cases you explicitly handled
- Known limitations
Future you won't remember why AI made certain choices. Write it down now.