Rule Performance

Stream Large Data

Stream large files and data sets instead of loading into memory

performancestreamingmemory
CLAUDE.md

Stream large files and data sets instead of loading everything into memory. Use Node streams, async iterators, or chunked responses. This prevents memory exhaustion on large payloads.

Copy this block into your CLAUDE.md or agent config file to enforce it in your workflow.

get crystl