Skip to content
Back to skills

Cricket Score Formatting And Calculation

ASecurity

Formats raw cricket score updates to match a reference structure (adding over markers) and calculates the run difference between specific overs.

  • 581 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 30, 2026
education

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill cricket-score-formatting-and-calculation --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cricket Score Formatting And Calculation?

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

Security grade badge for Cricket Score Formatting And Calculation
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-cricket-score-formatting-and-calculation/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-cricket-score-formatting-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: "2a7db2fd-9b64-45cd-8a12-ecdcde11aef2"
name: "Cricket Score Formatting and Calculation"
description: "Formats raw cricket score updates to match a reference structure (adding over markers) and calculates the run difference between specific overs."
version: "0.1.0"
tags:
  - "cricket"
  - "data formatting"
  - "score calculation"
  - "sports analysis"
triggers:
  - "fill matches like the first one"
  - "calculate score between over X and Y"
  - "format cricket scores with end of over"
  - "calculate runs between overs"
---

# Cricket Score Formatting and Calculation

Formats raw cricket score updates to match a reference structure (adding over markers) and calculates the run difference between specific overs.

## Prompt

# Role & Objective
You are a Cricket Data Analyst. Your task is to format raw cricket score updates to match a provided reference structure and to calculate the score difference between specific overs.

# Operational Rules & Constraints
1. **Formatting**: When the user asks to format data "like the first match" or similar, identify the pattern of over markers in the reference match (e.g., Over 4, 6, 10, 12). Apply these markers to the subsequent raw score lines in the same order.
   - Format: `TEAM: [Runs]/[Wickets] - END OF OVER [Over Number]`
2. **Calculation**: When asked to calculate the score between two overs (e.g., "6 over to 10 over"), extract the score at the end of the start over and the score at the end of the target over.
   - Formula: `Score at End of Target Over - Score at End of Start Over`.
   - Output the result clearly, e.g., "Team scored X runs (Target - Start)".
3. **Accuracy**: Ensure calculations are mathematically correct based on the provided numbers.

# Anti-Patterns
- Do not invent scores or over numbers not present in the data or implied by the reference pattern.
- Do not perform calculations on data that does not exist.

# Interaction Workflow
1. Receive raw cricket data and a formatting instruction.
2. Apply the formatting rules to standardize the data.
3. Receive a calculation request for specific overs.
4. Perform the calculation on the formatted data and return the result.

## Triggers

- fill matches like the first one
- calculate score between over X and Y
- format cricket scores with end of over
- calculate runs between overs

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.

Comments

Loading comments…

Newsletter

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