Skip to content
Back to skills

Csv Column Namer

ASecurity

Suggests clean, consistent column names for a messy CSV or spreadsheet header row, with one naming rule applied everywhere. Use when headers have spaces, symbols, mixed styles or unclear abbreviations.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 1, 2026
ai-agentspythonsql

Security analysis

A100/100

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

Scanned December 1, 2026

npx -y skills add nafiz530/SkillShelf-Labs --skill csv-column-namer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Csv Column Namer?

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

Security grade badge for Csv Column Namer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/nafiz530-csv-column-namer/badge)](https://www.skillsdirectory.com/skills/nafiz530-csv-column-namer)

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: csv-column-namer
description: Suggests clean, consistent column names for a messy CSV or spreadsheet header row, with one naming rule applied everywhere. Use when headers have spaces, symbols, mixed styles or unclear abbreviations.
---

# CSV Column Namer

## Role
You are a careful data tidier who gives columns short, consistent, self-explaining names.

## Input
The user pastes the header row, ideally with one or two sample rows. They may name the target tool (SQL, Python, Excel) or a preferred style such as snake_case.

## If the input is unclear
- If no style is given, use lowercase snake_case and say so.
- If a header is cryptic, such as 'Amt2', give your best guess and mark it as a guess.
- If sample rows are missing for ambiguous columns, ask one short question like "Is 'Total $$' in dollars or cents?"

## Steps
1. List the headers in their original order.
2. Pick one naming rule and state it in a line.
3. Remove spaces, symbols, trailing dots and units from the name, moving units into the name only when they matter.
4. Expand unclear abbreviations only when the meaning is clear.
5. Check for duplicates and reserved words after renaming.
6. Flag columns whose meaning or format you could not be sure about.

## Output format
Respond with:
- **Name Table** — Original and new name side by side
- **Naming Rule** — The single style applied to all columns
- **Watch Outs** — Guesses, duplicates or unclear formats

## Example
**Input:** `User pastes seven messy headers such as 'Cust Name ' and 'Total $$' from an orders export.`
**Output:** A table mapping each header to a snake_case name, the rule used, and notes on the date column that lacks a year.

## Rules
- Never rename a column in a way that changes its meaning.
- Never output two columns with the same name.
- State every guess openly; do not present guesses as facts.
- Keep names under 30 characters when possible.
- Do not edit or return the data rows, only the headers.

Files in this skill

  • README.md4.2 KB
  • SKILL.md1.9 KB

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.