
Description
PDFKit is an agent skill for displaying and manipulating PDF documents in Swift apps. It covers embedding a PDFView to show a file, creating and changing PDFDocument instances, moving between pages with PDFPage, searching and selecting text with PDFSelection, and adding and reading annotations with PDFAnnotation. It also covers thumbnails for page previews, and SwiftUI integration for apps that use SwiftUI rather than UIKit. The skill includes sections on loading documents, displaying PDFs and page navigation, with common mistakes and a review checklist to check the result. It is for iOS developers who want to read, mark up or search PDFs inside their app. The skill is part of the swift-ios-skills collection by dpearson2699, which provides agent guidance for Apple frameworks and is public on GitHub. It triggers on requests to show a PDF file in an app, to create or modify a PDF document in code, or to add annotations or search text in a PDF.…
Highlights
- PDFView for displaying PDF files
- Create and modify PDFDocument instances
- Page navigation and text search
- Annotations and thumbnails
Ratings & Reviews
No ratings yet
Be the first to rate pdfkit.
People also visit

integrate-file-viewer
MUST be used whenever integrating CogniteFileViewer into a Flows app
pdfkit FAQ
What is the PDFKit skill?
An agent skill for displaying, navigating, searching, annotating and modifying PDF documents with Apple's PDFKit.
How do I install it?
Run npx skills add https://github.com/dpearson2699/swift-ios-skills --skill pdfkit in your project.
Does it work with SwiftUI?
Yes. The skill includes SwiftUI integration alongside the PDFView setup.
What does it help with in a PDF?
Text search and selection, annotations, page navigation and thumbnails.
Which security audits has it passed?
Gen Agent Trust Hub: Pass. Socket: Pass. Snyk: Pass.
What are the best pdfkit alternatives?
Popular alternatives to pdfkit include pdf, openai/pdf and integrate-file-viewer. See all pdfkit alternatives













