Skills for Real Engineers. Straight from my .agents directory.
spm-build-analysis
Agent skill fromAvdLee/Xcode-Build-Optimization-Agent-Skill
Analyze Swift Package Manager dependencies, package plugins, module variants, and CI-oriented build overhead that slow Xcode builds. Use when a developer suspects packages, plugins, or dependency graph shape are hurting clean or incremental build performance, mentions SPM slowness, package resolution time, build plugin overhead, duplicate module builds from configuration drift, circular dependencies between modules, oversized modules needing splitting, or modularization best practices.
How to install spm-build-analysis
npx skills add AvdLee/Xcode-Build-Optimization-Agent-Skill# or add only this skill to Claude Code: copy the folder
skills/spm-build-analysis/
# into
~/.claude/skills/spm-build-analysis/ (all projects)
.claude/skills/spm-build-analysis/ (one project)
1# SPM Build Analysis23Use this skill when package structure, plugins, or dependency configuration are likely contributing to slow Xcode builds.45## Core Rules67- Treat package analysis as evidence gathering first, not a mandate to replace dependencies.8- Separate package-graph issues from project-setting issues.9- Do not rewrite package manifests or dependency sources without explicit approval.1011## What To Inspect1213- `Package.swift` and `Package.resolved`14- local packages vs remote packages15- package plugin and build-tool usage16- binary target footprint17- dependency layering, repeated imports, and potential cycles18- build logs or timing summaries that show package-related work1920## Verification Before Recommending2122Before including any local package in a recommendation, verify that it is actually part of the project's dependency graph. A `Vendor/` directory may contain packages that are not linked to any target.2324- Check `project.pbxproj` for `XCLocalSwiftPackageReference` entries that reference the package path.25- Check `XCSwiftPackageProductDependency` entries to confirm the package's product is linked to at least one target.26- If a local package exists on disk but is not referenced in the project, do not include it in build-time recommendations.2728When recommending version pins for branch-tracked dependencies:2930- Use the helper script to scan all branch-pinned dependencies at once:31 ```bash32 python3 scripts/check_spm_pins.py --project App.xcodeproj33 ```34…
Excerpt shown under the repository's MIT license.
More skills in Xcode-Build-Optimization-Agent-Skill
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.
