Generating Swift Package Docs

🌐Community
by johnrogers · vlatest · Repository

Helps with Swift, packages as part of building frontend UIs and user experiences 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 generating-swift-package-docs npx -- -y @trustedskills/generating-swift-package-docs
2

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

~/.claude/settings.json
{
  "mcpServers": {
    "generating-swift-package-docs": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/generating-swift-package-docs"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill generates API documentation for Swift package dependencies on demand. It extracts symbol information from Xcode's DerivedData, allowing an AI agent to answer questions like "what does this library do?". The tool leverages interfazzle to retrieve the necessary data and provides a path to a cached documentation file that can be read and used.

When to use it

  • When exploring unfamiliar Swift dependencies and needing quick access to their API documentation.
  • To avoid having to guess functionality based solely on code inspection.
  • When you need to understand the capabilities of a specific Swift module import within a project.

Key capabilities

  • Generates API documentation for Swift packages.
  • Extracts symbol information from Xcode's DerivedData.
  • Utilizes interfazzle CLI tool for data extraction.
  • Provides a path to a cached documentation file.

Example prompts

  • "Can you tell me what the 'MySwiftLibrary' package does?"
  • "Generate documentation for the 'AnotherSwiftPackage' dependency in my project."
  • "What are the key features of this Swift module I just imported?"

Tips & gotchas

  • The Xcode project must be built at least once to ensure DerivedData exists.
  • The interfazzle CLI tool needs to be installed separately.
  • Refer to reference.md for detailed error handling and usage information.

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
johnrogers
Installs
35

🌐 Community

Passed automated security scans.