CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

cloudkit

Builds or reviews CloudKit and iCloud synchronization with records, queries, subscriptions, CKSyncEngine, shares, SwiftData CloudKit configuration, key-value storage, or iCloud Drive. Use for sync architecture, conflicts, account state, retries, quota, and offline behavior.

Quality

91%

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

SKILL.md
Quality
Evals
Security

Quality

Content

78%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.

A well-structured entrypoint: concise overview, task-based routing to two genuinely useful reference files, a concrete mistakes table, and a strong review checklist full of real CloudKit API symbols. The main weaknesses are mild token duplication in the intro and References section, no inline executable code, and validation checkpoints that sit beside rather than inside the workflow.

Suggestions

Consolidate the reference links: 'Route by Task' and 'References' both link core-implementation.md and cloudkit-patterns.md — merge into one routing section to remove duplicated tokens and conflicting descriptions of the same file.

Delete or shrink the opening paragraph, which nearly verbatim repeats the frontmatter description ('Covers container setup, record CRUD, queries, subscriptions, CKSyncEngine, SwiftData integration, conflict resolution, and error handling').

Add one short inline snippet for the single most common operation (e.g., the `accountStatus()` gate or the `serverRecordChanged` three-way merge) so the entrypoint is self-sufficient for the top task without a reference hop, and wire a feedback step into the Workflow (e.g., 'if verification fails, apply the matching Common Mistakes fix and re-verify').

DimensionReasoningScore

Conciseness

The body is dense and assumes competence (no CloudKit tutorials, real API symbols like `partialErrorsByItemID` and `retryAfterSeconds` used without explanation), but there is token duplication: the opening paragraph "Covers container setup, record CRUD, queries, subscriptions, CKSyncEngine, SwiftData integration..." restates the frontmatter description, and both reference files are linked twice (in "Route by Task" and again in "References"). This is the 'minor instances that could be trimmed' anchor, not the every-token-earns-its-place anchor at 5.

4 / 5

Actionability

Guidance is concrete and verifiable — "Three-way merge `failedRecordSaves`, then reschedule the save", "Check `accountStatus()` and model `.noAccount`", "Respect `retryAfterSeconds`" — with specific API names throughout. It falls short of the copy-paste-ready anchor at 5 because the body gives no executable code or commands; the how-to (e.g., actually performing the three-way merge into `serverRecord`) is deferred entirely to the reference files, leaving minor gaps.

4 / 5

Workflow Clarity

The 5-step Workflow is clearly sequenced (scope → schema → sync → error handling → "Verify offline edits, concurrent devices, account switching, quota...") and a separate Review Checklist supplies checkpoints, so it clears the score-3 'validation gaps' anchor. It does not reach 5 because validation is not wired into the sequence as explicit feedback loops — there is no 'if this check fails, do X' step; recovery guidance lives in separate sections (Core Decisions, Common Mistakes) rather than in the workflow itself.

4 / 5

Progressive Disclosure

The body is a lean overview that routes detail to two real, one-level-deep reference files, each clearly signaled with its contents ("Read [core implementation details]... for containers, records, queries...", "Read [extended CloudKit patterns]... for change tokens, shares, assets..."); both files exist in references/. Navigation is easy (TOC, task-based routing, external doc links), matching the clear-overview anchor rather than the minor-organization-gaps anchor at 4.

5 / 5

Total

17

/

20

Passed

Description

100%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.

The description is exemplary: it states concrete capabilities, includes an explicit 'Use for...' trigger clause with natural synonyms, and carves out a distinct CloudKit/iCloud-sync niche. It follows the structure of the reference good examples with no padding or over-claims.

DimensionReasoningScore

Specificity

"Builds or reviews CloudKit and iCloud synchronization with records, queries, subscriptions, CKSyncEngine, shares, SwiftData CloudKit configuration, key-value storage, or iCloud Drive" enumerates multiple concrete capabilities spanning the whole CloudKit surface. This matches the comprehensive-coverage anchor; it is not score 4 because there are no meaningful gaps in the named subsystems.

5 / 5

Completeness

It explicitly answers 'what' ("Builds or reviews CloudKit and iCloud synchronization with records, queries, subscriptions...") and 'when' with a concrete trigger clause ("Use for sync architecture, conflicts, account state, retries, quota, and offline behavior"). This mirrors the score-5 anchor example structure exactly; a missing or weak 'Use when' clause would have capped it at 3, which does not apply here.

5 / 5

Trigger Term Quality

Natural user phrasings are comprehensively covered with synonyms: "CloudKit and iCloud synchronization", "sync", "conflicts", "account state", "retries", "quota", "offline behavior", "shares", "key-value storage", "iCloud Drive", plus API-level terms like "CKSyncEngine" and "SwiftData CloudKit configuration". Nothing a user would plausibly say when needing this skill is missing, so it exceeds the 'a few natural terms missing' (score 4) anchor.

5 / 5

Distinctiveness Conflict Risk

The niche is unambiguous — CloudKit/iCloud sync — with distinct triggers ("CKSyncEngine", "shares", "quota", "offline behavior") that would not fire for unrelated skills; even the SwiftData mention is scoped to "SwiftData CloudKit configuration". It occupies a clear niche with minimal conflict risk, matching the score-5 anchor rather than the minor-overlap anchor at 4.

5 / 5

Total

20

/

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

thienqo/ios-skills

Path

skills/cloudkit/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.