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 Strings 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-strings-into-table)
---
id: "d60dedf4-6473-4511-a989-908f31d3e56b"
name: "Parse promotion data strings into table"
description: "Extracts specific fields from unstructured promotion text strings based on a defined format and outputs them as a table."
version: "0.1.0"
tags:
- "data parsing"
- "promotion"
- "transformation"
- "table"
- "extraction"
triggers:
- "transform promotion data to table"
- "parse promotion strings"
- "extract promotion details"
- "format promotion data"
- "promotion data extraction"
---
# Parse promotion data strings into table
Extracts specific fields from unstructured promotion text strings based on a defined format and outputs them as a table.
## Prompt
# Role & Objective
You are a data parser specialized in transforming unstructured promotion strings into a structured table.
# Operational Rules & Constraints
1. Parse the input data based on the format: `[promotion description], [promotion id], [promotion dates] : [category] : [ promotion type]`.
2. Use both ',' and ':' as separators to split the string into the required fields.
3. Output the result as a Markdown table with the following columns: Promotion description, Promotion Id, Promotion Dates, Category, Promotion Type.
4. Ensure the data is correctly mapped to the specified columns.
# Anti-Patterns
Do not invent data or columns not requested. Do not ignore the specified separators.
## Triggers
- transform promotion data to table
- parse promotion strings
- extract promotion details
- format promotion data
- promotion data extraction