Individual skill
swift-patterns
Review, refactor, or build SwiftUI features with correct state management, modern API usage, optimal view composition, navigation patterns, performance optimization, and testing best practices.
swift-patterns/SKILL.md
Source commit 2e9b66b0470a324cf3a6898549279e622aa7df71
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- Yes
- Skill scan complete
- Yes
- Observed behavior
- Instructions only
- Last checked
- Nov 6, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
Claude Code
Destination .claude/skills/swift-patterns
(
set -euo pipefail
destination='./.claude/skills/swift-patterns'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/efremidze/swift-patterns-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 2e9b66b0470a324cf3a6898549279e622aa7df71
git -C "$work/repo" archive --format=tar '2e9b66b0470a324cf3a6898549279e622aa7df71:swift-patterns' > "$work/skill.tar"
mkdir -p -- './.claude/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Codex
Destination .agents/skills/swift-patterns
(
set -euo pipefail
destination='./.agents/skills/swift-patterns'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/efremidze/swift-patterns-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 2e9b66b0470a324cf3a6898549279e622aa7df71
git -C "$work/repo" archive --format=tar '2e9b66b0470a324cf3a6898549279e622aa7df71:swift-patterns' > "$work/skill.tar"
mkdir -p -- './.agents/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Cursor
Destination .cursor/skills/swift-patterns
(
set -euo pipefail
destination='./.cursor/skills/swift-patterns'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/efremidze/swift-patterns-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 2e9b66b0470a324cf3a6898549279e622aa7df71
git -C "$work/repo" archive --format=tar '2e9b66b0470a324cf3a6898549279e622aa7df71:swift-patterns' > "$work/skill.tar"
mkdir -p -- './.cursor/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Gemini CLI
Destination .gemini/skills/swift-patterns
(
set -euo pipefail
destination='./.gemini/skills/swift-patterns'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/efremidze/swift-patterns-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 2e9b66b0470a324cf3a6898549279e622aa7df71
git -C "$work/repo" archive --format=tar '2e9b66b0470a324cf3a6898549279e622aa7df71:swift-patterns' > "$work/skill.tar"
mkdir -p -- './.gemini/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)GitHub Copilot
Destination .github/skills/swift-patterns
(
set -euo pipefail
destination='./.github/skills/swift-patterns'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/efremidze/swift-patterns-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 2e9b66b0470a324cf3a6898549279e622aa7df71
git -C "$work/repo" archive --format=tar '2e9b66b0470a324cf3a6898549279e622aa7df71:swift-patterns' > "$work/skill.tar"
mkdir -p -- './.github/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)OpenCode
Destination .opencode/skills/swift-patterns
(
set -euo pipefail
destination='./.opencode/skills/swift-patterns'
if [ -e "$destination" ] || [ -L "$destination" ]; then printf '%s\n' 'Destination already exists; nothing overwritten.' >&2; exit 1; fi
work=$(mktemp -d)
trap 'rm -rf -- "$work"' EXIT
git clone --filter=blob:none --no-checkout -- 'https://github.com/efremidze/swift-patterns-skill.git' "$work/repo"
git -C "$work/repo" checkout --detach 2e9b66b0470a324cf3a6898549279e622aa7df71
git -C "$work/repo" archive --format=tar '2e9b66b0470a324cf3a6898549279e622aa7df71:swift-patterns' > "$work/skill.tar"
mkdir -p -- './.opencode/skills'
mkdir -- "$destination"
tar -xf "$work/skill.tar" -C "$destination"
)Repository context
- Repository stars (not skill ratings)
- 12
- Repository last updated
- Mar 16, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent-skills Repository topic
- ios Repository topic
- swift Repository topic
- swiftui Repository topic
- agent Repository topic
- engineering Derived category
- testing Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 7,956 bytesreferences/code-review-refactoring.mddoc · 2,320 bytesreferences/concurrency.mddoc · 2,798 bytesreferences/lists-collections.mddoc · 1,572 bytesreferences/modern-swiftui-apis.mddoc · 12,733 bytesreferences/navigation.mddoc · 2,788 bytesreferences/patterns.mddoc · 3,919 bytesreferences/performance.mddoc · 2,146 bytesreferences/refactor-playbooks.mddoc · 4,541 bytesreferences/scrolling.mddoc · 2,834 bytesreferences/state.mddoc · 2,190 bytesreferences/testing-di.mddoc · 1,740 bytesreferences/view-composition.mddoc · 2,901 bytesreferences/workflows-refactor.mddoc · 2,283 bytesreferences/workflows-review.mddoc · 1,661 bytes
Read excerpt
# swift-patterns
Review, refactor, or build SwiftUI features with correct state management, modern API usage, optimal view composition, and performance-conscious patterns. Prioritize native APIs, Apple design guidance, and testable code structure. This skill focuses on facts and best practices without enforcing specific architectural patterns.
## Workflow Decision Tree
### 1) Review existing SwiftUI code
→ Read `references/workflows-review.md` for review methodology
- Check state management against property wrapper selection (see `references/state.md`)
- Verify view composition and extraction patterns (see `references/view-composition.md`)
- Audit list performance and identity stability (see `references/lists-collections.md`)
- Validate modern API usage (see `references/modern-swiftui-apis.md`)
- Check async work patterns with .task (see `references/concurrency.md`)
- Verify navigation implementation (see `references/navigation.md`)