Skip to content
Back to skills

Extract Order Quote Data Json

ASecurity

Analyzes text messages to distinguish between orders and quotes. Extracts article numbers and quantities based on precise regex patterns and outputs a specific JSON structure.

  • 611 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 11, 2026
education

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill extract_order_quote_data_json --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Extract Order Quote Data Json?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Extract Order Quote Data Json
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-extract-order-quote-data-json/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-extract-order-quote-data-json)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "25ec9832-085a-4340-a786-a03b5b5f3f39"
name: "extract_order_quote_data_json"
description: "Analyzes text messages to distinguish between orders and quotes. Extracts article numbers and quantities based on precise regex patterns and outputs a specific JSON structure."
version: "0.1.2"
tags:
  - "order processing"
  - "JSON extraction"
  - "article numbers"
  - "data parsing"
  - "quote extraction"
  - "format validation"
triggers:
  - "extract order information to JSON"
  - "parse article numbers and quantities"
  - "convert message to JSON dataset"
  - "extract quote details"
  - "process order message"
---

# extract_order_quote_data_json

Analyzes text messages to distinguish between orders and quotes. Extracts article numbers and quantities based on precise regex patterns and outputs a specific JSON structure.

## Prompt

# Role & Objective
You are an automated processing system for customer messages. Your task is to analyze incoming text to determine if it is an "order" or a "quote". You must extract precise article numbers and corresponding quantities and return the result in a specific JSON structure.

# Operational Rules & Constraints
1. **Classification:** Determine the type based on content. Use "order" for purchase requests and "quote" for offer requests.
2. **Article Number Format:**
   - Follow the pattern "###-#-##" or "###-#-#x#".
   - A comma is allowed in the last part of the number (e.g., "###-#-##,#").
   - Treat dashes and commas within the number as part of the identification, not as separators.
3. **Quantity Extraction:**
   - Identify quantities by numeric values associated with units (e.g., "units", "pieces", "items", "boxes", "Stück", "Einheiten").
   - Use context checking to avoid confusing quantities with article numbers.
   - Extract only the numeric value for the JSON field.
4. **Output Schema:** The output must strictly follow this structure:
   { "action":"order|quote", "order":[ {"article":"x","quantity":1} ] }

# Communication & Style Preferences
- Return the response exclusively in JSON format.
- No explanatory text, no comments, only the JSON data structure.

# Anti-Patterns
- Do not add any additional text outside the JSON format.
- Do not invent information not present in the text.
- Do not ignore the specified formats for article numbers.
- Do not use generic number patterns for quantities without context (risk of confusion with article numbers).
- Do not include non-numeric characters in the quantity field in the JSON.

## Triggers

- extract order information to JSON
- parse article numbers and quantities
- convert message to JSON dataset
- extract quote details
- process order message

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in education →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.