/web-development-tools:csv-xlsx-import-export-stingerfrom web-development-tools
Implements spreadsheet import and export in React/Next.js. Covers CSV/XLSX parsing, column mapping, row validation, streaming large files, and CSV injection prevention.
Ships in web-development-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Procedural arsenal for csv-xlsx-import-export-wasp-drone. Encodes every decision the Drone needs to make when helping a team add "upload your spreadsheet" to a React/Next.js product.
This stinger is deliberately opinionated: it picks winners from the research and explains the trade-offs rather than presenting false symmetry. When the research surfaces a gotcha (SheetJS cannot stream XLSX, ExcelJS WorkbookWriter has a memory leak), the guides encode the workaround, not the happy fiction.
Load when the Drone is invoked on any of:
Do NOT load for:
Read these in order before doing anything else:
guides/00-library-decision-tree.md -- pick the right library stack for the user's constraints before writing a line of code.guides/04-csv-injection-prevention.md -- the sanitization rule is non-negotiable; read it early so it is never forgotten.research/research-summary.md -- the five headline findings from scripture-historian, including the SheetJS streaming gotcha and ExcelJS memory leak.Then walk the remaining guides in order of the task at hand. Each guide is self-contained.
csv-xlsx-import-export-stinger/
+- SKILL.md (this file)
+- README.md (one-page human overview)
+- guides/
| +- 00-library-decision-tree.md (papaparse vs SheetJS vs exceljs vs csv-parse)
| +- 01-streaming-parse-large-files.md (Web Worker pattern, ExcelJS ReadStream, chunked CSV)
| +- 02-column-mapping-ux.md (5-stage wizard, managed vs self-hosted, RSI)
| +- 03-validation-rules.md (Zod row schema, error shape, abort vs collect)
| +- 04-csv-injection-prevention.md (dangerous prefixes, sanitize function, CWE-1236)
| +- 05-encoding-edge-cases.md (UTF-8 BOM, CP1252, line-ending normalization)
| +- 06-export-xlsx.md (exceljs WorkbookWriter, header style, freeze pane)
| +- 07-export-csv.md (streaming response, MIME type, BOM for Excel)
| +- 08-error-reporting-ux.md (row-level errors, partial import, download error CSV)
+- examples/
| +- papaparse-chunked-worker.tsx (large CSV via Web Worker + chunk callback)
| +- sheetjs-webworker-xlsx.ts (large XLSX via Web Worker isolation)
| +- exceljs-workbook-builder.ts (styled export with WorkbookWriter)
| +- column-mapping-wizard.tsx (minimal hand-rolled mapping component)
| +- csv-injection-sanitize.ts (canonical sanitize function)
+- templates/
| +- row-error-object.ts (TypeScript interface for error shape)
| +- import-result.ts (TypeScript interface for full import result)
| +- import-report.md (markdown report skeleton for findings)
+- reports/
| +- README.md (how past-run reports accumulate)
+- research/ (DO NOT MODIFY -- owned by scripture-historian)
guides/04-csv-injection-prevention.md.readAsArrayBuffer on a 100 MB XLSX freezes the browser main thread and crashes low-RAM devices. See guides/01-streaming-parse-large-files.md.guides/00-library-decision-tree.md.guides/02-column-mapping-ux.md.guides/08-error-reporting-ux.md.security-wasp-drone before any upload endpoint reaches production. Why: file parsing is a classic attack surface (zip bombs, billion-laughs via XLSX shared strings, path traversal). The stinger covers sanitization but not endpoint hardening.These are not in the official docs but emerged from the 2026 literature sweep:
SheetJS cannot stream-read XLSX. The ZIP container requires buffering the full file. Use a Web Worker to keep the main thread responsive. xlsx-stream-rows (maintenance status unverified -- check before recommending as primary solution) offers true bounded-memory iteration. See guides/01-streaming-parse-large-files.md and research/external/2026-05-20-sheetjs-streaming-api.md (source-repository research, not shipped with the plugin).
ExcelJS WorkbookWriter memory leak. Issue #2916, PR #2558 pending for v5.0. Workaround: call row.commit() on every row immediately after writing. Do NOT accumulate rows in memory. See guides/06-export-xlsx.md and research/external/2026-05-20-exceljs-github-readme.md (source-repository research, not shipped with the plugin).
Tab-prefix CSV injection survives Excel save/reopen ~90% of the time; single-quote does not. Layer all three defenses (cell sanitization + correct Content-Type + Content-Disposition). See guides/04-csv-injection-prevention.md and research/external/2026-05-20-csv-injection-dead-ends.md (source-repository research, not shipped with the plugin).
react-spreadsheet-import (RSI) adds Chakra UI. For shadcn/ui stacks, this means ~200KB+ bundle addition. Prefer the hand-rolled wizard from examples/column-mapping-wizard.tsx or the bow-react-spreadsheet-import fork for Chakra-free teams. See guides/02-column-mapping-ux.md.
Dromo processes data client-side (Private Mode) on all plans. OneSchema and Flatfile process server-side. This matters for GDPR/HIPAA -- only Dromo guarantees PII never leaves the browser. See guides/02-column-mapping-ux.md and research/external/2026-05-20-oneschema-vs-dromo-comparison.md (source-repository research, not shipped with the plugin).
Forged by stinger-forge from command-briefs/csv-xlsx-import-export-wasp-drone-command-brief.md and research gathered by scripture-historian. Part of The Wasp Nest by Mario Aldayuz a.k.a @thenotoriousllama.
README.md (opens in a new tab)examples/column-mapping-wizard.tsx (opens in a new tab)examples/csv-injection-sanitize.ts (opens in a new tab)examples/exceljs-workbook-builder.ts (opens in a new tab)examples/papaparse-chunked-worker.tsx (opens in a new tab)examples/sheetjs-webworker-xlsx.ts (opens in a new tab)guides/00-library-decision-tree.md (opens in a new tab)guides/01-streaming-parse-large-files.md (opens in a new tab)guides/02-column-mapping-ux.md (opens in a new tab)guides/03-validation-rules.md (opens in a new tab)guides/04-csv-injection-prevention.md (opens in a new tab)guides/05-encoding-edge-cases.md (opens in a new tab)guides/06-export-xlsx.md (opens in a new tab)guides/07-export-csv.md (opens in a new tab)guides/08-error-reporting-ux.md (opens in a new tab)reports/README.md (opens in a new tab)research/research-summary.md (opens in a new tab)templates/import-report.md (opens in a new tab)templates/import-result.ts (opens in a new tab)templates/row-error-object.ts (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
csv-parsing, xlsx-parsing, file-upload, data-import, data-export, spreadsheet
npx claudepluginhub legioncodeinc/vibe-coding-tools --plugin web-development-tools42 skills in this plugin
/asset-stingerMaintain the Universal Asset Registry. Use to register assets, audit code-to-registry drift, or generate migrations. Read README.md for the guide map./component-vendoring-stingerSelect existing UI components and prepare notice-preserving source-copy plans. Use for component reuse, exact MIT artifact provenance, authorized copies, or local fork updates./dark-mode-theming-stingerAudits and implements dark mode for React/Next.js: CSS tokens, next-themes wiring, FOWT prevention, SSR hydration, Tailwind v4 config, multi-brand theming. Use for dark mode setup or flashing bugs./design-system-stingerBootstrap a product design system. Use for tokens, utilities, component and screen specs, or static examples. Read README.md for the guide map./font-loading-stingerFix web font loading performance. Use for FOIT/FOUT, preload, subsetting, metric-matched fallbacks, or font-swap CLS. Read README.md for the guide map./icon-system-stingerDesign a React icon system. Use for library choice, bundle size, SVG sprites, dynamic icons, or accessibility. Read README.md for the guide map.Other plugins' skills for the same job