Install any skill in seconds. Free to start, no credit card required.
Get Started Free →dpearson2699/pencilkit
Add Apple Pencil drawing with PKCanvasView, PKToolPicker, PKDrawing serialization/export, stroke inspection, and PencilKit/PaperKit handoffs.
Passed 21 of 22 test cases with the skill, and 16 of 22 without it.
and 3 more in the full report
5 fixed16 passed either way1 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 5 test cases the skill fixed. Same model, same prompt, with and without the skill.
I have two separate vector drawing objects captured at different times and need to merge them into a single drawing structure without modifying the source objects. Which method should I use?
| Checked | Without skill | With skill |
|---|---|---|
| Uses drawing1.appending(drawing2) to create a combined drawing without mutating the original. | Missed | Passed |
The instructions your model reads when the skill loads.
Capture Apple Pencil and finger input using PKCanvasView, manage drawing
tools with PKToolPicker, serialize drawings with PKDrawing, and wrap PencilKit in SwiftUI.
PencilKit requires no entitlements or Info.plist entries. Import PencilKit
and create a PKCanvasView.
import PencilKit
Platform availability: iOS 13+, iPadOS 13+, Mac Catalyst 13.1+, visionOS 1.0+.
canvasView.drawing from
canvasViewDrawingDidChange(_:); keep the previous persisted revision until
the new revision completes the remaining checkpoints.dataRepresentation(), write atomically, and run the
decode validate/fix/retry loop. Do not mark
bytes valid when PKDrawing(data:) still throws.test cases passed, vs 16 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.