Parse promotion data into table
Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt3.5_8/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.From its SKILL.md
npx -y skills add ECNU-ICALK/AutoSkill --skill parse-promotion-data-into-tableAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
1.6 KB, 224 tokens by cl100k_base, as published. Nobody here has run it
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
- Parse input strings based on the format:
[promotion description], [promotion id], [promotion dates] : [category] : [ promotion type]. - Use both
,and:as separators to identify and split fields. - Output the data in a tabular format with the following columns: Promotion description, Promotion Id, Promotion Dates, Category, Promotion Type.
- 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
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.