What problem does it solve?
Large file exports built entirely in memory cause OOM crashes, Full GC storms, leftover temp files, and HTTP timeouts. This Skill detects risky export patterns in Java, Python, Go, and Node.js code and replaces them with streaming APIs and asynchronous task patterns.
Core Features & Use Cases
- Streaming API Enforcement: Converts XSSFWorkbook, openpyxl, excelize, and ExcelJS in-memory writes into SXSSF, write_only, StreamWriter, and stream-based equivalents with correct flush/dispose handling.
- Format-Specific Pitfall Detection: Covers Excel, CSV, JSON (including JSONL alternatives), and PDF export traps such as missing Flush() calls, non-streamable PDF libraries, and full-array JSON serialization.
- Async Export Task Pattern: Replaces synchronous HTTP export endpoints with task-ID submission, background execution, object-storage upload, and status polling.
- Use Case: When reviewing a Spring controller that builds a 100k-row Excel report in memory, the Skill rewrites it to use SXSSFWorkbook with windowed rows, proper dispose() in finally, and an async task returning a download URL.
Quick Start
Review my export code for memory safety and convert any in-memory Excel, CSV, JSON, or PDF generation over 10,000 rows to streaming APIs with async task handling.