swift-package-inventory
description (verbatim frontmatter)
Typed inventory of a real Swift package WITHOUT building it: runs `swift package dump-package` (manifest evaluation only — seconds, no compile), parses SwiftPM's verbose dump JSON into a compact typed summary (products, targets + their dependencies, package dependencies with version requirements), and greps MCP `Tool(name: "...")` registrations out of Sources/ so the MCP surface is inventoried alongside the package graph. Point it at any package dir; defaults to apps/subagentswift-mcp (the fleet's Swift MCP server). Use when the user asks what a Swift package ships, its products/targets/deps, which MCP tools a Swift server registers, or wants a package graph without waiting for a build. Trigger on "dump-package", "package inventory", "what does this package ship", "which MCP tools", "SwiftPM graph". Do NOT use for building/testing the package (swift-conduit's build checks own that), for the ClaudeForFoundationModels graph narrative (cwc-swift-engineering's swift-stack-trace owns that reading), or for non-SwiftPM projects.
summary
Typed inventory of a real Swift package WITHOUT building it: runs `swift package dump-package` (manifest evaluation only — seconds, no compile), parses SwiftPM's verbose dump JSON into a compact typed summary (products, targets + their dependencies, package dependencies with version requirements)...
source
plugins/cwc-ios-engineering/skills/swift-package-inventory/SKILL.md
provenance
created 2026-07-10 18:13:13 · JSON