Token导航 LogoToken导航TokenDH.com
前端设计需要联网github未标认证来源可访问许可证需确认审计通过

apple-wallet-passesApple wallet passes 命令行

Agent Skill

apple-wallet-passes 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

737

周安装

31

GitHub Stars

6

下载量

258
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:apple-wallet-passes(Apple wallet passes 命令行)
来源仓库:https://github.com/ios-agent/iosagent.dev
仓库路径:skills/apple-wallet-passes
安装命令:
npx skills add https://github.com/ios-agent/iosagent.dev --skill apple-wallet-passes
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ios-agent/iosagent.dev --skill apple-wallet-passes

简介

提供 Apple Wallet 通行证全生命周期指导,涵盖设计、开发、签名与分发。

  • 适用于创建登机牌、优惠券、活动门票等数字凭证,支持 NFC 和推送更新。
  • 根据场景触发技能,如选择通行证样式、配置证书签名或实现远程分发逻辑。
  • 涉及证书操作和系统级功能,需评估安全边界和宿主环境兼容性。
  • apple-wallet-passes 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Apple Wallet Passes

This skill helps you guide users through the full lifecycle of Apple Wallet passes — from choosing the right pass style, through design and development, to signing, distribution, and updates.

When to Use

Trigger this skill for any of these scenarios:

  • Creating a new Wallet pass (boarding pass, coupon, event ticket, store card, generic pass)
  • Designing pass layouts and choosing the right pass style
  • Setting up pass signing with Apple-issued certificates
  • Distributing passes via app, email, or web
  • Implementing pass updates with push notifications
  • Working with NFC readers or barcode scanning
  • Adding "Add to Apple Wallet" badges
  • Implementing the Verify with Wallet API or ID Verifier
  • Questions about PassKit framework or WalletPasses documentation

Pass Styles Overview

Apple Wallet supports five pass styles. Choosing the correct style is critical because it determines the visual layout, the information hierarchy, and how time/location relevance works.

StyleUse CaseExamples
Boarding PassTravel & transitFlight, train, bus passes
CouponPromotions & discountsStore coupons, promotional offers
Event TicketTime-bound eventsConcert, movie, sports tickets
Store CardLoyalty & rewardsLoyalty cards, gift cards, membership
Generic PassEverything elseMembership cards, claim tickets, insurance cards

The style affects how relevance (time window and location radius) is interpreted. A boarding pass relevance window is very different from a movie ticket — always match the style to the actual use case.

Development Workflow

Walk the user through these steps in order, adapting to where they are in the process:

1. Choose the Pass Style

Ask the user what kind of pass they're building. Help them pick the right style based on their use case. If it's ambiguous (e.g., a gym membership), explain the tradeoffs between Store Card and Generic Pass.

2. Design the Pass

  • Passes should be clear, optimized, and look great on all devices
  • Point users to the Human Interface Guidelines for design best practices
  • Key design considerations: logo, strip image, icon, relevant text fields, barcode placement

3. Build the Pass with PassKit

  • Use the PassKit framework for creating, distributing, and updating passes
  • A pass is a signed bundle (.pkpass file) containing a pass.json manifest and assets
  • Point to PassKit documentation for API details
  • For web distribution, see WalletPasses documentation

4. Sign the Pass

Passes must be signed with an Apple-issued certificate tied to the developer's Apple Developer account.

Key points to communicate:

  • Certificates are managed in Certificates, Identifiers & Profiles
  • Only apps from the same team with proper entitlements can access the passes
  • Expired certificate: Existing passes on devices still work, but no new passes can be signed and no updates sent
  • Revoked certificate: Passes stop functioning — this is a critical distinction to highlight

5. Distribute the Pass

Three distribution channels:

  1. In-app — Use PassKit API to present the pass with the "Add to Wallet" badge
  2. Email — Attach the .pkpass file; recipients tap to add
  3. Web — Host the pass for download; use the "Add to Wallet" badge

Important details:

  • Users can add passes without installing a related app
  • If there is a related app, users can install it directly from the pass
  • iCloud syncs passes across all of a user's devices
  • Use the Add to Apple Wallet badge guidelines for branding

6. Update Passes

Two update mechanisms:

  • Push notifications — Server sends update notification; user taps to see changes
  • Pull-to-refresh — User manually refreshes on the back of the pass

Common update scenarios: gate changes, balance adjustments, schedule changes.

7. Accept / Redeem Passes

Three redemption methods:

MethodDetails
NFCContactless redemption; user holds device near reader. No barcode needed. For Apple Pay loyalty, see loyalty passes docs.
BarcodeSupports QR, Aztec, PDF417 formats. Screen locks to portrait and boosts backlight. Optical scanners work better than laser scanners for iPhone screens.
Text fallbackMembership/account number displayed below barcode for manual entry.

8. Identity Verification (Optional)

Two APIs for identity verification:

  • Verify with Wallet API — Age or identity verification using ID stored in Wallet. Learn more
  • ID Verifier — Use iPhone as a mobile ID reader for in-person verification, no external hardware needed. Learn more

Common Questions

When users ask these, here's how to respond:

"What happens if my certificate expires?" → Existing passes on devices continue to work. You just can't sign new passes or push updates.

"What barcode format should I use?" → QR is the most universal. Aztec is compact and used by airlines. PDF417 is used for some legacy systems. Test with your actual scanning hardware.

"Can users add passes without my app?" → Yes. Passes can be added via email or web without any app installed.

"How do I test pass scanning?" → Always test with the actual hardware you'll use. Optical scanners handle iPhone screens much better than laser scanners.

Reference

For deeper technical details, read references/passkit-technical.md which covers the pass.json structure, server-side update flow, and code examples.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.1%
按下载量换算93

Claude

32.17%
按下载量换算83

Cursor

16.66%
按下载量换算43

Gemini CLI

9.06%
按下载量换算23

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills