paperkit — Claude Code skill for PaperKit markup
This skill guides PaperKit markup integration in iOS apps, from an editable canvas to saved annotations. Use it when adding drawings, shapes, or text to documents.
npx skills add dpearson2699/swift-ios-skills --skill paperkit -a claude-codeWhat paperkit does
paperkit covers integration with PaperMarkupViewController and the PaperMarkup model. It shows how to combine PencilKit strokes with structured items such as text, images, and shapes, then persist the result. The guidance also addresses placing markup tools inside a document editor.
The workflow includes choosing document bounds and a FeatureSet, wiring up PKToolPicker, and loading or saving markup. It also discusses setting a page or image behind the canvas and creating content through the model. Annotation coordinates must match the background’s dimensions so content returns to the intended location.
PaperKit is available from iOS 26.0. Its API surface can change, so check current Apple documentation before shipping an app.
What it helps with
- embed an editable markup canvas in a document editor
- persist PencilKit strokes alongside structured markup
- align annotation coordinates with a page image
- add controls for inserting markup elements
Example prompts for the agent
- Show me how to add
PaperMarkupViewControllerto this document editor. - Set up saving and reloading
PaperMarkupfor a PDF page. - Use an image as the canvas background and align the markup bounds to it.
How to install paperkit
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill paperkit -a claude-code2Manually: put the files in place
~/.claude/skills/paperkit/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/paperkit/
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill paperkit -a codex2Manually: put the files in place
.agents/skills/paperkit/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill paperkit -a cursor2Manually: put the files in place
.cursor/skills/paperkit/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install dpearson2699/swift-ios-skills paperkit2Manually: put the files in place
.github/skills/paperkit/SKILL.md1Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill paperkit -a gemini-cli2Platform CLI
gemini skills install https://github.com/dpearson2699/swift-ios-skills --path skills/paperkitManually: put the files in place
.devin/skills/paperkit/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add dpearson2699/swift-ios-skills --skill paperkit -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
Step by step, with commands for each platform: How to install skills in Claude Code: five ways
Questions about paperkit
How do I install paperkit in Claude Code?
Run npx skills add dpearson2699/swift-ios-skills --skill paperkit -a claude-code. The skill file is at ~/.claude/skills/paperkit/SKILL.md.
What does paperkit do?
It guides developers through adding PaperKit markup to an app, including PencilKit drawing, structured content, and persistence.
Which iOS version supports PaperKit?
PaperKit is available on iOS 26.0 and later. Since its API may change, verify current details with Apple before shipping.