basketball-stats

Format basketball statistics with the StatsFormatter class for percentages, averages, and totals.

1|Updated Jan 26, 2020
One-click install
npx skills add https://github.com/a-jay85/IBL5 --skill basketball-stats
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: basketball-stats
Source: https://github.com/a-jay85/IBL5/tree/main/.claude/skills/basketball-stats
Command: npx skills add https://github.com/a-jay85/IBL5 --skill basketball-stats

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill standardizes the formatting of various basketball statistics, ensuring consistency and readability across different contexts.

Core Features & Use Cases

  • Percentage Formatting: Displays shooting percentages (FG%, 3P%, FT%) with precise decimal places.
  • Averages Calculation: Computes and formats per-game and per-36-minute statistics.
  • Total Formatting: Presents counting stats with appropriate comma separators.
  • Use Case: Displaying a player's career stats line in a clean, professional format for a team website or fantasy league interface.

Quick Start

Use the basketball-stats skill to format the player's field goal percentage using their made and attempted field goals.

Frequently Asked Questions about basketball-stats

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I format basketball statistics for consistent data display?

To format basketball statistics, apply specific formatting rules to percentages, averages, and totals to ensure numerical consistency and readability across sports data applications. This standardizes player and team metrics for professional presentation.

How do I calculate and display per-game basketball averages?

Calculate per-game and per-36-minute basketball averages by processing counting stats through a dedicated formatting class. This computes the performance metrics and applies appropriate formatting rules for consistent numerical display.

How do I handle zero-division errors when calculating shooting percentages?

Handle zero-division for shooting percentages by applying custom formatting rules during the calculation of field goal, three-point, and free throw metrics. This ensures accurate numerical display even when a player has zero attempts.

Can I customize decimal places for different basketball stat types?

You can apply custom decimal places to different basketball stat types using specific formatting rules. This allows precise control over how percentages, averages, and totals are presented for player or team statistics.

What is the best way to format counting stats with comma separators?

Format counting stats with appropriate comma separators by processing the raw totals through the statistics formatter. This presents numerical basketball data cleanly and improves readability for career stat lines.

Does this basketball stats formatter work for both player and team data?

The basketball statistics formatter applies to displaying both player and team statistics. It calculates performance metrics and ensures numerical consistency across different sports data contexts and applications.