macOS Spm App Packaging
Dimillian/Skills
Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.
How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-by-default, actors, task groups), protocols and generics…
$ npx skills add KartikLabhshetwar/better-shot --skill write-swift -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install KartikLabhshetwar/better-shot write-swift --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/KartikLabhshetwar/better-shot.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/write-swift .claude/skills/write-swift && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "write-swift" agent skill from https://github.com/KartikLabhshetwar/better-shot/tree/main/.agents/skills/write-swift into .claude/skills/write-swift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "write-swift", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/KartikLabhshetwar/better-shot/tree/main/.agents/skills/write-swiftType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add KartikLabhshetwar/better-shot --skill write-swift -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install KartikLabhshetwar/better-shot write-swift --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KartikLabhshetwar/better-shot.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.agents/skills/write-swift .agents/skills/write-swift && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "write-swift" agent skill from https://github.com/KartikLabhshetwar/better-shot/tree/main/.agents/skills/write-swift into .agents/skills/write-swift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "write-swift", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add KartikLabhshetwar/better-shot --skill write-swift -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install KartikLabhshetwar/better-shot write-swift --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KartikLabhshetwar/better-shot.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.agents/skills/write-swift .cursor/skills/write-swift && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "write-swift" agent skill from https://github.com/KartikLabhshetwar/better-shot/tree/main/.agents/skills/write-swift into .cursor/skills/write-swift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "write-swift", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/KartikLabhshetwar/better-shot.git --path .agents/skills/write-swift--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add KartikLabhshetwar/better-shot --skill write-swift -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install KartikLabhshetwar/better-shot write-swift --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KartikLabhshetwar/better-shot.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.agents/skills/write-swift .gemini/skills/write-swift && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "write-swift" agent skill from https://github.com/KartikLabhshetwar/better-shot/tree/main/.agents/skills/write-swift into .gemini/skills/write-swift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "write-swift", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install KartikLabhshetwar/better-shot write-swiftInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add KartikLabhshetwar/better-shot --skill write-swift -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/KartikLabhshetwar/better-shot.git skills-src && mkdir -p .github/skills && cp -r skills-src/.agents/skills/write-swift .github/skills/write-swift && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "write-swift" agent skill from https://github.com/KartikLabhshetwar/better-shot/tree/main/.agents/skills/write-swift into .github/skills/write-swift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "write-swift", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add KartikLabhshetwar/better-shot --skill write-swift -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install KartikLabhshetwar/better-shot write-swift --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/KartikLabhshetwar/better-shot.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.agents/skills/write-swift .opencode/skills/write-swift && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "write-swift" agent skill from https://github.com/KartikLabhshetwar/better-shot/tree/main/.agents/skills/write-swift into .opencode/skills/write-swift/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "write-swift", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
write-swiftHow to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-by-default, actors, task groups), protocols and generics…
Write Swift is an agent skill from KartikLabhshetwar/better-shot. How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-by-default, actors, task groups), protocols and generics (some vs any), API design, performance and ARC, Swift Testing, macros, and the modern language features agents don't know about yet. Use when writing, reviewing, or migrating Swift, or when a concurrency error, a hang, a data race, a retain cycle, or a performance problem needs fixing.
Its SKILL.md is about 10k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Mobile, covering iOS development. It works with Swift and macOS. The repository describes itself as: Screenshot, screen recording, and video editor for macOS. Native SwiftUI app with capture deck, 75+ customizable shortcuts, URL scheme automation, and self-hosted cloud sharing…
12 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 102b364. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Shell commands in SKILL.md call:
swiftFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Write Swift loads about 10k tokens when it runs. Until then it costs about 124 tokens; SKILL.md has 5,283 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 5,283 words (~10,489 tokens).
“How to write Swift the way the language wants to be written, current through Swift 6.4.”
Just SKILL.md in .agents/skills/write-swift of KartikLabhshetwar/better-shot.
Open the folder on GitHubat commit 102b364
We found 5 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 4 other GitHub owners. This page covers the copy in KartikLabhshetwar/better-shot, which our catalogue first saw on October 7, 2026.
Write Swift next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Write Swift this skillKartikLabhshetwar/better-shot | 2.4k | 4 repos | ~10k | Automated safety check: Pass | Custom licence | |
| macOS Spm App PackagingDimillian/Skills | 4k | 5 repos | ~1.2k | Automated safety check: Pass | MIT | |
| Snapshot Testsmicrosoft/SwiftStreamingMarkdown | 378 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Build Run Debugrobinebers/openusage | 4.3k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Bootstrap iOSRayFernando1337/rayfernando-skills | 130 | — | ~1.1k | Automated safety check: Pass | Apache-2.0 | |
| macOS Build Run Debugrobinebers/openusage | 4.3k | — | ~1.8k | Automated safety check: Pass | MIT |
Dimillian/Skills
Scaffold, build, and package SwiftPM-based macOS apps without an Xcode project.
microsoft/SwiftStreamingMarkdown
Record and validate swift-snapshot-testing snapshots in the SwiftStreamingMarkdown package: regenerate reference PNGs, run snapshot tests, and diff failed snapshots.
robinebers/openusage
Build, run, and debug local macOS apps and desktop executables using shell-first Xcode and Swift workflows.
RayFernando1337/rayfernando-skills
Bootstrap agents for iOS, iPadOS, macOS, Swift, SwiftUI, SwiftData/Core Data, Swift Testing, Xcode build/test/debug, Simulator, App Intents, or XcodeBuildMCP work.
robinebers/openusage
Build, run, and debug macOS apps with shell-first Xcode and Swift workflows.
robinebers/openusage
Build, run, and test SwiftPM macOS packages and executables.
KartikLabhshetwar/better-shot
Expert guidance for hybrid AppKit-SwiftUI development. An agent skill from KartikLabhshetwar/better-shot.
KartikLabhshetwar/better-shot
Generate extremely simple, cute, personified square character images with rounded heavy forms, two purposeful character colors, one solid background color, and a dominant lower-corner composition.
KartikLabhshetwar/better-shot
Deep dive into software architecture for macOS. An agent skill from KartikLabhshetwar/better-shot.
KartikLabhshetwar/better-shot
Reviews macOS Swift 6+ code for modern idioms, SOLID principles, SwiftData patterns, and concurrency best practices.
KartikLabhshetwar/better-shot
Expert guidance on macOS platform capabilities. An agent skill from KartikLabhshetwar/better-shot.
KartikLabhshetwar/better-shot
Comprehensive macOS development guidance including Swift 6+, SwiftUI, SwiftData, architecture patterns, AppKit bridging, and macOS 26 Tahoe APIs.
Categories
How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-by-default, actors, task groups), protocols and generics…. Write Swift is an agent skill from KartikLabhshetwar/better-shot. How to write modern Swift well — modeling with value types, Swift 6 data-race safety and approachable concurrency (@concurrent, main-actor-by-default, actors, task groups), protocols and generics (some vs any), API design, performance and ARC, Swift Testing, macros, and the modern language features agents don't know about yet.
Write Swift fits situations like: migrating Swift; A concurrency error; A performance problem needs fixing.
Run `npx skills add KartikLabhshetwar/better-shot --skill write-swift -a claude-code`. Or copy the skill folder (.agents/skills/write-swift in KartikLabhshetwar/better-shot) into .claude/skills/write-swift in your project. Claude Code loads it when a task matches its description.
Run `npx skills add KartikLabhshetwar/better-shot --skill write-swift -a codex`. Or copy the skill folder (.agents/skills/write-swift in KartikLabhshetwar/better-shot) into .agents/skills/write-swift in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add KartikLabhshetwar/better-shot --skill write-swift -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/write-swift, .gemini/skills/write-swift, .github/skills/write-swift and .opencode/skills/write-swift in your project.
Going by SKILL.md and its folder, Write Swift needs the command-line tools its instructions call (swift).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Write Swift has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.
About 10k tokens (SKILL.md is roughly 42k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Write Swift: macOS Spm App Packaging (Dimillian/Skills, 4k stars), Snapshot Tests (microsoft/SwiftStreamingMarkdown, 378 stars), Build Run Debug (robinebers/openusage, 4.3k stars) and Bootstrap iOS (RayFernando1337/rayfernando-skills, 130 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
KartikLabhshetwar (a GitHub user) maintains it in KartikLabhshetwar/better-shot, which has 2,366 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on October 1, 2026.
Source: KartikLabhshetwar/better-shot on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.