[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6KJD05RBVC7VP8AJ43WJHNS":3,"skill-same:01M6KJD05RBVC7VP8AJ43WJHNS":65},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6KJD05RBVC7VP8AJ43WJHNS","github-api-queries",null,"Query GitHub API for pull requests and issues within a date range, retrieving all metadata needed for metrics collection. Use this skill whenever you need to fetch GitHub PR or issue data with date filtering, especially when gathering activity reports or computing statistics across a time period.","cxcscmu\u002FSkillLearnBench","cxcscmu","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F142838272?v=4","01M6KCQDFQWPDSN0MKZY96MSQP","01M6KCQDM7G70TKJ28NTSQC0RZ",93,"MIT","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-haiku-4-5\u002Fgithub-repo-analytics\u002Fgithub-api-queries\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"queries","github api queries","github","api","collection","pull","fetch","filtering","use","reports","issues","github pr","query","time","across","statistics","with","you","for","pr","2026-11-10 10:12:30",false,"---\nname: github-api-queries\ndescription: Query GitHub API for pull requests and issues within a date range, retrieving all metadata needed for metrics collection. Use this skill whenever you need to fetch GitHub PR or issue data with date filtering, especially when gathering activity reports or computing statistics across a time period.\n---\n\n# GitHub API Queries for Metrics Collection\n\nThis skill demonstrates how to query the GitHub API for pull requests and issues using the `gh` CLI tool, extracting all necessary metadata for downstream analysis.\n\n## Prerequisites\n\n- `gh` CLI installed and authenticated to GitHub\n- Target repository in the format `owner\u002Frepo` (e.g., `cli\u002Fcli`)\n- Date range for filtering (e.g., `2024-12-01..2024-12-31`)\n\n## Querying Pull Requests\n\nUse `gh pr list` with date filtering to retrieve all PRs created during a period:\n\n```bash\ngh pr list --repo cli\u002Fcli \\\n  --state all \\\n  --search \"created:2024-12-01..2024-12-31\" \\\n  --json number,title,author,createdAt,mergedAt,closedAt,state \\\n  --limit 1000\n```\n\n**Key flags:**\n- `--state all`: Includes both open and closed PRs\n- `--search \"created:2024-12-01..2024-12-31\"`: GitHub search syntax for date ranges\n- `--json`: Specify exact fields needed (number, author, timestamps, state)\n- `--limit 1000`: Fetch up to 1000 results (pagination handled by `gh`)\n\n**Important fields for metrics:**\n- `number`: PR identifier\n- `author`: Object with `login` field for contributor tracking\n- `createdAt`: ISO timestamp for PR creation\n- `mergedAt`: ISO timestamp for merge (null if not merged)\n- `closedAt`: ISO timestamp for closure (null if still open)\n- `state`: OPEN, CLOSED, or MERGED\n\n## Querying Issues\n\nUse `gh issue list` for issues:\n\n```bash\ngh issue list --repo cli\u002Fcli \\\n  --state all \\\n  --search \"created:2024-12-01..2024-12-31\" \\\n  --json number,title,labels,createdAt,closedAt,state \\\n  --limit 1000\n```\n\n**Key fields for metrics:**\n- `labels`: Array of label objects with `name` field (use for bug detection)\n- `closedAt`: Timestamp for closure (null if still open)\n\n## Error Handling\n\nIf `gh` returns a rate limit error, wait and retry:\n```bash\n# Check remaining API quota\ngh api rate_limit\n```\n\nIf authentication fails, ensure:\n```bash\ngh auth status\n```\n\n## Output Format\n\nBoth queries return JSON arrays. Each item includes the fields specified in `--json`. Example PR object:\n\n```json\n{\n  \"number\": 12345,\n  \"title\": \"Add feature X\",\n  \"author\": {\n    \"login\": \"octocat\"\n  },\n  \"createdAt\": \"2024-12-05T14:30:00Z\",\n  \"mergedAt\": \"2024-12-10T16:45:00Z\",\n  \"closedAt\": null,\n  \"state\": \"MERGED\"\n}\n```\n\n## Date Format\n\nAll timestamps use ISO 8601 format (UTC). For calculations, parse with standard datetime libraries:\n- Python: `datetime.fromisoformat()`\n- JavaScript: `new Date()` or `Date.parse()`\n- Bash: Convert via epoch for arithmetic\n\n## Tips for Reliability\n\n- Always use `--limit 1000` or higher to ensure all results are captured (verify count matches expectation)\n- Dates must use `YYYY-MM-DD` format in search queries\n- Include both endpoints of the range (results are inclusive of both dates)\n- When comparing timestamps, ensure consistent timezone handling (all GitHub timestamps are UTC)\n","# GitHub API Queries for Metrics Collection\n\nThis skill demonstrates how to query the GitHub API for pull requests and issues using the `gh` CLI tool, extracting all necessary metadata for downstream analysis.\n\n## Prerequisites\n\n- `gh` CLI installed and authenticated to GitHub\n- Target repository in the format `owner\u002Frepo` (e.g., `cli\u002Fcli`)\n- Date range for filtering (e.g., `2024-12-01..2024-12-31`)\n\n## Querying Pull Requests\n\nUse `gh pr list` with date filtering to retrieve all PRs created during a period:\n\n```bash\ngh pr list --repo cli\u002Fcli \\\n  --state all \\\n  --search \"created:2024-12-01..2024-12-31\" \\\n  --json number,title,author,createdAt,mergedAt,closedAt,state \\\n  --limit 1000\n```\n\n**Key flags:**\n- `--state all`: Includes both open and closed PRs\n- `--search \"created:2024-12-01..2024-12-31\"`: GitHub search syntax for date ranges\n- `--json`: Specify exact fields needed (number, author, timestamps, state)\n- `--limit 1000`: Fetch up to 1000 results (pagination handled by `gh`)\n\n**Important fields for metrics:**\n- `number`: PR identifier\n- `author`: Object with `login` field for contributor tracking\n- `createdAt`: ISO timestamp for PR creation\n- `mergedAt`: ISO timestamp for merge (null if not merged)\n- `closedAt`: ISO timestamp for closure (null if still open)\n- `state`: OPEN, CLOSED, or MERGED\n\n## Querying Issues\n\nUse `gh issue list` for issues:\n\n```bash\ngh issue list --repo cli\u002Fcli \\\n  --state all \\\n  --search \"created:2024-12-01..2024-12-31\" \\\n  --json number,title,labels,createdAt,closedAt,state \\\n  --limit 1000\n```\n\n**Key fields for metrics:**\n- `labels`: Array of label objects with `name` field (use for bug detection)\n- `closedAt`: Timestamp for closure (null if still open)\n\n## Error Handling\n\nIf `gh` returns a rate limit error, wait and retry:\n```bash\n# Check remaining API quota\ngh api rate_limit\n```\n\nIf authentication fails, ensure:\n```bash\ngh auth status\n```\n\n## Output Format\n\nBoth queries return JSON arrays. Each item includes the fields specified in `--json`. Example PR object:\n\n```json\n{\n  \"number\": 12345,\n  \"title\": \"Add feature X\",\n  \"author\": {\n    \"login\": \"octocat\"\n  },\n  \"createdAt\": \"2024-12-05T14:30:00Z\",\n  \"mergedAt\": \"2024-12-10T16:45:00Z\",\n  \"closedAt\": null,\n  \"state\": \"MERGED\"\n}\n```\n\n## Date Format\n\nAll timestamps use ISO 8601 format (UTC). For calculations, parse with standard datetime libraries:\n- Python: `datetime.fromisoformat()`\n- JavaScript: `new Date()` or `Date.parse()`\n- Bash: Convert via epoch for arithmetic\n\n## Tips for Reliability\n\n- Always use `--limit 1000` or higher to ensure all results are captured (verify count matches expectation)\n- Dates must use `YYYY-MM-DD` format in search queries\n- Include both endpoints of the range (results are inclusive of both dates)\n- When comparing timestamps, ensure consistent timezone handling (all GitHub timestamps are UTC)\n",{"name":5,"description":7},"main","726e1f79b96b0cb3d729d0e55a1c847e0b5353ae","skills\u002Fb4-skill-creator-claude-haiku-4-5\u002Fgithub-repo-analytics\u002Fgithub-api-queries",8,"https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench","https:\u002F\u002Fcxcscmu.github.io\u002FSkillLearnBench","https:\u002F\u002Fgithub.com\u002Fcxcscmu","2026-10-02 22:55:36",{"source":8,"skillName":5,"commands":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add cxcscmu\u002FSkillLearnBench --skill github-api-queries",{"tool":57,"command":58},"bunx","bunx skills add cxcscmu\u002FSkillLearnBench --skill github-api-queries",{"tool":60,"command":61},"pnpm","pnpm dlx skills add cxcscmu\u002FSkillLearnBench --skill github-api-queries","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fb4-skill-creator-claude-haiku-4-5\u002Fgithub-repo-analytics\u002Fgithub-api-queries\u002FSKILL.md",true,[],[66,79,100,117,137,148],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":38},"01M6KM5KH175P5ABP5JMX2SBDQ","object_counter","Count occurrences of an object in the image using computer vision algorithm.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Fvideo-object-counting\u002Fobject_counter\u002FSKILL.md",[],[73,74,75,76,77,78],"object counter","object","vision","computer","Computer Vision","image",{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":38},"01M6KM51TMVXG79MMPCS6Y8G86","travel-planning-workflow","Invoke this skill when performing travel planning. It defines a structured workflow for generating itineraries. Following this workflow is essential to ensure the final plan satisfies user requirements.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Ftravel-planning-workflow\u002FSKILL.md",[],[86,87,88,89,90,91,92,93,94,36,95,96,97,98,99],"workflow","planning","planning workflow","travel","travel planning","travel planning workflow","structured","performing","plan","user","it","requirements","essential","itineraries",{"skillNo":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":38},"01M6KM4DY820XHS9YTSK5QP5HD","bundled-dataset-search-tool","invoke this skill when you need to perform database search for travel planning. This skill provides some useful pre-packaged tools to look up accommodations, attractions, cities, driving distance, flights, and restaurants from the bundled dataset.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftravel-planning\u002Fbundled-dataset-search-tool\u002FSKILL.md",[],[107,108,109,110,111,112,113,89,114,115,90,35,36,116,87],"search","tool","dataset","bundled dataset search tool","restaurants","Tools","up","look","flights","database",{"skillNo":118,"name":119,"nameZh":6,"description":120,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":38},"01M6KM465BB9PQ0B548HQSVAWZ","glm-output","Output-processing guidance for GLM tasks. Especially useful after glm-basics and glm-calibration when you need verifier-matching metrics from output.nc and a final \u002Froot\u002Fmetrics.json.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-output\u002FSKILL.md",[],[124,125,126,36,127,128,129,130,131,132,133,134,35,135,136],"glm output","output","glm","tasks","metrics","json","basics","guidance","matching","verifier","processing","root","calibration",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"publishedAt":38},"01M6KM40KY3QWDW5W97S39R2BC","glm-calibration","Calibration guidance for GLM tasks. Often most effective after glm-basics has clarified the setup; glm-output is the companion skill for exact final metric computation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-calibration\u002FSKILL.md",[],[144,136,126,125,131,130,127,145,146,36,147],"glm calibration","setup","companion","metric",{"skillNo":149,"name":150,"nameZh":6,"description":151,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":152,"categories":153,"keywords":154,"publishedAt":38},"01M6KM3VHHVSGMGHJQB3PPT6YG","glm-basics","A good starting point for GLM calibration tasks. Use to inspect glm3.nml, confirm how GLM runs, and identify the relevant files before moving on to calibration and output evaluation.","https:\u002F\u002Fgithub.com\u002Fcxcscmu\u002FSkillLearnBench\u002Fblob\u002Fmain\u002Fskills\u002Fhuman_authored\u002Ftemperature-simulation\u002Fglm-basics\u002FSKILL.md",[],[155,126,130,156,144,136,36,125,157,158,159,26,160,161,127],"glm basics","inspect","relevant","files","good","how","Evaluation"]