CtrlK
BlogDocsLog inGet started
Tessl Logo

swift-protocol-di-testing

Protocol-based dependency injection for testable Swift code — mock file system, network, and external APIs using focused protocols and Swift Testing.

66

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

77%

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

A highly actionable, well-sequenced skill body with real Swift examples, slightly weakened by redundant When-to sections and a fully inline structure with no progressive disclosure.

Suggestions

Merge the duplicate "When to Activate" and "When to Use" sections into one to remove redundancy.

Reconcile the test example that calls manager.loadData() with the SyncManager code, which only defines sync().

Consider moving the extended protocol/default/mock code into a references/ file, keeping SKILL.md as a concise overview.

DimensionReasoningScore

Conciseness

Mostly efficient with concrete code and no basic-concept padding, but the "When to Activate" and "When to Use" sections are near-duplicate bullet lists, adding redundancy.

2 / 3

Actionability

Provides complete, executable Swift — protocols, default implementations, mocks, actor injection, and Swift Testing tests — that is copy-paste ready.

3 / 3

Workflow Clarity

The Core Pattern is a clearly sequenced 5-step process (define protocols → defaults → mocks → inject → test); no destructive/batch operations require validation checkpoints.

3 / 3

Progressive Disclosure

Well-organized into clear sections, but at ~120 lines it is a single monolithic SKILL.md with no bundle files or one-level-deep references to offload detail.

2 / 3

Total

10

/

12

Passed

Description

82%

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 specific, distinctive description with good natural trigger terms, but it omits an explicit "Use when..." clause so the activation condition is only implied.

Suggestions

Add an explicit trigger clause, e.g. "Use when writing Swift code that touches the file system, network, or external APIs and needs testable, mock-based tests."

Keep the concrete action list but pair it with the when-to-activate guidance already present in the body's "When to Activate" section.

DimensionReasoningScore

Specificity

Lists multiple concrete actions — "mock file system, network, and external APIs using focused protocols and Swift Testing" — naming specific capabilities rather than abstract language.

3 / 3

Completeness

Clearly states what the skill does, but lacks a "Use when..." clause or equivalent explicit trigger guidance, which caps completeness at 2 per the rubric.

2 / 3

Trigger Term Quality

Covers natural terms a Swift developer would say — "testable Swift code", "mock file system, network", "dependency injection", "Swift Testing" — rather than obscure jargon.

3 / 3

Distinctiveness Conflict Risk

Targets a clear niche (Swift protocol-based DI for testing) with distinctive terms unlikely to trigger for unrelated skills.

3 / 3

Total

11

/

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.