Generating Swift Package Docs
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.
Run in terminal (recommended)
claude mcp add generating-swift-package-docs npx -- -y @trustedskills/generating-swift-package-docs
Or manually add to ~/.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
interfazzleCLI 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
interfazzleCLI tool needs to be installed separately. - Refer to
reference.mdfor 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 Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.