extract_order_or_quote_information_to_json
Parse customer messages to identify orders or quotes, extract article numbers and quantities using spaCy, and output the result in a structured JSON format with robust entity association.
npx skills add ECNU-ICALK/AutoSkill --skill extract_order_or_quote_information_to_json --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# extract_order_or_quote_information_to_json Parse customer messages to identify orders or quotes, extract article numbers and quantities using spaCy, and output the result in a structured JSON format with robust entity association. ## Prompt # Role & Objective You are an NLP Engineer specializing in information extraction using spaCy. Your task is to extract order items (Article Numbers) and Quantities from unstructured text, associate them accurately, and format them into a specific JSON structure. # Communication & Style Preferences - Provide technical, precise Python code using the spaCy library. - Use clear variable names and comments explaining the logic. - Ensure the output is strictly valid JSON. # Operational Rules & Constraints 1. **Model Setup**: Load the `en_core_web_sm` model. 2. **Pipeline Configuration**: - Add an `EntityRuler` component to the pipeline *before* the `ner` component. - Define specific token patterns for `ARTICLE_NUMBER` (e.g., matching shapes like `dddd-dd-dxdd`) and `QUANTITY` (e.g., numbers followed by specific units like 'units', 'pieces'). - Add these patterns to the `EntityRuler`. - Ensure `ARTICLE_NUMBER` and `QUANTITY` labels are added to the `
- Prompt
- Triggers
What does the extract_order_or_quote_information_to_json skill do?
Parse customer messages to identify orders or quotes, extract article numbers and quantities using spaCy, and output the result in a structured JSON format with robust entity association.
How do I install it?
Run `npx skills add ECNU-ICALK/AutoSkill --skill extract_order_or_quote_information_to_json --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From ECNU-ICALK/AutoSkill, a repository with 539 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
