Agent skill · software engineering · dpearson2699
paperkit
Add drawings, shapes, and a consistent markup experience using PaperKit. Use when integrating PaperMarkupViewController for markup editing, adding shape recognition, working with PaperMarkup data models, embedding markup tools in document editors, or building annotation features that need the system-standard markup toolbar. New in iOS 26.
Why this skill is useful
Provides specific integration patterns and commands for using PaperKit with PencilKit that the AI wouldn't reliably generate on its own.
What it needs
About 8k tokens when loaded. Last updated 2026-07-31. 973 stars on the source repository.
What this skill does
PaperKit Beta-sensitive. PaperKit is new in iOS/iPadOS 26, macOS 26, and visionOS 26. API surface may change. Verify details against current Apple documentation before shipping. PaperKit combines PencilKit drawing with structured markup elements such as shapes, text, images, and lines in a canvas managed by PaperMarkupViewController. Contents Setup Workflow PaperMarkupViewController PaperMarkup Data Model Insertion Controllers FeatureSet Configuration Integration with PencilKit SwiftUI Integration Common Mistakes Review Checklist References Workflow 1. Choose the document bounds, supported FeatureSet, and persistence version before constructing UI. 2. Create PaperMarkup, embed PaperMarkupViewController, and keep the controller, tool picker, and insertion controller alive for the view lifetime. 3. Use the platform-appropriate insertion surface and keep PencilKit drawing inside the PaperKit document boundary. 4. Save off the main thread, retain a thumbnail for forward-incompatible content, and test round-trip loading with the same feature set. 5. On failure, restore the original document bytes, fix the feature-set/version/controller mismatch, and rerun edit, save, relaunch, load, thumbnail fallback, and undo checks. Load references/paperkit-patterns.md for full platform setup, tool picker wiring, persistence, thumbnails, custom feature sets, programmatic construction, and migration. Setup PaperKit requires no entitlements or special Info.plist entries. Platform availability: iOS 26.0+, iPadOS 26.0+, Mac Catalyst 26.0+, macOS 26.0+, visionOS 26.0+. Three core components: Component Role --- --- PaperMarkupViewController Interactive canvas for creating and displaying markup and drawing PaperMarkup Data model for serializing all markup elements and PencilKit drawing MarkupEditViewController / MarkupToolbarViewController Insertion UI for adding markup elements PaperMarkupViewController The primary view controller for interactive markup. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills dpearson2699/paperkit