AutoSkill 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.
install
source · Clone the upstream repo
git clone https://github.com/ECNU-ICALK/AutoSkill
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/ECNU-ICALK/AutoSkill "$T" && mkdir -p ~/.claude/skills && cp -r "$T/SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/parse-promotion-data-strings-into-table" ~/.claude/skills/ecnu-icalk-autoskill-parse-promotion-data-strings-into-table && rm -rf "$T"
manifest:
SkillBank/ConvSkill/english_gpt3.5_8_GLM4.7/parse-promotion-data-strings-into-table/SKILL.mdsource content
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
- Parse the input data based on the format:
.[promotion description], [promotion id], [promotion dates] : [category] : [ promotion type] - Use both ',' and ':' as separators to split the string into the required fields.
- Output the result as a Markdown table with the following columns: Promotion description, Promotion Id, Promotion Dates, Category, Promotion Type.
- 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