CtrlK
BlogDocsLog inGet started
Tessl Logo

swift-actor-persistence

Thread-safe data persistence in Swift using actors — in-memory cache with file-backed storage, eliminating data races by design.

56

Quality

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Passed

No known issues

SKILL.md
Quality
Evals
Security

Quality

Content

72%

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

The body delivers excellent actionable, executable Swift code in a well-organized single file, but it carries minor redundancy and lacks validation checkpoints for its file-persistence operations.

Suggestions

Merge the overlapping 'When to Activate' and 'When to Use' sections to remove redundancy and tighten the token budget.

Add a verification step after file writes (e.g., re-read or validate the persisted file on load) to add a feedback loop for destructive disk operations.

Drop or compress the intro paragraph that merely restates the frontmatter description.

DimensionReasoningScore

Conciseness

Mostly efficient and assumes Swift competence, but the opening paragraph restates the description and the 'When to Activate' and 'When to Use' sections are near-duplicates, so it could be tightened below the lean level-3 anchor.

2 / 3

Actionability

Provides a complete, executable generic actor implementation plus concrete usage and @Observable ViewModel integration that is copy-paste ready, matching the 'fully executable code; copy-paste ready' anchor.

3 / 3

Workflow Clarity

The usage sequence is clear but disk-writing operations (save/delete with atomic file writes) lack explicit validation or verification checkpoints, so workflow clarity is capped at 2 per the destructive/batch guideline.

2 / 3

Progressive Disclosure

Self-contained with cleanly delimited sections (When to Activate, Core Pattern, Key Design Decisions, Best Practices, Anti-Patterns) and no nested or external references needed, satisfying the well-organized single-file exception.

3 / 3

Total

10

/

12

Passed

Description

57%

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 specific and distinct, but it answers 'what' without an explicit 'when to use' trigger clause, which limits its completeness and trigger coverage.

Suggestions

Add an explicit 'Use when...' clause naming triggers (e.g., building thread-safe local storage, offline-first persistence, or eliminating data races in Swift).

Include more natural trigger variations users would say, such as 'local storage', 'concurrency', or 'cache'.

List concrete actions (save, delete, find, load) to lift specificity from domain-naming to multi-action.

DimensionReasoningScore

Specificity

Names the domain and concrete mechanisms ("actors", "in-memory cache", "file-backed storage", "data races") but does not enumerate multiple discrete actions, matching the 'names domain and some actions, not comprehensive' anchor rather than the multi-action level 3.

2 / 3

Completeness

It clearly states what the skill does but has no explicit 'Use when…' trigger clause, so per the judging guideline a missing when-clause caps completeness at 2 rather than 3.

2 / 3

Trigger Term Quality

Contains several natural terms a user might say ("Swift", "thread-safe", "persistence", "cache", "data races") but omits common variations like "local storage", "concurrency", or "save data", so it is not the full-coverage level 3.

2 / 3

Distinctiveness Conflict Risk

The narrow niche of Swift actor-based persistence with specific triggers is unlikely to overlap with other skills, matching the 'clear niche with distinct triggers; unlikely to conflict' anchor.

3 / 3

Total

9

/

12

Passed

Validation

93%

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

Validation15 / 16 Passed

Validation for skill structure

CriteriaDescriptionResult

frontmatter_unknown_keys

Unknown frontmatter key(s) found; consider removing or moving to metadata

Warning

Total

15

/

16

Passed

Repository
affaan-m/ECC
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.