CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

pencilkit

Add Apple Pencil drawing with PKCanvasView, PKToolPicker, PKDrawing serialization/export, stroke inspection, and PencilKit/PaperKit handoffs. Use when building drawing apps, annotation features, handwriting capture, signature fields, content-version-safe ink workflows, or Apple Pencil-powered experiences on iOS/iPadOS/visionOS.

Quality

92%

Does it follow best practices?

Run evals on this skill

Adds up to 20 points to the overall score

View guide
SecuritybySnyk

Passed

No findings from the security scan

The canonical home for this skill is dpearson2699/swift-ios-skills

SKILL.md
Quality
Evals
Security

Quality

Content

92%Weight 40%Scale 1-5

Reviews the quality of instructions and guidance provided to agents. Good implementation is clear, handles edge cases, and produces reliable results.

Excellent body content: executable code throughout, a well-sequenced capture-to-export workflow with genuine validate/fix/retry feedback loops, and clean one-level-deep progressive disclosure into a verified reference file. The only nit is minor repetition of the content-version guidance and small redundant code scaffolding. No substantive changes needed.

DimensionReasoningScore

Conciseness

The body is dense and code-forward, and its prose carries non-obvious specifics (drawingPolicy semantics, content-version gating, the first-responder requirement) rather than concepts Claude already knows. Score 4 rather than 5 because of minor trimmable repetition — the content-version gate is restated across several sections and `import PencilKit` appears in redundant code blocks; score 4 rather than 3 because there is no padded or tutorial-style explanation.

4 / 5

Actionability

Code is fully executable and copy-paste ready: a complete PKCanvasView view controller, a full SwiftUI UIViewRepresentable wrapper with coordinator, save/load via dataRepresentation()/PKDrawing(data:), image export with scale/region, and stroke inspection including interpolatedPoints. These cover the common cases exactly as the 5 anchor requires.

5 / 5

Workflow Clarity

The 'Capture-to-Export Workflow' is a clearly sequenced 5-step process with explicit validation checkpoints and feedback loops: the decode validate/fix/retry loop ("Do not mark bytes valid when PKDrawing(data:) still throws"), version-gating before editable sync, retaining the pending revision on transport/conflict failure, and bounds validation before image export — plus an 11-item review checklist. This matches the 5 anchor (explicit validation steps, error-recovery loops, checklist).

5 / 5

Progressive Disclosure

Verified against the actual bundle: the single reference file references/pencilkit-patterns.md exists and contains the cited sections (Constructing Strokes Programmatically, Content Version Management). It is one level deep, clearly signaled ("Load ... only for generated ink paths", "See ... for the deeper compatibility table"), advanced content is appropriately kept out of SKILL.md, and a Contents list plus References section make navigation easy — matching the 5 anchor.

5 / 5

Total

19

/

20

Passed

Description

88%Weight 40%Scale 1-5

Based on the skill's description, can an agent find and select it at the right time? Clear, specific descriptions lead to better discovery.

A strong description that pairs concrete, API-named capabilities with an explicit and specific 'Use when' trigger clause in third-person voice. The only weaknesses are a few missing natural synonyms and slight trigger overlap with the sibling PaperKit skill. Overall it closely matches the rubric's good-overall examples.

Suggestions

Add one or two common natural synonyms to the 'Use when' clause — e.g., 'sketching' or 'ink/sketch capture' — so users who phrase drawing requests without the word 'drawing' still trigger the skill.

Rephrase 'PencilKit/PaperKit handoffs' to clarify it means routing structured-markup work elsewhere (e.g., 'routing structured markup to the paperkit skill'), reducing the chance this skill triggers for pure PaperKit requests.

Consider adding a file-format or feature trigger such as 'PKDrawing data' or 'drawing canvas' to strengthen trigger-term coverage for serialization-focused requests.

DimensionReasoningScore

Specificity

The description lists multiple specific concrete actions with named APIs — "Add Apple Pencil drawing with PKCanvasView, PKToolPicker, PKDrawing serialization/export, stroke inspection, and PencilKit/PaperKit handoffs" — comprehensively covering the skill's scope (canvas, tools, serialization, export, inspection, handoffs). Score 5 rather than 4 because there are no meaningful coverage gaps relative to the skill body.

5 / 5

Completeness

Clearly answers both: the first sentence states what the skill does (canvas drawing, tool picker, serialization/export, stroke inspection, handoffs) and an explicit "Use when building drawing apps, annotation features, handwriting capture, signature fields, content-version-safe ink workflows, or Apple Pencil-powered experiences on iOS/iPadOS/visionOS" clause gives concrete trigger phrases. This matches the 5 anchor exactly.

5 / 5

Trigger Term Quality

Good natural keyword coverage: "drawing apps", "annotation features", "handwriting capture", "signature fields", "Apple Pencil", "iOS/iPadOS/visionOS" — phrases users would actually say. Score 4 rather than 5 because common synonyms like "sketch", "sketching", "ink", or "whiteboard" are missing; score 4 rather than 3 because coverage goes well beyond "some relevant keywords".

4 / 5

Distinctiveness Conflict Risk

A clear Apple Pencil/PencilKit niche with named framework APIs makes it mostly distinct. Score 4 rather than 5 because "PencilKit/PaperKit handoffs" and the generic "annotation features" create minor overlap risk with a sibling paperkit skill and PDF-annotation tooling; score 4 rather than 3 because the dominant triggers are unambiguous PencilKit territory.

4 / 5

Total

18

/

20

Passed

Validation

100%

Checks the skill against the spec for correct structure and formatting. All validation checks must pass before discovery and implementation can be scored.

Validation — 16 / 16 Passed

Validation for skill structure

No warnings or errors.

Repository

dpearson2699/swift-ios-skills

Path

skills/pencilkit/SKILL.md

Reviewed

Table of Contents

Is this your skill?

If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.