[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6EE6CM6ZNADESKFKH62RX8D":3,"skill-same:01M6EE6CM6ZNADESKFKH62RX8D":54},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":21,"linkOnly":22,"markdownContent":23,"markdownBody":23,"frontMatter":24,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":28,"repositoryHtmlUrl":29,"repositoryHomepageUrl":30,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M6EE6CM6ZNADESKFKH62RX8D","mastering-github-agent-skill",null,"ComeOnOliver\u002Fskillshub","ComeOnOliver","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F43215937?v=4","01M6E5JNFECJAAVFE0W7SMWWD2","Haoran Shu","01M6E5JNNDQS7AJZDYFQ8TPZCK",67,"MIT","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FSpillwaveSolutions\u002Fmastering-github-agent-skill\u002Fmastering-github-agent-skill\u002FSKILL.md",[],[18,19,20],"github","agent skill","mastering github agent skill","2026-11-10 10:12:30",false,"# Mastering GitHub CLI\n\nCommand-line interface for GitHub operations: search, monitoring, resource creation, workflow authoring, and automation.\n\n## Contents\n\n- [Quick Start](#quick-start)\n- [Command Reference](#command-reference)\n- [Workflow Authoring](#workflow-authoring)\n- [Scripts](#scripts)\n- [Validation Checklist](#validation-checklist)\n- [When Not to Use](#when-not-to-use)\n\n---\n\n## Quick Start\n\n### Find repos with specific files\u002Fdirectories\n\n```bash\ngh search code \"path:.skilz\" --json repository --jq '.[].repository.fullName'\ngh search code --filename SKILL.md\ngh search code --filename Dockerfile --language python\n```\n\n### Monitor CI\u002FCD\n\n```bash\ngh run list --workflow=CI --status=failure --limit 10\ngh run watch 12345 --exit-status      # Block until complete\ngh run view 12345 --log-failed        # Failed logs only\ngh pr checks 123 --watch              # PR CI status\n```\n\n### Create resources\n\n```bash\ngh pr create --title \"Feature\" --body \"Description\" --reviewer @user\ngh issue create --title \"Bug\" --label bug,urgent --assignee @me\ngh repo fork owner\u002Frepo --clone\n```\n\n### Trigger and monitor workflow\n\n```bash\ngh workflow run deploy.yml -f environment=staging\nsleep 5\nRUN_ID=$(gh run list --workflow=deploy.yml --limit 1 --json databaseId --jq '.[0].databaseId')\ngh run watch \"$RUN_ID\" --exit-status\n```\n\n---\n\n## Command Reference\n\n| Task | Command | Reference |\n|------|---------|-----------|\n| Find repos with file | `gh search code --filename FILE` | [search.md](references\u002Fsearch.md) |\n| Find repos with directory | `gh search code \"path:DIR\"` | [search.md](references\u002Fsearch.md) |\n| List failed runs | `gh run list --status=failure` | [monitoring.md](references\u002Fmonitoring.md) |\n| Watch run | `gh run watch ID --exit-status` | [monitoring.md](references\u002Fmonitoring.md) |\n| Download artifacts | `gh run download ID -n NAME` | [monitoring.md](references\u002Fmonitoring.md) |\n| Create PR | `gh pr create --fill` | [resources.md](references\u002Fresources.md) |\n| Check PR CI | `gh pr checks --watch` | [monitoring.md](references\u002Fmonitoring.md) |\n| Trigger workflow | `gh workflow run NAME.yml` | [automation.md](references\u002Fautomation.md) |\n| Fork repo | `gh repo fork REPO --clone` | [resources.md](references\u002Fresources.md) |\n| REST\u002FGraphQL API | `gh api repos\u002F{owner}\u002F{repo}` | [api.md](references\u002Fapi.md) |\n\n### JSON Output\n\n```bash\ngh pr list --json                              # Discover fields\ngh pr list --json number,title,author,labels   # Select fields\ngh run list --json status --jq '.[] | select(.status==\"completed\")'\n```\n\n### Environment & Auth\n\n| Variable | Purpose |\n|----------|---------|\n| `GH_TOKEN` | Authentication token |\n| `GH_REPO` | Default owner\u002Frepo |\n| `GH_HOST` | GitHub Enterprise host |\n| `GH_PROMPT_DISABLED=1` | Disable prompts (CI) |\n\n### Rate Limits\n\n| Endpoint | Limit | Notes |\n|----------|-------|-------|\n| REST API | 5,000\u002Fhour | Per authenticated user |\n| Search API | 30\u002Fminute | All search endpoints |\n| Code Search | 10\u002Fminute | More restrictive |\n| Search results | 1,000 max | Use date partitioning for more |\n\n---\n\n## Workflow Authoring\n\nGitHub Actions workflow YAML patterns for CI\u002FCD pipelines.\n\n### Basic Structure\n\n```yaml\nname: CI Pipeline\non:\n  push:\n    branches: [main]\n  pull_request:\n  workflow_dispatch:\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions\u002Fcheckout@v4\n      - run: make build\n      - run: make test\n```\n\n### Caching Patterns\n\n```yaml\n# Python\u002FPoetry\n- uses: actions\u002Fsetup-python@v5\n  with:\n    python-version: '3.11'\n- uses: actions\u002Fcache@v4\n  with:\n    path: .venv\n    key: venv-${{ runner.os }}-${{ hashFiles('poetry.lock') }}\n\n# Node.js\n- uses: actions\u002Fsetup-node@v4\n  with:\n    node-version: '20'\n    cache: 'npm'\n```\n\n### Matrix Builds\n\n```yaml\nstrategy:\n  matrix:\n    os: [ubuntu-latest, windows-latest]\n    node: [18, 20]\n  fail-fast: false\n```\n\n### OIDC Authentication (AWS\u002FGCP)\n\n```yaml\npermissions:\n  id-token: write\n  contents: read\n\nsteps:\n  - uses: aws-actions\u002Fconfigure-aws-credentials@v4\n    with:\n      role-to-assume: arn:aws:iam::123456789012:role\u002FGitHubActionsRole\n      aws-region: us-east-1\n```\n\n**Full reference:** [references\u002Fworkflow-authoring.md](references\u002Fworkflow-authoring.md)\n\n### Advanced Patterns\n\nFor enterprise CI\u002FCD pipelines:\n\n- **Ephemeral PR Environments** - Auto-create\u002Fdestroy per PR\n- **Release Please** - Automated semantic versioning\n- **PR Cleanup** - Resource cleanup on close\n- **Testing Patterns** - pytest, Gradle, Jest with coverage\n- **Deployment Status Checks** - Wait for stack readiness\n- **Separate Build\u002FDeploy Roles** - Fine-grained OIDC permissions\n- **Multi-Stack Ordering** - Foundation → Schemas → Application\n\n**Additional References:**\n- **Workflow Summaries** - Rich markdown output with $GITHUB_STEP_SUMMARY\n- **Container Security** - Multi-stage builds, Trivy scanning, image tagging\n- **Security Scanning** - CodeQL, Dependabot, IaC scanning (Checkov, tfsec)\n- **Troubleshooting** - Debug mode, flaky tests, common issues\n- **Performance** - Limits, runner specs, optimization tips\n\n---\n\n## Scripts\n\nPre-built automation scripts with error handling and rate limit awareness.\n\n| Script | Purpose | Usage |\n|--------|---------|-------|\n| `find-repos-with-path.sh` | Find repos containing specific paths | `.\u002Fscripts\u002Ffind-repos-with-path.sh .skilz [owner]` |\n| `wait-for-run.sh` | Block until workflow completes | `.\u002Fscripts\u002Fwait-for-run.sh RUN_ID [timeout]` |\n| `batch-search.sh` | Search >1000 results via date partitioning | `.\u002Fscripts\u002Fbatch-search.sh \"query\" START END` |\n\n### Exit Codes\n\n| Script | 0 | 1 | 2 | 3 |\n|--------|---|---|---|---|\n| `wait-for-run.sh` | success | failure | cancelled | timeout |\n| `find-repos-with-path.sh` | success | error | - | - |\n| `batch-search.sh` | success | error | - | - |\n\n---\n\n## Validation Checklist\n\nBefore completing a GitHub CLI task, verify:\n\n```\n- [ ] gh authenticated (`gh auth status`)\n- [ ] Command syntax matches documentation\n- [ ] Exit codes checked and handled appropriately\n- [ ] Rate limits considered (code search: 10\u002Fmin, repo search: 30\u002Fmin)\n- [ ] JSON output parsed correctly (if using --json)\n- [ ] Artifacts downloaded to correct directory (if applicable)\n- [ ] PR\u002FIssue created with proper labels and assignees (if applicable)\n- [ ] Workflow triggered and monitored to completion (if applicable)\n```\n\n---\n\n## When Not to Use\n\nThis skill covers `gh` CLI and GitHub Actions workflow authoring. Do **not** use for:\n\n- **Git commands**: `git push`, `git commit`, `git pull` (use git directly)\n- **GitHub web UI**: Questions about github.com interface navigation\n- **GitHub Desktop**: Different application entirely\n- **Direct curl\u002FHTTP**: API calls without `gh` wrapper\n- **GitHub mobile app**: Mobile-specific features\n",{},"main","def8531e65114c0fca8fb8551c1871ee0eed705c","skills\u002FSpillwaveSolutions\u002Fmastering-github-agent-skill\u002Fmastering-github-agent-skill",24,"https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub","https:\u002F\u002Fskillshub.wtf","https:\u002F\u002Fgithub.com\u002FComeOnOliver","AI & Blockchain Engineer\r\n","2026-06-24 22:07:19",{"source":7,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add ComeOnOliver\u002Fskillshub --skill mastering-github-agent-skill",{"tool":40,"command":41},"bunx","bunx skills add ComeOnOliver\u002Fskillshub --skill mastering-github-agent-skill",{"tool":43,"command":44},"pnpm","pnpm dlx skills add ComeOnOliver\u002Fskillshub --skill mastering-github-agent-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002FSpillwaveSolutions\u002Fmastering-github-agent-skill\u002Fmastering-github-agent-skill\u002FSKILL.md",true,[48],{"path":49,"resourceType":50,"resourceTypeDesc":51,"sizeBytes":52,"sourceHtmlUrl":53},"agents\u002Fopenai.yaml","REFERENCE","参考文档",103,"https:\u002F\u002Fgithub.com\u002FThamielis\u002F.agents\u002Fblob\u002Fmain\u002Fplugins\u002Fvercel\u002Fskills\u002Fvercel-api\u002Fagents\u002Fopenai.yaml",[55,64,73,82,88,94],{"skillNo":56,"name":57,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":58,"categories":59,"keywords":60,"publishedAt":21},"01M6FKJN13GMG4KY57J3QD8GY5","model-hierarchy-skill","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzscole\u002Fmodel-hierarchy-skill\u002Fmodel-hierarchy-skill\u002FSKILL.md",[],[61,62,63],"model","model hierarchy","model hierarchy skill",{"skillNo":65,"name":66,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":21},"01M6FKJJJ6GCAMR4PPPRD12M5X","zoom-mcp","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-mcp\u002FSKILL.md",[],[70,71,72],"MCP","zoom","zoom mcp",{"skillNo":74,"name":75,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":21},"01M6FKJE3KYT3KPEZMEEHYKA6K","zoom-apps-sdk","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fzoom-apps-sdk\u002FSKILL.md",[],[79,80,81,71],"sdk","zoom apps sdk","apps",{"skillNo":83,"name":84,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":21},"01M6FKJ9EDH9Q5VWDF8HAJRSP0","windows","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwindows\u002FSKILL.md",[],[84],{"skillNo":89,"name":90,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":21},"01M6FKJ666BEEFC3AE9GJ72Q93","whiteboard","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwhiteboard\u002FSKILL.md",[],[90],{"skillNo":95,"name":96,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"publishedAt":21},"01M6FKJ21WFCDGTJQ2Q91T9DVW","websockets","https:\u002F\u002Fgithub.com\u002FComeOnOliver\u002Fskillshub\u002Fblob\u002Fmain\u002Fskills\u002Fzoom\u002Fskills\u002Fwebsockets\u002FSKILL.md",[],[96]]