CtrlK
BlogDocsLog inGet started
Tessl Logo
SkillPublic

axiom-analyze-swift-performance

Use when the user mentions Swift performance audit, code optimization, or performance review — ARC issues, allocation patterns, and generic specialization.

Quality

72%

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

Fix and improve this skill with Tessl

tessl review fix ./axiom-codex/skills/axiom-analyze-swift-performance/SKILL.md
SKILL.md
Quality
Evals
Security

Quality

Content

70%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-engineered, highly actionable audit workflow: clear phase sequencing, explicit verify-before-report validation, concrete fix guidance, and thoughtful false-positive and overflow handling. The main weaknesses are redundancy (duplicated exclusions, scope statements, and near-identical invocation examples) and a fully monolithic single-file layout with no progressive disclosure of the detailed anti-pattern reference material.

Suggestions

Remove duplication: state the exclusion globs and SwiftUI scope boundary once (the 'Files to Exclude' and top 'Scope' sections), and cut the 'Invocation Examples' section to 2 representative examples or drop it — the description already carries the triggers.

Move the 8 detailed anti-pattern specifications (Pattern/Search/Issue/Fix/Note) into a references/ file (e.g. references/anti-patterns.md), keeping one-line summaries in SKILL.md with clearly signaled links, to reduce the inline token load.

Tighten the 'Search' entries into runnable grep patterns where possible (e.g. a concrete regex for structs with collection stored properties) so every detection step is copy-paste executable.

DimensionReasoningScore

Conciseness

The body is dense and directive — Pattern/Search/Issue/Fix per anti-pattern with no explanation of basics Claude already knows — but contains avoidable repetition: exclusion paths appear in both 'Files to Exclude' and Phase 1 Step 1; the SwiftUI scope note is stated twice (top 'Scope' and bottom 'Scope' section); and the five Invocation Examples are near-identical padding. Mostly efficient but could be tightened → anchor 3, not 4 due to these redundant sections.

3 / 5

Actionability

Concrete grep patterns, exact exclusion globs, specific fixes per issue ('borrowing'/'consuming', 'isKnownUniquelyReferenced', '@_specialize(where T == ConcreteType)', 'reserveCapacity'), and a complete output template make this mostly executable guidance. Not 5 because several 'Search' entries are heuristics requiring judgment ('structs with >5 stored properties', 'alternating small/large fields') rather than runnable patterns.

4 / 5

Workflow Clarity

Five clearly sequenced phases with explicit validation: grep matches must be verified via Read before reporting, Phase 3 findings require evidence from the Phase 1 hotspot map, and a False Positives section plus output limits handle error/overflow cases. The audit is read-only, so the destructive-operation cap does not apply; the verify-before-report loop matches the anchor 5 pattern.

5 / 5

Progressive Disclosure

No bundle files exist (no references/, scripts/, or assets/ directories) and the body contains no external references — all ~290 lines are inline. Section headers give good structure, but content that could plausibly live in separate files (the 8 detailed anti-pattern specs, the invocation examples) is inlined, matching anchor 3 (some structure, content that should be separate is inline) rather than 4.

3 / 5

Total

15

/

20

Passed

Description

61%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 strongly scoped, trigger-oriented description with good natural keyword coverage, but it is missing an explicit capability statement — it tells Claude when to fire without saying what the skill does. Adding one sentence of 'what' (audits Swift code for ARC, copy, generics, and actor overhead and outputs a severity-ranked report) would lift completeness and specificity toward the top anchors.

Suggestions

Add an explicit capability statement before the 'Use when' clause, e.g. 'Detects Swift performance anti-patterns (unnecessary copies, ARC traffic, unspecialized generics, actor hop overhead) and produces a severity-ranked audit report.'

Include the colloquial trigger variations users actually say — 'slow', 'speed up', 'optimize my Swift code', 'excessive memory allocations' — to round out trigger term coverage.

Add a boundary cue in the description (e.g., 'Swift-level performance only, not SwiftUI view-body issues') to reduce overlap with the sibling swiftui-performance-analyzer.

DimensionReasoningScore

Specificity

The description names the Swift performance domain and lists activities ('Swift performance audit, code optimization, or performance review') plus concrete sub-topics ('ARC issues, allocation patterns, and generic specialization'), but these read as trigger phrasings rather than statements of what the skill does. It matches anchor 3 (domain plus 1-2 concrete actions, not comprehensive) — not 4 because no capability like 'detects and reports performance anti-patterns with severity ratings' is stated.

3 / 5

Completeness

The 'when' is explicit ('Use when the user mentions Swift performance audit...'), but the 'what' is only implied by the trigger terms — the description never states what the skill actually does (e.g., scans code, detects anti-patterns, produces a severity-ranked report). It sits between anchor 2 (only 'when' present without 'what') and anchor 4 (both present), landing at 3.

3 / 5

Trigger Term Quality

'performance audit', 'code optimization', 'performance review', 'ARC issues', 'allocation patterns', and 'generic specialization' are terms users would naturally say when needing this skill. Not 5 because common colloquial variations like 'my code is slow', 'speed up', or 'optimize my Swift code' are missing.

4 / 5

Distinctiveness Conflict Risk

Swift-specific and performance-scoped, clearly distinguishable from general code-review or language-agnostic optimization skills. Minor overlap risk remains with the sibling 'swiftui-performance-analyzer' since 'Swift performance' broadly subsumes SwiftUI performance — matching anchor 4, not 5.

4 / 5

Total

14

/

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

CharlesWiltgen/Axiom

Path

axiom-codex/skills/axiom-analyze-swift-performance/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.