
Description
PencilKit is an agent skill for adding Apple Pencil drawing to iOS apps. It captures input from the Apple Pencil and from a finger using PKCanvasView, manages the drawing tools with PKToolPicker, saves and loads drawings through PKDrawing serialization and export, and inspects individual strokes. It also covers wrapping PencilKit in SwiftUI and handing off to PaperKit where a richer document is needed. The skill is for apps that let people sketch, annotate or take handwritten notes, and for developers who need the drawing saved and restored reliably. Its description says it covers stroke inspection, so an agent can read the shape and properties of what was drawn, and the serialization path so a drawing can be stored and loaded again. The skill is part of the swift-ios-skills collection by dpearson2699, which provides agent guidance for Apple frameworks and is public on GitHub. The page itself is short, so an agent should check the linked Apple documentation for the detailed API. It is for iOS developers building drawing, note-taking or markup features.…
Highlights
- Apple Pencil and finger input with PKCanvasView
- PKToolPicker drawing tools
- PKDrawing serialization and export
- Stroke inspection and SwiftUI wrapping
Ratings & Reviews
No ratings yet
Be the first to rate pencilkit.
People also visit
pencilkit FAQ
What is the PencilKit skill?
An agent skill for adding Apple Pencil and finger drawing to iOS apps with PencilKit.
How do I install it?
Run npx skills add https://github.com/dpearson2699/swift-ios-skills --skill pencilkit in your project.
How are drawings saved?
Through PKDrawing serialization and export, so a drawing can be stored and loaded again.
When does it hand off to PaperKit?
The skill mentions PencilKit and PaperKit handoffs for cases that need a richer document than a drawing.
Which security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best pencilkit alternatives?
Popular alternatives to pencilkit include paperkit, sketch and pencil-design. See all pencilkit alternatives













