Communitygithub.com

JordanCoin/ios-skills-collection

使用 `gh` CLI 与 GitHub 进行交互。可用于处理 GitHub 议题、拉取请求、CI 运行和高级查询。当用户需要从命令行检查 CI 状态、创建 PR、列出议题或查询 GitHub API 时,建议使用此技能。

ios-skills-collection 是什么?

该技能提供了一个专门用于通过 GitHub CLI (`gh`) 与 GitHub 仓库交互的标准化工作流集合。它支持在 Claude Code、Cursor 和 Codex 等 AI 代理平台上使用,旨在帮助开发者高效处理 GitHub 上的日常任务,如查看拉取请求的 CI 状态、列出工作流运行、调试构建失败、以及通过 `gh api` 进行高级数据查询。技能通过清晰的步骤序列(例如调试 CI 失败的 4 步流程)指导用户从问题识别到日志获取的全过程,并强调使用 `--repo owner/repo` 参数来避免在非 git 目录下运行时出错。此外,它还展示了如何利用 `--json` 和 `--jq` 过滤器获取结构化的输出,以便在自动化脚本或 AI 代理中进一步处理。

兼容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JordanCoin/ios-skills-collection/tree/HEAD/skills/dimillian--github

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

GitHub 技能

使用 gh CLI 与 GitHub 进行交互。当不在 git 目录中时,始终使用 --repo owner/repo 指定仓库,或直接使用 URL。

拉取请求

检查 PR 上的 CI 状态:

gh pr checks 55 --repo owner/repo

列出最近的工作流运行:

gh run list --repo owner/repo --limit 10

查看某个运行并找出哪些步骤失败:

gh run view <run-id> --repo owner/repo

仅查看失败步骤的日志:

gh run view <run-id> --repo owner/repo --log-failed

调试 CI 失败

按照以下顺序调查 CI 运行失败:

  1. 检查 PR 状态 — 找出哪些检查正在失败:
    gh pr checks 55 --repo owner/repo
    
  2. 列出最近运行 — 找到相关的运行 ID:
    gh run list --repo owner/repo --limit 10
    
  3. 查看失败的运行 — 找出哪些作业和步骤失败了:
    gh run view <run-id> --repo owner/repo
    
  4. 获取失败日志 — 获取失败步骤的详细输出:
    gh run view <run-id> --repo owner/repo --log-failed
    

用于高级查询的 API

gh api 命令可用于访问其他子命令无法获得的数据。

获取包含特定字段的 PR:

gh api repos/owner/repo/pulls/55 --jq '.title, .state, .user.login'

JSON 输出

大多数命令支持使用 --json 输出结构化数据。可以使用 --jq 进行过滤:

gh issue list --repo owner/repo --json number,title --jq '.[] | "\(.number): \(.title)"'

Individual skills in this repo

This repo contains 11 individual skills — each has its own dedicated page.

JordanCoin/ios-skills-collection

Create media playback experiences using AVKit. Use when adding video players with AVPlayerViewController, enabling Picture-in-Picture, routing media with AirPlay, using SwiftUI VideoPlayer views, configuring transport controls, displaying subtitles and closed captions, or integrating AVFoundation playback with system UI.

JordanCoin/ios-skills-collection

Integrate and optimize Core ML models in iOS apps for on-device machine learning inference. Covers model loading (.mlmodelc, .mlpackage), predictions with auto-generated classes and MLFeatureProvider, compute unit configuration (CPU, GPU, Neural Engine), MLTensor, VNCoreMLRequest, MLComputePlan, multi-model pipelines, and deployment strategies. Use when loading Core ML models, making predictions, configuring compute units, or profiling model performance.

JordanCoin/ios-skills-collection

Implement, review, or improve maps and location features in iOS/macOS apps using MapKit and CoreLocation. Use when working with Map views, annotations, markers, polylines, user location tracking, geocoding, reverse geocoding, search/autocomplete, directions and routes, geofencing, region monitoring, CLLocationUpdate async streams, or location authorization flows. Also use when working with maps, coordinates, addresses, places, directions, distance calculations, or location-based features in Swift apps.

JordanCoin/ios-skills-collection

Display and manipulate PDF documents using PDFKit. Use when embedding PDFView to show PDF files, creating or modifying PDFDocument instances, adding annotations (highlights, notes, signatures), extracting text with PDFSelection, navigating pages, generating thumbnails, filling PDF forms, or wrapping PDFView in SwiftUI.

JordanCoin/ios-skills-collection

Implement, review, or improve in-app tips and onboarding using Apple's TipKit framework. Use when adding feature discovery tooltips, onboarding flows, contextual tips, first-run experiences, coach marks, or working with Tip protocol, TipView, popoverTip, tip rules, tip events, or feature education UI.

JordanCoin/ios-skills-collection

When the user wants to optimize their Google Play Store listing — title, short description, full description, keywords, ratings, or Play Store-specific features. Use when the user mentions "Google Play", "Android", "Play Store", "Play Console", "short description", "full description indexed", "Google Play ASO", or wants Google Play-specific keyword, creative, or ratings strategy. For iOS App Store optimization, see aso-audit and metadata-optimization.

JordanCoin/ios-skills-collection

When the user wants to implement, optimize, or use App Clips for app discovery and conversion. Use when the user mentions "App Clip", "app clip code", "mini app", "instant app", "App Clip card", "App Clip link", "no download required", "instant experience", or wants to understand how App Clips appear in App Store search. For general App Store discoverability, see aso-audit. For marketing campaigns, see ua-campaign.

JordanCoin/ios-skills-collection

When the user wants to plan a launch strategy for a new app or major update. Also use when the user mentions "app launch", "launch plan", "launch checklist", "pre-launch", "launch day", or "how to launch my app". For ongoing ASO after launch, see aso-audit. For paid acquisition during launch, see ua-campaign.

JordanCoin/ios-skills-collection

When the user wants to analyze their own app's actual performance data from App Store Connect — real downloads, revenue, IAP, subscriptions, trials, or country breakdowns synced via Appeeky Connect. Use when the user asks about "my downloads", "my revenue", "how is my app performing", "ASC data", "sales and trends", "my subscription numbers", "App Store Connect metrics", or wants to compare periods or top markets. For third-party app estimates, see app-analytics. For subscription analytics depth, see monetization-strategy.

JordanCoin/ios-skills-collection

When the user wants a full ASO health audit, review their App Store listing quality, or diagnose why their app isn't ranking. Also use when the user mentions "ASO audit", "ASO score", "why am I not ranking", "listing review", or "optimize my app store page". For keyword-specific research, see keyword-research. For metadata writing, see metadata-optimization.

JordanCoin/ios-skills-collection

Always use when working on any iOS, macOS, Swift, SwiftUI, Xcode, or Apple platform project. Routes to the correct specialized skills based on development phase and task context. This collection contains 210 skills from 28 authors covering the full iOS lifecycle.

相关技能