SwiftUI-Agent-Skill
Copilot instructions3.7k starsChanged 4 months agoMITView on GitHub
Review changes as an Agent Skills expert, focusing on the Agent Skills open format specification and ensuring this repository stays a SwiftUI-focused, non-architectural, modern-API skill. Level 1: Metadata (always loaded) - YAML frontmatter should be concise and trigger-relevant. Level 2: Instructions (loaded when triggered) - skills/swiftui-expert-skill/SKILL.md body should contain workflows, checklists, decision trees, and quick references. - Avoid turning SKILL.md into an encyclopedia; prefer linking out to references. Level 3: Resources (loaded as needed) - Topic-specific guidance lives in skills/swiftui-expert-skill/references/*.md.…
Trending
More talk lately.about the whole repository
Who's talking about AvdLee/SwiftUI-Agent-Skill
- @zeero26.bsky.social“SwiftLeeの人がSwiftUIのAgentSkillリリースしてた これは期待 AvdLee/SwiftUI-Agent-Skill: Add expert SwiftUI Best Practices …”Bluesky · Jan 31, 2026 · 6 likes
- @avanderlee.com“If you use agents for SwiftUI work, give them better context. My SwiftUI Expert Agent Skill focuses on …”Bluesky · Jul 18, 2026 · 3 likes
- @peterfriese.dev“Teach your AI agent SwiftUI best practices! 🎓 Antoine van der Lee and Omar Elsayed released an Agent Skill …”Bluesky · Jan 28, 2026 · 3 likes
- @avanderlee.com“Get it here: github.com/AvdLee/Swift...”Bluesky · Sep 19, 2026 · 2 likes
- @avanderlee.com“If you work on SwiftUI views, my SwiftUI Expert Agent Skill gives your agent focused guidance on state, …”Bluesky · Jul 20, 2026 · 2 likes
The biggest 5 of 24 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 24
Talked about on GitHub and Bluesky (24 times).
On GitHub · 18
- Oct 4, 2026claude-code-plugins.github.avdlee.swiftui-agent-skill: init at 5.2.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.avdlee.swiftui-agent-skill: init at 5.2.1 — sudosubin/agents.nix0 reactions
- Oct 4, 2026agent-plugins.github.avdlee.swiftui-agent-skill: init at 5.2.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026agent-skills.github.avdlee.swiftui-agent-skill: 5.1.0 → 5.2.1 — sudosubin/agents.nix0 reactions
- Oct 3, 2026chore(deps): update dependency avdlee/swiftui-agent-skill/skills/swiftui-expert-skill to v5 — AlonsoFloo/skills0 reactions
13 more on GitHub
- Sep 28, 2026chore(deps): update dependency avdlee/swiftui-agent-skill/skills/swiftui-expert-skill to v5 - autoclosed — AlonsoFloo/skills0 reactions · 1 comment
- Sep 26, 2026[Candidate] avdlee/swiftui-agent-skill/skills/swiftui-expert-skill - swiftui-expert-skill — ProSkillsMD/proskills0 reactions · 2 comments
- Sep 26, 2026[Candidate] avdlee/swiftui-agent-skill/.agents/skills/update-swiftui-apis - update-swiftui-apis — ProSkillsMD/proskills0 reactions · 1 comment
- Sep 25, 2026agent-skills.github.avdlee.swiftui-agent-skill: init at 5.1.0 — sudosubin/agents.nix0 reactions
- Jun 18, 2026Add bootstrap-ios skill — RayFernando1337/rayfernando-skills0 reactions
- May 25, 2026Swift dev skills: install Axiom/AvdLee + create OSSignposter/benchmark/memory skills — fairchild/workspacessays it tested it0 reactions · 1 comment
- Mar 15, 2026Embed Swift & Spezi-Specific Skills & Embed In Future CLI Setup — StanfordSpezi/SpeziVibe0 reactions
- Feb 20, 2026swiftui-expert-skill — AAswordman/OperitSkillMarket0 reactions
- Feb 15, 2026[Bookshelf] SwiftUI Agent Skill の導入 — yuta24/Bookshelf0 reactions · 1 comment
- Feb 7, 2026SwiftUIの実装精度が悪いのでSkillを追加する — WHITS-ISLAND/inspirehub-mobile0 reactions
- Jan 31, 2026New skill: /avdlee-swiftui-expert-skill (safe risk) — aiskillstore/marketplace0 reactions
- Jan 29, 2026[FEATURE] Add support for installation with `npx skills add` — pzep1/xcode-build-skill0 reactions · 3 comments
- Jan 25, 2026Restructure repository to Agent Skills open format — efremidze/swift-patterns-skill0 reactions · 3 comments
On Bluesky · 6
- Jan 31, 2026SwiftLeeの人がSwiftUIのAgentSkillリリースしてた これは期待 AvdLee/SwiftUI-Agent-Skill: Add expert SwiftUI Best Practices guidance to your AI coding tool… — @zeero26.bsky.social6 likes and reposts
- Jul 18, 2026If you use agents for SwiftUI work, give them better context. My SwiftUI Expert Agent Skill focuses on state, layout, performance, modern… — @avanderlee.com3 likes and reposts · 1 reply
- Jan 28, 2026Teach your AI agent SwiftUI best practices! 🎓 Antoine van der Lee and Omar Elsayed released an Agent Skill to help AI tools review and… — @peterfriese.dev3 likes and reposts
- Sep 19, 2026Get it here: github.com/AvdLee/Swift... — @avanderlee.com2 likes and reposts
- Jul 20, 2026If you work on SwiftUI views, my SwiftUI Expert Agent Skill gives your agent focused guidance on state, view composition, performance, and… — @avanderlee.com2 likes and reposts
1 more on Bluesky
- May 1, 2026https://github.com/AvdLee/SwiftUI-Agent-Skill — @tom-doerr.bsky.social1 likes and repost
In this repository3 other files it gives its agents.
- AGENTS.mdAGENTS.md
- update-swiftui-apisSkill
- swiftui-expert-skillSkill
The file
We split this copilot-instructions.md into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
SKILL.mdrequired: Every skill directory must contain a SKILL.md with YAML frontmatter. - Very specific: line 12
Progressive disclosure: keep SKILL.md as the primary entrypoint.
- Very specific: line 22
Avoid turning SKILL.md into an encyclopedia.
- Distinctive: line 29
SwiftUI-only: avoid UIKit patterns unless bridging is strictly necessary, and avoid server-side Swift.
- Very specific: line 30
No architecture mandates: do not prescribe MVVM/MVC/VIPER/coordinators/routers or project folder structures.
- Distinctive: line 31
No tooling instructions: avoid IDE/tool walkthroughs.
- Very specific: line 32
Modern SwiftUI APIs: prefer modern, non-deprecated APIs where correctness is impacted (e.g., NavigationStack, foregroundStyle()).
- Distinctive: line 42
Do flag genuinely incorrect syntax or misleading API usage: If an example uses a non-existent API or wrong parameter name, that's a real …
≈ “Common” is an estimate: at least 1 in 5 of the 1,644 Copilot instructions files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
GitHub Copilot Instructions: Agent Skills Expert (SwiftUI)
Review changes as an Agent Skills expert, focusing on the Agent Skills open format specification and ensuring this repository stays a SwiftUI-focused, non-architectural, modern-API skill.
Core Agent Skills Principles
Format Compliance
SKILL.mdrequired: Every skill directory must contain aSKILL.mdwith YAML frontmatter.- YAML frontmatter requirements:
name: non-empty, <= 64 chars, lowercase letters/numbers/hyphens only.description: non-empty, <= 1024 chars, clearly states what the skill does and when to use it.
- Progressive disclosure: keep
SKILL.mdas the primary entrypoint; move deep dives intoskills/swiftui-expert-skill/references/. - Filesystem-based design: content should be organized so agents can load only what they need (metadata → instructions → references).
Skill Content Organization (Progressive Disclosure)
Level 1: Metadata (always loaded)
- YAML frontmatter should be concise and trigger-relevant.
Level 2: Instructions (loaded when triggered)
skills/swiftui-expert-skill/SKILL.mdbody should contain workflows, checklists, decision trees, and quick references.- Avoid turning
SKILL.mdinto an encyclopedia; prefer linking out to references.
Level 3: Resources (loaded as needed)
- Topic-specific guidance lives in
skills/swiftui-expert-skill/references/*.md. - References should be linked from
SKILL.mdso agents discover them naturally.
SwiftUI Repository Constraints (Keep This Skill “On Mission”)
- SwiftUI-only: avoid UIKit patterns unless bridging is strictly necessary, and avoid server-side Swift.
- No architecture mandates: do not prescribe MVVM/MVC/VIPER/coordinators/routers or project folder structures.
- No tooling instructions: avoid IDE/tool walkthroughs. (Mentioning that profiling exists is fine; don’t give step-by-step tool instructions.)
- Modern SwiftUI APIs: prefer modern, non-deprecated APIs where correctness is impacted (e.g.,
NavigationStack,foregroundStyle()). - Performance guidance is optional: performance optimizations should be phrased as “consider” unless it’s a correctness issue.
This Is a Skill, Not a Codebase
Code examples in this repository are reference patterns for AI agents, not compilable sample code for human developers. When reviewing:
- Do not flag "incomplete" snippets. Examples intentionally omit surrounding struct/class context, imports, and boilerplate. An AI agent understands
@StateObject private var viewModel = MyViewModel()without needingMyViewModeldefined. - Do not request "copy-pasteable" or "self-contained" examples. Every extra line of boilerplate burns tokens in the agent's context window. Conciseness is a feature, not a bug.
- Do not flag force-unwraps or missing error handling in examples. These are pattern demonstrations, not production code. The agent will add appropriate error handling when applying the pattern to real code.
- Do flag genuinely incorrect syntax or misleading API usage. If an example uses a non-existent API or wrong parameter name, that's a real issue -- the agent would produce wrong code.
- Do flag factual inaccuracies (wrong iOS version requirements, incorrect deprecation claims, etc.).
Review Focus Areas
- Description Quality
- Does the description say what the skill does and when to use it (trigger conditions)?
- Is it specific enough to be selected over other skills?
- Instruction Clarity
- Are instructions actionable (checklists, decision trees, “review/improve/implement” flows)?
- Are examples correct SwiftUI and consistent with the stated constraints?
- Progressive Disclosure
- Is
SKILL.mdfocused (not duplicating large reference content)? - Are deeper topics moved into
references/and linked appropriately?
- Is
- SwiftUI Correctness and Modernity
- Modern API replacements are accurate and not misleading.
- Guidance around lists/identity, sheets/navigation, and state wrappers is correct.
- iOS 26+ / Liquid Glass guidance includes availability gating and sensible fallbacks.
- Safety / Security (for automation & scripts)
- GitHub Actions and scripts should avoid surprising network behavior and avoid writing outside the repo.
- Dependencies should be minimal and justified.
Common Issues to Flag
- Missing/invalid YAML frontmatter in
SKILL.md. - Invalid
name(uppercase, underscores, spaces, too long). - Vague
description(“helps with SwiftUI”) without clear trigger conditions. - Overlong
SKILL.mdthat repeats reference content instead of linking to it. - Unlinked references in
skills/swiftui-expert-skill/references/that aren’t discoverable fromSKILL.md. - Architecture prescriptions or project-structure mandates.
- Tooling walkthroughs (IDE-specific or step-by-step tool usage).
- Non-SwiftUI deep dives (general Swift language/concurrency tutorials unrelated to SwiftUI usage).
Resources
- Agent Skills overview: https://agentskills.io/home
- Agent Skills docs: https://docs.anthropic.com/en/docs/claude-code/agent-skills
- Claude Platform docs (Agent Skills): https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview
- SwiftUI docs: https://developer.apple.com/documentation/swiftui
Remember: You are reviewing as an Agent Skills expert. Prioritize format compliance, progressive disclosure, SwiftUI accuracy, and keeping guidance modern and non-prescriptive.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

