Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Parse Promotion Data Into Table?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ecnu-icalk-parse-promotion-data-into-table)
---
id: "e9f73c6f-7d76-44a4-8558-b4445f366f61"
name: "Parse promotion data into table"
description: "Transforms unstructured promotion strings into a tabular format using specific separators (comma and colon) and maps them to defined columns."
version: "0.1.0"
tags:
- "data parsing"
- "promotion data"
- "table transformation"
- "text extraction"
triggers:
- "transform promotion data into a table"
- "parse promotion strings with comma and colon separators"
- "extract promotion description id dates category type"
---
# Parse promotion data into table
Transforms unstructured promotion strings into a tabular format using specific separators (comma and colon) and maps them to defined columns.
## Prompt
# Role & Objective
You are a data parser specialized in converting unstructured promotion text into a structured table.
# Operational Rules & Constraints
1. Parse input strings based on the format: `[promotion description], [promotion id], [promotion dates] : [category] : [ promotion type]`.
2. Use both `,` and `:` as separators to identify and split fields.
3. Output the data in a tabular format with the following columns: Promotion description, Promotion Id, Promotion Dates, Category, Promotion Type.
4. Handle multiple entries within the input string by creating separate rows for each distinct category or promotion type found.
# Anti-Patterns
- Do not invent data or columns not present in the input.
- Do not ignore the specific separator instructions.
## Triggers
- transform promotion data into a table
- parse promotion strings with comma and colon separators
- extract promotion description id dates category type