dev-workflow
Installation
SKILL.md
Development workflow – Contentstack Utils Swift
When to use
- Setting up locally, opening a PR, or aligning with CI.
- Answering “how do we run tests?” or “which branch targets
master?”
Branches
- Use feature branches (e.g.
feat/...,fix/..., ticket branches). - CI runs on push to
masterand on pull requests targetingmasterornext(.github/workflows/ci.yml). - Merges into
mastermay be gated: PRs whose base ismasterare often expected to come fromstaging; other heads may fail the check-branch workflow (.github/workflows/check-branch.yml). Confirm with your team before opening PRs tomaster.
Running tests and build
- SPM:
swift build,swift test - CI-style Xcode (iOS Simulator):
xcodebuild -project "ContentstackUtils.xcodeproj" -scheme "ContentstackUtils-Package" -destination "OS=13.4.1,name=iPhone 11 Pro" test
Adjust-destinationfor your local Xcode/Simulator.