Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-apple-docs

БесплатноБез исполняемых скриптовНе проверен

Every Apple framework, indexed locally, with deprecation analysis and an MCP server no other Apple-docs tool has. Trigger phrases: `look up an Apple API`…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

Apple Developer Documentation — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the apple-docs-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install apple-docs --cli-only
    
  2. Verify: apple-docs-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.6 or newer):

go install github.com/mvanhorn/printing-press-library/library/developer-tools/apple-docs/cmd/apple-docs-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

When to Use This CLI

Reach for this CLI when you need to read Apple's docs from a terminal, when an agent is grounding Swift code generation against current Apple APIs, when planning a platform migration (iPad → visionOS, AppKit → SwiftUI), or when authoring a 'what's deprecated in iOS N' guide. The local SQLite store unlocks queries — cross-framework grep, snapshot diff, deprecation cliff — that no online docs viewer offers.

Anti-triggers

Do not use this CLI for:

  • Do not use this CLI to author Apple ID or App Store Connect API calls — use a separate App Store Connect CLI for those.
  • Do not use this CLI as a Swift package manager — it reads docs, not source.
  • Do not use this CLI to fetch full WWDC video transcripts — it indexes WWDC references from doc pages but does not host video content.

Unique Capabilities

These capabilities aren't available in any other tool for this API.

Agent-native plumbing

  • doc get — Project a 50KB+ DocC JSON page down to just the fields an agent actually needs — abstract, signature, platforms, or all three — saving context tokens on every lookup.

    Use this when an agent is grounding code generation against an Apple symbol and only needs the abstract + signature + platform floor, not the full discussion + see-also tree.

    apple-docs-pp-cli doc get 'swiftui/view/onappear(perform:)' --shape min --agent
    
  • bundle — Bundle a symbol's Markdown plus its depth-1 See-Also pages into a single token-budgeted blob, ready to paste into an agent prompt.

    Use when an agent needs a self-contained context blob about a symbol plus its closest relatives, without doing N round-trips and N JSON parses.

    apple-docs-pp-cli bundle 'swiftui/view/onappear(perform:)' --depth 1 --max-tokens 4000
    

Local state that compounds

  • port-to — For a symbol unavailable on a target platform, walk the See-Also / Replacement-Of graph until landing on an alternative that IS available there and is not itself deprecated.

    Use when porting code between Apple platforms (iPad → visionOS, AppKit → SwiftUI, deprecated → current) and you need the migration target, not just a similar-named API.

    apple-docs-pp-cli port-to visionOS uikit/uitableview --agent
    
  • snapshot diff — Diff two stored framework index snapshots and classify each delta as added, removed, deprecated, or likely-renamed (path-stem similarity).

    Use after every WWDC or dot-release to surface added/removed/deprecated symbols at the framework level.

    apple-docs-pp-cli snapshot diff swiftui --from 2025-06-09 --to 2026-05-28 --agent
    
  • deprecation-cliff — List every Apple API deprecated in a given platform version, grouped by framework and symbol kind, with the replacement-hint column joined from references.

    Use when planning a migration sprint or writing a 'what's deprecated this year' guide; the only way to get the full list in one shot.

    apple-docs-pp-cli deprecation-cliff --os iOS --version 18 --framework swiftui --agent
    
  • conformance — Walk a framework's relationshipsSections to enumerate concrete conformers of a protocol and the protocol's ancestors.

    Use when writing protocol-driven code (custom View, ObservableObject, Layout) and you need every concrete type that conforms.

    apple-docs-pp-cli conformance View --framework swiftui --agent
    
  • grep — Regex over every synced framework's symbols with filters on kind, target platform, and deprecation status.

    Use when you remember the shape of a symbol name but not where it lives, or when auditing API patterns across the whole Apple SDK.

    apple-docs-pp-cli grep onAppear --framework swiftui --json
    

Service-specific patterns

  • wwdc symbols — For a WWDC session ID, list every symbol whose doc page cites that session.

    _Use

Полный SKILL.md на GitHub

Установить pp-apple-docs в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

.golangci.yml.goreleaser.yaml.manuscripts/20260528-170611/proofs/phase5-acceptance.json.manuscripts/20260528-170611/proofs/publish-live-gate.json.manuscripts/20260528-170611/research.json.manuscripts/20260528-170611/research/2026-05-28-170611-feat-apple-docs-pp-cli-absorb-manifest.md.manuscripts/20260528-170611/research/2026-05-28-170611-feat-apple-docs-pp-cli-brief.md.manuscripts/20260528-170611/research/2026-05-28-170611-novel-features-brainstorm.md.manuscripts/20260528-170611/research/apple-docs-spec.yaml.printing-press-patches/.gitkeep.printing-press-patches/ambiguous-write-retries-disabled.json.printing-press-patches/batch-rollback-reports-committed-count.json.printing-press-patches/catalog-go-1264-vuln-floor.json.printing-press-patches/catalog-go-1265-vuln-floor.json.printing-press-patches/path-parameters-percent-encoded.json.printing-press-pii-polish.json.printing-press-release.json.printing-press-tools-polish.json.printing-press.jsonAGENTS.mdCHANGELOG.mdLICENSEMakefileNOTICEREADME.mdcmd/apple-docs-pp-cli/main.gocmd/apple-docs-pp-mcp/main.godogfood-results.jsongo.modgo.suminternal/applejson/applejson.gointernal/applejson/applejson_test.gointernal/applejson/index.gointernal/cache/cache.gointernal/cli/agent_context.gointernal/cli/analytics.gointernal/cli/api_discovery.gointernal/cli/auto_refresh.gointernal/cli/auto_refresh_test.gointernal/cli/bundle.go

FAQ

Что делает скилл pp-apple-docs?

Every Apple framework, indexed locally, with deprecation analysis and an MCP server no other Apple-docs tool has. Trigger phrases: `look up an Apple API`, `what's deprecated in iOS`, `find a SwiftUI symbol`, `port this from UIKit to SwiftUI`, `what changed at WWDC`, `use apple-docs`, `run apple-docs-pp-cli`.

Как установить скилл pp-apple-docs?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-apple-docs запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-apple-docs с