Use this skill to design and review Swift APIs that are clear at the point of use, fluent in call sites, and aligned with established Swift naming and labeling conventions. Prioritize readability, explicit intent, and consistency across declarations, call sites, and documentation comments.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionswift-api-design-guidelines-skillExecute the skills CLI command in your project's root directory to begin installation:
Fetches swift-api-design-guidelines-skill from erikote04/swift-api-design-guidelines-agent-skill and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate swift-api-design-guidelines-skill. Access via /swift-api-design-guidelines-skill in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
15
GitHub stars
0
upvotes
Run in your terminal
0
installs
0
this week
15
stars
Use this skill to design and review Swift APIs that are clear at the point of use, fluent in call sites, and aligned with established Swift naming and labeling conventions. Prioritize readability, explicit intent, and consistency across declarations, call sites, and documentation comments.
references/promote-clear-usage.md, references/strive-for-fluent-usage.md).references/parameters.md, references/argument-labels.md).references/fundamentals.md).references/general-conventions.md, references/special-instructions.md).Parameter, Returns, Throws, Note, etc.).Any, NSObject, String, Int).make.sort/sorted, formUnion/union).isEmpty, intersects).O(1).| Situation | Preferred Pattern |
|---|---|
| Mutating verb | reverse() |
| Nonmutating verb | reversed() / strippingNewlines() |
| Nonmutating noun op | union(_:) |
| Mutating noun op | formUnion(_:) |
| Factory method | makeWidget(...) |
| Boolean query | isEmpty, intersects(_:) |
| Situation | Rule |
|---|---|
| Distinguishable unlabeled args | Omit labels only if distinction is still clear |
| Value-preserving conversion init | Omit first label |
| First arg in prepositional phrase | Usually label from the preposition |
| First arg in grammatical phrase | Omit first label |
| Defaulted arguments | Keep labels (they may be omitted at call sites) |
| All other arguments | Label them |
| Declaration Kind | Summary Should Describe |
|---|---|
| Function / method | What it does and what it returns |
| Subscript | What it accesses |
| Initializer | What it creates |
| Other declarations | What it is |
O(1) computed property complexity is documented.references/fundamentals.md - Core principles and documentation comment rulesreferences/promote-clear-usage.md - Ambiguity reduction and role-based namingreferences/strive-for-fluent-usage.md - Fluency, side effects, and mutating pairsreferences/use-terminology-well.md - Terms of art, abbreviations, and precedentreferences/general-conventions.md - Complexity docs, free function exceptions, casing, overloadsreferences/parameters.md - Parameter naming and default argument strategyreferences/argument-labels.md - First-argument and general label rulesreferences/special-instructions.md - Tuple/closure naming and unconstrained polymorphismPrerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
anthropics/claude-code
leonxlnx/taste-skill
sickn33/antigravity-awesome-skills
erichowens/some_claude_skills
hyperb1iss/hyperskills
omer-metin/skills-for-antigravity
swift-api-design-guidelines-skill reduced setup friction for our internal harness; good balance of opinion and flexibility.
Keeps context tight: swift-api-design-guidelines-skill is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for swift-api-design-guidelines-skill matched our evaluation — installs cleanly and behaves as described in the markdown.
Useful defaults in swift-api-design-guidelines-skill — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend swift-api-design-guidelines-skill for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
We added swift-api-design-guidelines-skill from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
I recommend swift-api-design-guidelines-skill for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Useful defaults in swift-api-design-guidelines-skill — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
swift-api-design-guidelines-skill fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
swift-api-design-guidelines-skill has been reliable in day-to-day use. Documentation quality is above average for community skills.
showing 1-10 of 50