pp-apple-docs
FreeNo executable scriptsNot checkedEvery Apple framework, indexed locally, with deprecation analysis and an MCP server no other Apple-docs tool has. Trigger phrases: `look up an Apple API`…
by mvanhorn★ 2,170 GitHub starsAbout this skill
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:
- Install via the Printing Press installer. It defaults binaries to
$HOME/.local/binon macOS/Linux and%LOCALAPPDATA%\Programs\PrintingPress\binon Windows:npx -y @mvanhorn/printing-press-library install apple-docs --cli-only - Verify:
apple-docs-pp-cli --version - Ensure the reported install directory is on
$PATHfor 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 --agentbundle— 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 --agentsnapshot 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 --agentdeprecation-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 --agentconformance— Walk a framework'srelationshipsSectionsto 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 --agentgrep— Regex over every synced framework's symbols with filters on kind, target platform, a
Install pp-apple-docs in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
ReadBashFAQ
What does the pp-apple-docs skill do?
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`.
How do I install the pp-apple-docs skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the pp-apple-docs skill run scripts?
No, this skill is instructions only (SKILL.md) with no executable scripts.
Related skills
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
by Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
by Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
by Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
by Anthropic