.claude/skills/build-package/SKILL.md
Build an individual Swift package
npx skillsauth add adamayoung/popcorn build-packageInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Build a single Swift package. Use this when you only need to verify a specific package compiles — use /build instead when you need to build the entire app.
Run via a subagent (Task tool, subagent_type: "general-purpose") to keep large logs out of the main context. The subagent should run the command from the package directory and report back pass/fail with any errors.
cd <package-dir> && swift build -Xswiftc -warnings-as-errors 2>&1
# Context package
cd Contexts/PopcornMovies && swift build -Xswiftc -warnings-as-errors 2>&1
# Adapter package
cd Adapters/Contexts/PopcornMoviesAdapters && swift build -Xswiftc -warnings-as-errors 2>&1
# Feature package
cd Features/MovieDetailsFeature && swift build -Xswiftc -warnings-as-errors 2>&1
# Core package
cd Core/CoreDomain && swift build -Xswiftc -warnings-as-errors 2>&1
# Platform package
cd Platform/Caching && swift build -Xswiftc -warnings-as-errors 2>&1
| Layer | Path pattern |
|-------|-------------|
| Contexts | Contexts/<PackageName>/ |
| Context Adapters | Adapters/Contexts/<PackageName>/ |
| Platform Adapters | Adapters/Platform/<PackageName>/ |
| Features | Features/<PackageName>/ |
| Core | Core/<PackageName>/ |
| Platform | Platform/<PackageName>/ |
| AppDependencies | AppDependencies/ |
data-ai
Add properties to an existing domain model from TMDb
testing
Run all unit tests
testing
Run UI tests
testing
Run snapshot tests