Swift Conventions
Automatically formats JavaScript/TypeScript code to adhere to kaakati's style conventions, ensuring consistency and readability.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add swift-conventions npx -- -y @trustedskills/swift-conventions
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"swift-conventions": {
"command": "npx",
"args": [
"-y",
"@trustedskills/swift-conventions"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill ensures generated code adheres to Swift coding conventions. It automatically formats code, enforces naming rules, and promotes consistent styling within Swift projects. This helps maintain readability, reduces errors, and improves overall code quality.
When to use it
- Generating new Swift files: To ensure newly created source files are immediately compliant with established style guides.
- Refactoring existing codebases: To automatically apply conventions across a larger project for consistency.
- Collaborating on Swift projects: To guarantee all contributors follow the same coding standards, preventing merge conflicts and improving maintainability.
- Preparing code for submission: To ensure code meets requirements before sharing with others or submitting to repositories.
Key capabilities
- Automatic code formatting
- Enforcement of naming conventions
- Consistent styling across Swift projects
Example prompts
- "Format this Swift code according to standard conventions."
- "Apply Swift coding style guidelines to the following file content:"
- “Ensure this generated Swift class adheres to Swift conventions.”
Tips & gotchas
This skill assumes a basic understanding of Swift programming. While it automates formatting, developers should still be familiar with the underlying principles of Swift code style for effective use and troubleshooting.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.