skills/emz1998/engineering-nba-data/SKILL.md
Extracts, transforms, and analyzes NBA statistics using the nba_api Python library. Use when working with NBA player stats, team data, game logs, shot charts, league statistics, or any NBA-related data engineering tasks. Supports both stats.nba.com endpoints and static player/team lookups.
npx skillsauth add aiskillstore/marketplace engineering-nba-dataInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Goal: Extract and process NBA statistical data efficiently using the nba_api library for data analysis, reporting, and application development.
IMPORTANT: The nba_api library accesses stats.nba.com endpoints. All data requests return structured datasets that can be output as JSON, dictionaries, or pandas DataFrames.
pip install nba_api if not yet installedfrom nba_api.stats.endpoints import [endpoint_name] for stats.nba.com datafrom nba_api.stats.static import players, teams for static lookupsfrom nba_api.stats.library.parameters import [parameter_classes] for valid parameter valuesFor Player/Team Lookups (No API Calls):
players.find_players_by_full_name('player_name') for player searchesteams.find_teams_by_full_name('team_name') for team searchesid, full_name, and other metadataFor Stats Endpoints (API Calls):
endpoint_class(param1=value1, param2=value2)response_object.dataset_name.get_json() for JSON string.get_dict() for dictionary.get_data_frame() for pandas DataFrameCustom Request Configuration:
endpoint_class(player_id=123, headers=custom_headers)endpoint_class(player_id=123, proxy='127.0.0.1:80')endpoint_class(player_id=123, timeout=100) (in seconds)df.to_csv('output.csv', index=False).get_json() or df.to_json().to_sql() methodnba_api must be installed before useYYYY-YY (e.g., 2019-20)00, ABA=01, WNBA=10, G-League=20Quick access to common resources:
Endpoint-specific documentation:
Refer to docs/nba_api/stats/endpoints/[endpoint_name].md for detailed parameter and dataset information for each endpoint.
development
Apple Human Interface Guidelines for content display components. Use this skill when the user asks about charts component, collection view, image view, web view, color well, image well, activity view, lockup, data visualization, content display, displaying images, rendering web content, color pickers, or presenting collections of items in Apple apps. Also use when the user says how should I display charts, what's the best way to show images, should I use a web view, how do I build a grid of items, what component shows media, or how do I present a share sheet. Cross-references: hig-foundations for color/typography/accessibility, hig-patterns for data visualization patterns, hig-components-layout for structural containers, hig-platforms for platform-specific component behavior.
tools
Automate HelpDesk tasks via Rube MCP (Composio): list tickets, manage views, use canned responses, and configure custom fields. Always search tools first for current schemas.
testing
Expert Haskell engineer specializing in advanced type systems, pure functional design, and high-reliability software. Use PROACTIVELY for type-level programming, concurrency, and architecture guidance.
tools
GraphQL gives clients exactly the data they need - no more, no less. One endpoint, typed schema, introspection. But the flexibility that makes it powerful also makes it dangerous. Without proper controls, clients can craft queries that bring down your server. This skill covers schema design, resolvers, DataLoader for N+1 prevention, federation for microservices, and client integration with Apollo/urql. Key insight: GraphQL is a contract. The schema is the API documentation. Design it carefully.