swift-specifications

swift-specifications is a skill for Claude Code from danweinerdev/claude-sdd-planner. It costs 38 tokens per session (142 once invoked), scanned A, original, MIT.

Structural checks for Swift code, including SwiftLint for code-quality rules and Thread Sanitizer for finding data races in concurrent programs.

In plain words
What is it for?
Use them while planning, writing, or reviewing Swift projects, including projects that use async code, actors, or shared state.
Why use it?
They catch style problems, unsafe patterns, unused code, and some concurrency bugs before they reach users.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Part of the sdd-planner plugin — 34 skills, 8 agents shipped together

Good fit Use them while planning, writing, or reviewing Swift projects, including projects that use async code, actors, or shared state.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/danweinerdev/claude-sdd-planner/swift-specifications
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add danweinerdev/claude-sdd-planner --skill swift-specifications
Clone the repo
git clone --depth 1 https://github.com/danweinerdev/claude-sdd-planner

Made for: Claude Code.

Or install sdd-planner, the plugin that ships this one along with the rest of its 34 skills, 8 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for swift-specifications

README.md
[![agentmods](https://agentmods.dev/badge/skills/danweinerdev/claude-sdd-planner/swift-specifications.svg)](https://agentmods.dev/skills/danweinerdev/claude-sdd-planner/swift-specifications)
Your own site
<a href="https://agentmods.dev/skills/danweinerdev/claude-sdd-planner/swift-specifications"><img src="https://agentmods.dev/badge/skills/danweinerdev/claude-sdd-planner/swift-specifications.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 142 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.00142
Opus 5 $0.00019 $0.00071
Sonnet 5 $0.00008 $0.00028
Haiku 4.5 $0.00004 $0.00014

Measured 7d ago against content hash 7a759d1657d7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

swift-specifications scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/swift-specifications/SKILL.md · 19 lines

What it actually says

Swift — Structural Verification

Tools

Tool When What it catches
SwiftLint If configured in project Style violations, force-unwraps, unused code
TSAN (-sanitize=thread) Concurrency, actors, async/await with shared state Data races

Minimum Bar

Run SwiftLint if configured. Consider TSAN for concurrent code.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 19 lines · 38 tokens per session scan A 7a759d1657d7

Subscribe to this mod's changes

swift-specifications is a skill published in the GitHub repository danweinerdev/claude-sdd-planner (2 stars, last pushed 2d ago), licensed MIT. It adds 38 tokens to every session and 142 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

implement

Use in the Implement phase whenever writing or editing production Java code, or fixing a bug, in a Spring/Spring Boot project. Enforces test-first (red-green-refactor), executes the approved plan step by step, and honors the project's path-scoped tech-stack rules and the task's enforcement set. Preloaded into…

taipt1504/claudehut · 73 tokens

kotlin-testing

Kotlin testing patterns with Kotest, MockK, coroutine testing, property-based testing, and Kover coverage. Follows TDD methodology with idiomatic Kotlin practices.

masrisystems/dot-agents · 38 tokens

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.

masrisystems/dot-agents · 32 tokens

swift-testing-pro

Writes, reviews, and improves Swift Testing code using modern APIs and best practices. Use when reading, writing, or reviewing projects that use Swift Testing.

jacklandrin/OnlySwitch · 34 tokens

hypothesis-testing

Property-based testing with Hypothesis for discovering edge cases and validating invariants. Use when implementing comprehensive test coverage, testing complex logic with many inputs, or validating mathematical properties and invariants across input domains. Triggered by: hypothesis, property-based testing, @given…

foryourhealth111-pixel/Vibe-Skills · 62 tokens

performance-testing

Benchmark indicator performance with BenchmarkDotNet. Use for Series/Buffer/Stream benchmarks, regression detection, and optimization patterns. Target 1.5x Series for StreamHub, 1.2x for BufferList.

foryourhealth111-pixel/Vibe-Skills · 47 tokens