with one click
with one click
Build the project for testing
Build an individual Swift package
Build the project
Format code with swiftlint and swiftformat
Lint code with swiftlint and swiftformat
Plan a new feature end-to-end — explore patterns, write user stories with acceptance criteria and TDD specs, adversarial backlog refinement, and auto-execute via parallel subagents
| name | build-package-for-testing |
| description | Build an individual Swift package for testing |
Build a single Swift package including its test targets. Use this when you only need to verify a specific package's tests compile — use /build-for-testing instead when you need to build the entire app for testing.
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 --build-tests -Xswiftc -warnings-as-errors 2>&1
# Context package
cd Contexts/PopcornMovies && swift build --build-tests -Xswiftc -warnings-as-errors 2>&1
# Adapter package
cd Adapters/Contexts/PopcornMoviesAdapters && swift build --build-tests -Xswiftc -warnings-as-errors 2>&1
# Feature package
cd Features/MovieDetailsFeature && swift build --build-tests -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/ |