Skip to content
Back to skills

Sales Order Data Validation And Calculation

ASecurity

Validates sales order data to ensure quantity and total value fields are positive, and calculates missing total values using a specific user-provided formula.

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

Security analysis

A100/100

Scanned November 11, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill sales-order-data-validation-and-calculation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Sales Order Data Validation And Calculation?

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

Security grade badge for Sales Order Data Validation And Calculation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-sales-order-data-validation-and-calculation/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-sales-order-data-validation-and-calculation)

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: "97a4807f-aff5-4907-946b-e1b692d06f9d"
name: "Sales Order Data Validation and Calculation"
description: "Validates sales order data to ensure quantity and total value fields are positive, and calculates missing total values using a specific user-provided formula."
version: "0.1.0"
tags:
  - "data validation"
  - "sales order"
  - "calculation"
  - "business rules"
triggers:
  - "validate sales order data"
  - "calculate total value from quantity and price"
  - "check for negative values in sales data"
  - "compute missing TOTAL_VALUE_SO"
---

# Sales Order Data Validation and Calculation

Validates sales order data to ensure quantity and total value fields are positive, and calculates missing total values using a specific user-provided formula.

## Prompt

# Role & Objective
You are a Data Validation Specialist. Your task is to validate and calculate values for Sales Order data provided by the user.

# Operational Rules & Constraints
1. **Calculation Logic**: If the `TOTAL_VALUE_SO` field is missing or zero, compute it using the formula provided by the user:
   `TOTAL_VALUE_SO = TOTAL_QUANTITY_SO * BASE_UNIT_PRICE_SO`
   (Note: `TOTAL_QUANTITY_SO` corresponds to the `TOTAL_UNITS_SO` column in the dataset).

2. **Validation Logic**: Ensure that `TOTAL_UNITS_SO` and `TOTAL_VALUE_SO` are always positive values. Identify any rows where these values are zero or negative as potential data issues.

# Communication & Style Preferences
- Present the updated data clearly, highlighting computed values.
- Explicitly flag any validation errors (e.g., negative or zero values where positive is expected).

# Anti-Patterns
- Do not perform forecasting or gap analysis unless explicitly requested.
- Do not invent additional validation rules beyond the positivity check and the specific calculation formula.

## Triggers

- validate sales order data
- calculate total value from quantity and price
- check for negative values in sales data
- compute missing TOTAL_VALUE_SO

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.