CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

core-motion

Access Core Motion accelerometer, gyroscope, magnetometer, device-motion, pedometer, activity-recognition, altitude, headphone motion, batched high-frequency workout motion, and water-submersion/depth data. Use when reading device sensors, counting steps, detecting walking/running/driving/cycling, tracking altitude, building motion interactions, handling AirPods head tracking, or implementing watchOS dive/depth features.

Quality

93%

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

86%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 reference skill: fully executable Swift snippets with availability and lifecycle discipline, dense decision tables, a review checklist, and a clean one-level-deep split of extended patterns into the references bundle. Remaining gaps are minor: some repetition around attitude frames and sensor boilerplate, and no explicit validate/recover loop in the presented flows.

Suggestions

Trim the attitude-frame redundancy: the runtime frame-check is demonstrated in the Processed Device Motion snippet and again in a second 'Check available frames before use' snippet — collapse them into one (conciseness).

Consolidate the near-identical accelerometer/gyroscope examples into one pattern with a note that the gyro variant swaps rotationRate, freeing tokens for the batched/depth APIs that are currently only links (conciseness).

Add a short numbered 'setup order' (usage string → authorization status → availability → start/stop pairs) at the top of Setup so the implicit sequence becomes an explicit checkpointed flow (workflow_clarity).

DimensionReasoningScore

Conciseness

The body is almost entirely executable code and dense reference tables with no explanation of concepts Claude already knows, but minor redundancy could be trimmed: the attitude-frame guidance is stated three times (prose, the frame table, and a second "Check available frames" snippet) and the accelerometer/gyro examples repeat near-identical print scaffolding. This fits 'efficient; minor instances of over-explanation that could be trimmed' rather than 'every token earns its place'.

4 / 5

Actionability

Every section is copy-paste-ready Swift covering the common case per sensor, including availability guards, update intervals, handler destructuring, and matching stop calls; tables give concrete values. This matches the fully-executable anchor and is not a 4 since no key detail is missing from the shown patterns.

5 / 5

Workflow Clarity

Setup (Info.plist, authorization) → availability gate → start → stop is clearly sequenced, availability guards act as inline checkpoints, and the Review Checklist plus WRONG/CORRECT Common Mistakes provide verification feedback. It falls short of 5 because there is no explicit error-recovery loop (validate → fix → retry) and the setup steps are not presented as an explicitly ordered flow; no destructive/batch cap applies since this is sensor reading.

4 / 5

Progressive Disclosure

Against the actual bundle, SKILL.md keeps core manager APIs inline and moves extended patterns (SwiftUI integration, batched sensors, headphone motion, water submersion) into a single clearly-signaled, one-level-deep references/motion-patterns.md with a descriptive link; navigation via Contents and section anchors is easy. This matches the score-5 anchor and is not a 4 since the split and signaling are already clean.

5 / 5

Total

18

/

20

Passed

Description

96%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: comprehensive, concrete capability list paired with an explicit 'Use when...' clause full of natural trigger phrases. Third-person voice is maintained and there is no fluff. The only weakness is slight trigger overlap with a hypothetical HealthKit/fitness skill around step and activity tracking.

DimensionReasoningScore

Specificity

The description enumerates ten concrete capability areas ("accelerometer, gyroscope, magnetometer, device-motion, pedometer, activity-recognition, altitude, headphone motion, batched high-frequency workout motion, and water-submersion/depth data") with no vague filler, matching the anchor for multiple specific concrete actions with comprehensive coverage. It cannot be below 5 since coverage of the Core Motion surface is exhaustive and every action named is concrete.

5 / 5

Completeness

It explicitly answers both questions: the first sentence states what the skill does (access specific Core Motion data types) and the second gives an explicit "Use when..." clause with concrete trigger phrases, directly matching the score-5 anchor example. It is not a 4 because the when-clause is already explicit and specific rather than improvable.

5 / 5

Trigger Term Quality

The when-clause uses natural phrases users would actually say: "reading device sensors", "counting steps", "detecting walking/running/driving/cycling", "tracking altitude", "AirPods head tracking", "watchOS dive/depth features". Only niche synonyms (e.g., workout/exercise tracking) are missing, so it sits at the comprehensive-coverage anchor rather than the 'a few natural terms missing' level below.

5 / 5

Distinctiveness Conflict Risk

The Core Motion sensor niche (accelerometer/gyro/device-motion) is clear and mostly distinct, but "counting steps" and "detecting walking/running" could plausibly route to a closely related HealthKit or fitness skill, which is minor overlap risk — the score-4 anchor. It is not 5 because of that adjacent-framework overlap; not 3 because the trigger set is firmly sensor-hardware oriented and unlikely to mis-fire broadly.

4 / 5

Total

19

/

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/core-motion/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.