Swift Case Paths

🌐Community
by nonameplum Β· vlatest Β· Repository

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.

1

Run in terminal (recommended)

terminal
claude mcp add swift-case-paths npx -- -y @trustedskills/swift-case-paths
2

Or manually add to ~/.claude/settings.json

~/.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.swift to snake_case."
  • "Transform /Components/UI/ButtonView.swift into 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 HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
nonameplum
Installs
13

🌐 Community

Passed automated security scans.