Skip to content
Back to skills

Parse And Generate Csv

ASecurity

Parse and generate RFC 4180 compliant CSV that works across tools.

  • 37 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 19, 2026
ai-agentsgogit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 19, 2026

npx -y skills add rondoflow/rondoflow --skill parse-and-generate-csv --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Parse And Generate Csv?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Parse And Generate Csv
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/rondoflow-parse-and-generate-csv/badge)](https://www.skillsdirectory.com/skills/rondoflow-parse-and-generate-csv)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: parse-and-generate-csv
description: "Parse and generate RFC 4180 compliant CSV that works across tools."
category: "Data & Analytics"
author: community
version: "1.0.0"
icon: chart-bar
---

## Quoting Rules

- Fields containing comma, quote, or newline MUST be wrapped in double quotes
- Double quotes inside quoted fields escape as `""` (two quotes), not backslash
- Unquoted fields with leading/trailing spaces—some parsers trim, some don't; quote to preserve
- Empty field `,,` vs empty string `,"",`—semantically different; be explicit

## Delimiters

- CSV isn't always comma—detect `;` (European Excel), `\t` (TSV), `|` in legacy systems
- Excel exports use system locale delimiter; semicolon common in non-US regions
- Sniff delimiter from first line but verify—header might not contain special chars

## Encoding

- UTF-8 BOM (`0xEF 0xBB 0xBF`) breaks naive parsers but Excel needs it for UTF-8 detection
- When generating for Excel on Windows: add BOM; for programmatic use: omit BOM
- Latin-1 vs UTF-8 ambiguity—explicitly declare or detect encoding before parsing

## Common Parsing Failures

- Newlines inside quoted fields are valid—don't split on `\n` before parsing
- Unescaped quote in middle of field corrupts rest of file—validate early
- Trailing newline at EOF—some parsers create empty last row; strip or handle
- Inconsistent column count per row—validate all rows match header count

## Numbers & Dates

- `1,234.56` vs `1.234,56`—locale-dependent; standardize or document format
- Dates: ISO 8601 (`2024-01-15`) only unambiguous format; `01/02/24` is chaos
- Leading zeros in numeric fields (`007`)—quote to preserve or document as string

## Excel Quirks

- Formula injection: fields starting with `=`, `+`, `-`, `@` execute as formulas—prefix with `'` or tab
- Long numbers (>15 digits) lose precision—quote and format as text
- Scientific notation triggered by `E` in numbers—quote if literal text needed

Files in this skill

  • SKILL.md1.9 KB
  • manifest.json281 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.