Swift Case Paths
Rapidly generates optimized UI component paths for efficient frontend development workflows.
Install on your platform
We auto-selected Claude Code based on this skillβs supported platforms.
Run in terminal (recommended)
claude mcp add swift-case-paths npx -- -y @trustedskills/swift-case-paths
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"swift-case-paths": {
"command": "npx",
"args": [
"-y",
"@trustedskills/swift-case-paths"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill, swift-case-paths, provides functionality to convert Swift file paths into various casing styles (e.g., snake_case, kebab-case). It's designed to handle complex directory structures and filenames commonly found in Swift projects, ensuring consistent and predictable path formatting for tasks like generating documentation or creating code snippets. The skill aims to simplify the process of transforming file paths into desired formats programmatically.
When to use it
- Generating API Documentation: Convert Swift file paths to snake_case for cleaner API reference URLs.
- Creating Code Snippets: Format file paths in kebab-case when generating code examples or tutorials.
- Automated Build Processes: Standardize file path casing within build scripts and configuration files.
- Generating Configuration Files: Transform Swift file paths to a specific case for use as keys in configuration files.
Key capabilities
- Converts Swift file paths to snake_case.
- Converts Swift file paths to kebab-case.
- Handles complex directory structures.
- Processes filenames within the path.
Example prompts
- "Convert
/Users/user/project/Sources/MyClass.swiftto snake_case." - "Transform
/Components/UI/ButtonView.swiftinto kebab-case." - βWhat is the snake_case version of
/Models/UserAccount.swift?β
Tips & gotchas
The skill assumes input paths are valid Swift file paths; incorrect or malformed paths may lead to unexpected results. Ensure the AI agent has access to the necessary path information for accurate conversion.
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.