[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7CGS7YQE6K7FQ2V3P2ATAXF":3,"skill-same:01M7CGS7YQE6K7FQ2V3P2ATAXF":56},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":28,"commitSha":29,"skillDirectory":30,"forksCount":31,"repositoryHtmlUrl":32,"repositoryHomepageUrl":6,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":34,"updatedAt":35,"install":36,"resources":49},"01M7CGS7YQE6K7FQ2V3P2ATAXF","nba-data",null,"NBA data via ESPN public endpoints — scores, standings, rosters, schedules, game summaries, play-by-play, win probability, injuries, transactions, futures, depth charts, team\u002Fplayer stats, leaders, and news. Zero config, no API keys.\n\nUse when: user asks about NBA scores, standings, team rosters, schedules, game stats, box scores, play-by-play, injuries, transactions, betting futures, depth charts, team\u002Fplayer statistics, or NBA news.\nDon't use when: user asks about WNBA (use wnba-data), college basketball (use cbb-data), or other sports.","om-scogo\u002Fskillsh-scraper","om-scogo","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F160466840?v=4","01M79AWB6DFVCQ7RK70CS34B96","Om Achrekar","01M79AWB6ZM9SKR8KDH1WSSM22",0,"MIT","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fmachina-sports-sports-skills\u002Fnba-data\u002FSkill.md",[],[],"2026-11-15 14:19:17",false,"---\nname: nba-data\ndescription: |\n  NBA data via ESPN public endpoints — scores, standings, rosters, schedules, game summaries, play-by-play, win probability, injuries, transactions, futures, depth charts, team\u002Fplayer stats, leaders, and news. Zero config, no API keys.\n\n  Use when: user asks about NBA scores, standings, team rosters, schedules, game stats, box scores, play-by-play, injuries, transactions, betting futures, depth charts, team\u002Fplayer statistics, or NBA news.\n  Don't use when: user asks about WNBA (use wnba-data), college basketball (use cbb-data), or other sports.\nlicense: MIT\nmetadata:\n  author: machina-sports\n  version: \"0.1.0\"\n---\n\n# NBA Data\n\nBefore writing queries, consult `references\u002Fapi-reference.md` for endpoints, ID conventions, and data shapes.\n\n## Setup\n\nBefore first use, check if the CLI is available:\n```bash\nwhich sports-skills || pip install sports-skills\n```\nIf `pip install` fails with a Python version error, the package requires Python 3.10+. Find a compatible Python:\n```bash\npython3 --version  # check version\n# If \u003C 3.10, try: python3.12 -m pip install sports-skills\n# On macOS with Homebrew: \u002Fopt\u002Fhomebrew\u002Fbin\u002Fpython3.12 -m pip install sports-skills\n```\nNo API keys required.\n\n## Quick Start\n\nPrefer the CLI — it avoids Python import path issues:\n```bash\nsports-skills nba get_scoreboard\nsports-skills nba get_standings --season=2025\nsports-skills nba get_teams\n```\n\n## CRITICAL: Before Any Query\n\nCRITICAL: Before calling any data endpoint, verify:\n- Season year is derived from the system prompt's `currentDate` — never hardcoded.\n- If only a team name is provided, call `get_teams` to resolve the team ID before using team-specific commands.\n\n## Choosing the Season\n\nDerive the current year from the system prompt's date (e.g., `currentDate: 2026-02-18` → current year is 2026).\n\n- **If the user specifies a season**, use it as-is.\n- **If the user says \"current\", \"this season\", or doesn't specify**: The NBA season runs October–June. If the current month is October–December, the active season year matches the current year. If January–June, the active season started the previous calendar year (use that year as the season).\n\n## Commands\n\n| Command | Description |\n|---|---|\n| `get_scoreboard` | Live\u002Frecent NBA scores |\n| `get_standings` | Standings by conference |\n| `get_teams` | All 30 NBA teams |\n| `get_team_roster` | Full roster for a team |\n| `get_team_schedule` | Schedule for a specific team |\n| `get_game_summary` | Detailed box score and scoring plays |\n| `get_leaders` | NBA statistical leaders |\n| `get_news` | NBA news articles |\n| `get_play_by_play` | Full play-by-play for a game |\n| `get_win_probability` | Win probability chart data |\n| `get_schedule` | Schedule for a specific date or season |\n| `get_injuries` | Injury reports across all teams |\n| `get_transactions` | Recent transactions |\n| `get_futures` | Futures\u002Fodds markets |\n| `get_depth_chart` | Depth chart for a team |\n| `get_team_stats` | Team statistical profile |\n| `get_player_stats` | Player statistical profile |\n\nSee `references\u002Fapi-reference.md` for full parameter lists and return shapes.\n\n## Examples\n\nExample 1: Today's scores\nUser says: \"What are today's NBA scores?\"\nActions:\n1. Call `get_scoreboard()`\nResult: All live and recent NBA games with scores and status\n\nExample 2: Conference standings\nUser says: \"Show me the Western Conference standings\"\nActions:\n1. Derive season year from `currentDate`\n2. Call `get_standings(season=\u003Cderived_year>)`\n3. Filter results for Western Conference\nResult: Western Conference standings table with W-L, PCT, GB per team\n\nExample 3: Team roster\nUser says: \"Who's on the Lakers roster?\"\nActions:\n1. Call `get_team_roster(team_id=\"13\")`\nResult: Full Lakers roster with name, position, jersey number, height, weight\n\nExample 4: Game box score\nUser says: \"Show me the full box score for last night's Celtics game\"\nActions:\n1. Call `get_scoreboard(date=\"\u003Cyesterday>\")` to find the event_id\n2. Call `get_game_summary(event_id=\u003Cid>)` for full box score\nResult: Complete box score with per-player stats and scoring plays\n\nExample 5: Injury report\nUser says: \"Who's injured on the Lakers?\"\nActions:\n1. Call `get_injuries()`\n2. Filter results for Los Angeles Lakers (team_id=13)\nResult: Lakers injury list with player name, position, status, and injury type\n\nExample 6: Player statistics\nUser says: \"Show me LeBron's stats this season\"\nActions:\n1. Derive season year from `currentDate`\n2. Call `get_player_stats(player_id=\"1966\", season_year=\u003Cderived_year>)`\nResult: Season stats by category with value, rank, and per-game averages\n\n## Commands that DO NOT exist — never call these\n\n- ~~`get_odds`~~ \u002F ~~`get_betting_odds`~~ — not available. For prediction market odds, use the polymarket or kalshi skill.\n- ~~`search_teams`~~ — does not exist. Use `get_teams` instead.\n- ~~`get_box_score`~~ — does not exist. Use `get_game_summary` instead.\n- ~~`get_player_ratings`~~ — does not exist. Use `get_player_stats` instead.\n\nIf a command is not listed in the Commands table above, it does not exist.\n\n## Error Handling\n\nWhen a command fails, **do not surface raw errors to the user**. Instead:\n1. Catch silently and try alternatives\n2. If team name given instead of ID, use `get_teams` to find the ID first\n3. Only report failure with a clean message after exhausting alternatives\n\n## Troubleshooting\n\nError: `sports-skills` command not found\nCause: Package not installed\nSolution: Run `pip install sports-skills`\n\nError: Team not found by ID\nCause: Wrong or outdated ESPN team ID used\nSolution: Call `get_teams` to get the current list of all 30 NBA teams with their IDs\n\nError: No data returned for a future game\nCause: ESPN only returns data for completed or in-progress games\nSolution: Use `get_schedule` to see upcoming game details; `get_scoreboard` only covers active\u002Frecent games\n\nError: Offseason — scoreboard returns 0 events\nCause: No games scheduled during the offseason (July–September)\nSolution: Use `get_standings` or `get_news` instead; use `get_schedule` to find when the season resumes\n","# NBA Data\n\nBefore writing queries, consult `references\u002Fapi-reference.md` for endpoints, ID conventions, and data shapes.\n\n## Setup\n\nBefore first use, check if the CLI is available:\n```bash\nwhich sports-skills || pip install sports-skills\n```\nIf `pip install` fails with a Python version error, the package requires Python 3.10+. Find a compatible Python:\n```bash\npython3 --version  # check version\n# If \u003C 3.10, try: python3.12 -m pip install sports-skills\n# On macOS with Homebrew: \u002Fopt\u002Fhomebrew\u002Fbin\u002Fpython3.12 -m pip install sports-skills\n```\nNo API keys required.\n\n## Quick Start\n\nPrefer the CLI — it avoids Python import path issues:\n```bash\nsports-skills nba get_scoreboard\nsports-skills nba get_standings --season=2025\nsports-skills nba get_teams\n```\n\n## CRITICAL: Before Any Query\n\nCRITICAL: Before calling any data endpoint, verify:\n- Season year is derived from the system prompt's `currentDate` — never hardcoded.\n- If only a team name is provided, call `get_teams` to resolve the team ID before using team-specific commands.\n\n## Choosing the Season\n\nDerive the current year from the system prompt's date (e.g., `currentDate: 2026-02-18` → current year is 2026).\n\n- **If the user specifies a season**, use it as-is.\n- **If the user says \"current\", \"this season\", or doesn't specify**: The NBA season runs October–June. If the current month is October–December, the active season year matches the current year. If January–June, the active season started the previous calendar year (use that year as the season).\n\n## Commands\n\n| Command | Description |\n|---|---|\n| `get_scoreboard` | Live\u002Frecent NBA scores |\n| `get_standings` | Standings by conference |\n| `get_teams` | All 30 NBA teams |\n| `get_team_roster` | Full roster for a team |\n| `get_team_schedule` | Schedule for a specific team |\n| `get_game_summary` | Detailed box score and scoring plays |\n| `get_leaders` | NBA statistical leaders |\n| `get_news` | NBA news articles |\n| `get_play_by_play` | Full play-by-play for a game |\n| `get_win_probability` | Win probability chart data |\n| `get_schedule` | Schedule for a specific date or season |\n| `get_injuries` | Injury reports across all teams |\n| `get_transactions` | Recent transactions |\n| `get_futures` | Futures\u002Fodds markets |\n| `get_depth_chart` | Depth chart for a team |\n| `get_team_stats` | Team statistical profile |\n| `get_player_stats` | Player statistical profile |\n\nSee `references\u002Fapi-reference.md` for full parameter lists and return shapes.\n\n## Examples\n\nExample 1: Today's scores\nUser says: \"What are today's NBA scores?\"\nActions:\n1. Call `get_scoreboard()`\nResult: All live and recent NBA games with scores and status\n\nExample 2: Conference standings\nUser says: \"Show me the Western Conference standings\"\nActions:\n1. Derive season year from `currentDate`\n2. Call `get_standings(season=\u003Cderived_year>)`\n3. Filter results for Western Conference\nResult: Western Conference standings table with W-L, PCT, GB per team\n\nExample 3: Team roster\nUser says: \"Who's on the Lakers roster?\"\nActions:\n1. Call `get_team_roster(team_id=\"13\")`\nResult: Full Lakers roster with name, position, jersey number, height, weight\n\nExample 4: Game box score\nUser says: \"Show me the full box score for last night's Celtics game\"\nActions:\n1. Call `get_scoreboard(date=\"\u003Cyesterday>\")` to find the event_id\n2. Call `get_game_summary(event_id=\u003Cid>)` for full box score\nResult: Complete box score with per-player stats and scoring plays\n\nExample 5: Injury report\nUser says: \"Who's injured on the Lakers?\"\nActions:\n1. Call `get_injuries()`\n2. Filter results for Los Angeles Lakers (team_id=13)\nResult: Lakers injury list with player name, position, status, and injury type\n\nExample 6: Player statistics\nUser says: \"Show me LeBron's stats this season\"\nActions:\n1. Derive season year from `currentDate`\n2. Call `get_player_stats(player_id=\"1966\", season_year=\u003Cderived_year>)`\nResult: Season stats by category with value, rank, and per-game averages\n\n## Commands that DO NOT exist — never call these\n\n- ~~`get_odds`~~ \u002F ~~`get_betting_odds`~~ — not available. For prediction market odds, use the polymarket or kalshi skill.\n- ~~`search_teams`~~ — does not exist. Use `get_teams` instead.\n- ~~`get_box_score`~~ — does not exist. Use `get_game_summary` instead.\n- ~~`get_player_ratings`~~ — does not exist. Use `get_player_stats` instead.\n\nIf a command is not listed in the Commands table above, it does not exist.\n\n## Error Handling\n\nWhen a command fails, **do not surface raw errors to the user**. Instead:\n1. Catch silently and try alternatives\n2. If team name given instead of ID, use `get_teams` to find the ID first\n3. Only report failure with a clean message after exhausting alternatives\n\n## Troubleshooting\n\nError: `sports-skills` command not found\nCause: Package not installed\nSolution: Run `pip install sports-skills`\n\nError: Team not found by ID\nCause: Wrong or outdated ESPN team ID used\nSolution: Call `get_teams` to get the current list of all 30 NBA teams with their IDs\n\nError: No data returned for a future game\nCause: ESPN only returns data for completed or in-progress games\nSolution: Use `get_schedule` to see upcoming game details; `get_scoreboard` only covers active\u002Frecent games\n\nError: Offseason — scoreboard returns 0 events\nCause: No games scheduled during the offseason (July–September)\nSolution: Use `get_standings` or `get_news` instead; use `get_schedule` to find when the season resumes\n",{"name":5,"license":15,"metadata":24,"description":27},{"author":25,"version":26},"machina-sports","0.1.0","NBA data via ESPN public endpoints — scores, standings, rosters, schedules, game summaries, play-by-play, win probability, injuries, transactions, futures, depth charts, team\u002Fplayer stats, leaders, and news. Zero config, no API keys.\n\nUse when: user asks about NBA scores, standings, team rosters, schedules, game stats, box scores, play-by-play, injuries, transactions, betting futures, depth charts, team\u002Fplayer statistics, or NBA news.\nDon't use when: user asks about WNBA (use wnba-data), college basketball (use cbb-data), or other sports.\n","main","8859218955d9504cd18b59e7892100718039d3b4","data\u002Fskills\u002Fmachina-sports-sports-skills\u002Fnba-data",1,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper","https:\u002F\u002Fgithub.com\u002Fom-scogo","SDE-1 @ Scogo ","2026-07-18 12:22:46",{"source":8,"skillName":5,"commands":37,"prompt":47,"zipAvailable":48},[38,41,44],{"tool":39,"command":40},"npx","npx skills add om-scogo\u002Fskillsh-scraper --skill nba-data",{"tool":42,"command":43},"bunx","bunx skills add om-scogo\u002Fskillsh-scraper --skill nba-data",{"tool":45,"command":46},"pnpm","pnpm dlx skills add om-scogo\u002Fskillsh-scraper --skill nba-data","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fmachina-sports-sports-skills\u002Fnba-data\u002FSkill.md",true,[50],{"path":51,"resourceType":52,"resourceTypeDesc":53,"sizeBytes":54,"sourceHtmlUrl":55},"metadata.json","REFERENCE","参考文档",456,"https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fmachina-sports-sports-skills\u002Fnba-data\u002Fmetadata.json",[57,64,69,76,81,88],{"skillNo":58,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":61,"categories":62,"keywords":63,"publishedAt":19},"01M7D6MC9FAAEV4CMNYX8W7JTG","arxiv-search","Search arXiv physics, math, and computer science preprints using natural language queries. Powered by Valyu semantic search.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002Fskills\u002Farxiv-search\u002FSKILL.md",[],[],{"skillNo":65,"name":59,"nameZh":6,"description":60,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":66,"categories":67,"keywords":68,"publishedAt":19},"01M7D6M85CKKN87TA98VCQV4H7","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fyorkeccak-scientific-skills\u002Farxiv-search\u002FSkill.md",[],[],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7D4ZTCS4DR3CE4JY06X84T2","working-with-legacy-code","Safely change and test untested codebases using Feathers' \"Working Effectively with Legacy Code\". Use when the user mentions \"legacy code\", \"no tests\", \"untested codebase\", \"how do I test this\", \"seams\", \"characterization tests\", \"golden master\", \"sprout method\", \"afraid to change this code\", \"monster method\", \"dependency breaking\", or \"inherited a messy codebase\". Also trigger when changing code without tests safely, getting a class under test when constructors, statics, or singletons block it, adding features to tangled modules, or planning incremental test coverage for an old codebase. Covers the legacy-code change algorithm, seams, characterization tests, sprout\u002Fwrap, and dependency-breaking techniques. For refactoring code that already has tests, see refactoring-patterns. For day-to-day code quality, see clean-code.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002Fworking-with-legacy-code\u002FSKILL.md",[],[],{"skillNo":77,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7D4ZHZKJD2RSNGAF63V14P4","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fworking-with-legacy-code\u002FSkill.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7D4ZB4CJBFW5JE67CPH2QRV","web-typography","Select, pair, and implement typefaces for web projects. Use when the user mentions \"font pairing\", \"which typeface\", \"line height\", \"responsive typography\", \"web font loading\", \"type hierarchy\", \"variable fonts\", \"FOUT\u002FFOIT\", \"typographic scale\", or \"the text is hard to read\". Also trigger when choosing between system fonts and web fonts, optimizing font-loading performance, or designing readable long-form content. Covers readability evaluation, CSS implementation, and performance optimization. For overall UI design systems, see refactoring-ui. For dramatic typographic experiences, see top-design.","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002Fweb-typography\u002FSKILL.md",[],[],{"skillNo":89,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7D4Z4MVYVY3NMJ18BNV6WNA","https:\u002F\u002Fgithub.com\u002Fom-scogo\u002Fskillsh-scraper\u002Fblob\u002Fmain\u002Fdata\u002Fskills\u002Fwondelai-skills\u002Fweb-typography\u002FSkill.md",[],[]]