
Programming swift
Gives your agent the full Swift language book for checking syntax and compiler errors
Programming swift is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 46
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Programming swift
This skill bundles the complete text of Apple's The Swift Programming Language (6.4) so an agent can consult it while writing or reviewing Swift code. The material is organized into three parts: a guided tour and version compatibility notes, a language guide covering topics from basic types and control flow through concurrency, macros and generics, and a reference manual with the formal grammar, declarations, expressions and patterns.
When a task matches, the agent can open the relevant chapter rather than relying on memory, which helps when verifying exact syntax, checking how a language feature behaves, or working out what a compiler diagnostic means. The skill ships as roughly 40 markdown files with no scripts, so it works by reading documentation rather than running code.
No inputs beyond the agent's own task are needed. The content is Apple's Swift book, redistributed under the Apache 2.0 license with attribution to the Swift project authors.
When your agent uses it
Provides the complete content of 'The Swift Programming Language (6.4)' book by Apple. Use this skill when you need to verify Swift syntax, look up language features, understand concurrency, resolve compiler errors, or consult the formal language reference.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 43 files (1.7 MB) on GitHub on 5 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the programming-swift-skill plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add kylehughes/the-unofficial-swift-programming-language-skill
/plugin install programming-swift-skill@the-unofficial-swift-programming-language-skillOr copy only this skill to ~/.claude/skills/programming-swift:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kylehughes/the-unofficial-swift-programming-language-skill.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/programming-swift &&
cp -R "$tmp/programming-swift" ~/.claude/skills/programming-swift &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/programming-swift inside it instead.
Copy the skill folder to ~/.agents/skills/programming-swift to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kylehughes/the-unofficial-swift-programming-language-skill.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/programming-swift &&
cp -R "$tmp/programming-swift" ~/.agents/skills/programming-swift &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/programming-swift inside it instead.
Copy the skill folder to ~/.cursor/skills/programming-swift to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kylehughes/the-unofficial-swift-programming-language-skill.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/programming-swift &&
cp -R "$tmp/programming-swift" ~/.cursor/skills/programming-swift &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/programming-swift inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/kylehughes/the-unofficial-swift-programming-language-skill.git --path programming-swiftOr copy the folder to ~/.gemini/skills/programming-swift yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/programming-swift:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/kylehughes/the-unofficial-swift-programming-language-skill.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/programming-swift &&
cp -R "$tmp/programming-swift" ~/.copilot/skills/programming-swift &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/programming-swift inside it instead.
Get the folder:
git clone --depth 1 https://github.com/kylehughes/the-unofficial-swift-programming-language-skill.gitThen copy the-unofficial-swift-programming-language-skill/programming-swift into your agent's skills folder as programming-swift. Agents that support SKILL.md read one folder per skill.
What it does
- Full language guide
- Covers the Swift book's chapters from basic types and control flow through protocols and generics.
- Concurrency reference
- Includes the concurrency chapter for understanding async work in Swift.
- Formal grammar reference
- Provides the reference manual sections on lexical structure, types, expressions, statements and declarations.
- Compiler error lookup
- Lets the agent consult the official text when interpreting an unfamiliar compiler error.
- Swift version compatibility
- Documents which functionality is available in older language modes.
Good for
- Check the correct syntax for a Swift language construct
- Explain how a Swift language feature such as closures or generics works
- Work out why a Swift compiler error is occurring
- Review async and actor code against the concurrency chapter
- Look up formal grammar rules for a declaration or expression
Programming swift FAQ
What does Programming swift add to my agent?
It supplies the full text of The Swift Programming Language (6.4) book, which the agent can read when a Swift task calls for it.
Does Programming swift run any code or scripts?
No. The skill contains no scripts; it provides documentation files for the agent to read.
What license does the content use?
The content is distributed under the Apache 2.0 License, with copyright held by Apple Inc. and the Swift project authors.
How do I install Programming swift in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/programming-swift to use it in all your projects, or to .claude/skills/programming-swift in one project. Or install the programming-swift-skill plugin, which includes it: /plugin marketplace add kylehughes/the-unofficial-swift-programming-language-skill, then /plugin install programming-swift-skill@the-unofficial-swift-programming-language-skill.
Does Programming swift run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Programming swift?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Programming swift?
The closest alternatives to Programming swift are Axiom swift, Foundation models, Apple intelligence, Axiom apple docs and Swift modern architecture.
Where this comes from
- Description: from the skill's own SKILL.md.



