Native Swift 6.2 & SwiftUI component system, adaptive color engine, and multi-platform specimen verifier for iOS 26, iPadOS 26, and macOS 26.
Ship HIG-compliant SwiftUI interfaces with semantic tokens (DesignOSAdaptiveColor), Liquid Glass & tactile depth, Dynamic Type safety, and automated simulator specimen verification.
Quickstart · What it makes · Install · How it works · Commands · Limits
AI agents writing SwiftUI frequently hallucinate deprecated modifiers, hardcode hex colors that break in Dark Mode, ignore 44×44pt hit targets, and fail Swift 6 strict concurrency checks. design-os-apple provides a Swift 6.2 package (DesignOSApple) paired with portable Python/Node contract verifiers and native Xcode simulator gates.
| Dimension | Generic AI / Manual Workflow | Apple Design OS (DESIGN:OS) |
|---|---|---|
| Swift 6 Concurrency | Data-race warnings and @MainActor compiler errors |
Strict Swift 6.2 concurrency compliance out of the box |
| Color & Dark Mode | Hardcoded Color(hex:) values that break high-contrast and Dark Mode |
Semantic DesignOSAdaptiveColor tokens verified across light/dark appearances |
| Accessibility & HIG | Tiny tap targets (<44pt) and missing VoiceOver labels | Enforced >=44pt hit targets, Dynamic Type scaling, and Reduce Motion support |
| Documentation Parity | README Swift snippets that no longer compile against the library | Automated verify-quickstart-parity.py + native swiftc typecheck in CI |
| Privacy & Telemetry | Opaque cloud telemetry or unverified third-party APIs | Zero telemetry — 100% local execution (PRIVACY.md audited) |
In Claude Code:
/plugin marketplace add jangtrinh/design-os-apple
/plugin install design-os-apple@design-os-apple
Or from your terminal (Codex, Gemini CLI, Antigravity, OpenCode, or standalone CLI):
git clone https://github.com/jangtrinh/design-os-apple.git
cd design-os-apple
python3 scripts/verify-quickstart-parity.py && python3 scripts/verify-layered-kit.pyOpen your project in your AI coding agent and describe what you need:
"Build a native SwiftUI settings and telemetry screen using DesignOSApple semantic tokens, 44pt minimum hit targets, and Dynamic Type."
"Audit our SwiftUI views against the Apple HIG gate for hardcoded colors, missing accessibility labels, and Reduce Motion fallbacks."
"Run the portable contract verifiers for quickstart parity, app style registry, and layered UI-kit specimens."
python3 scripts/self_check.pyEvery deliverable produced by design-os-apple is backed by a deterministic verification gate rather than freehand AI guesswork.
Prompt: "Build a native SwiftUI settings and telemetry screen using DesignOSApple semantic tokens, 44pt minimum hit targets, and Dynamic Type."
| Deliverable / Mode | Best for | Output Format | Verification Gate |
|---|---|---|---|
DesignOSApple Swift Package |
Drop-in SwiftUI tokens, fields, cards, shells, and adaptive colors | Package.swift + Sources/DesignOSApple |
swift test & verify-release-candidate.sh |
| CalorieCam Reference App | End-to-end iOS/iPadOS/macOS reference app + local Node analysis server | Examples/CalorieCam |
scripts/verify-caloriecam.sh |
| Portable Contract Verifiers | Fast Linux/macOS CI checks for quickstart parity, style registry, and specimens | scripts/verify-*.py |
Zero drift between code and docs |
Choose the setup that matches your AI coding agent. Every option installs the same canonical skill (skills/design-os-apple/SKILL.md) and /doctor diagnostic suite.
Run these two commands inside Claude Code:
/plugin marketplace add jangtrinh/design-os-apple
/plugin install design-os-apple@design-os-apple
Install to your personal Codex skills directory:
git clone https://github.com/jangtrinh/design-os-apple.git /tmp/design-os-apple
mkdir -p ~/.codex/skills/design-os-apple ~/.codex/prompts
cp -R /tmp/design-os-apple/skills/design-os-apple/* ~/.codex/skills/design-os-apple/
cp /tmp/design-os-apple/prompts/doctor.md ~/.codex/prompts/design-os-apple-doctor.md
rm -rf /tmp/design-os-applegit clone https://github.com/jangtrinh/design-os-apple.git /tmp/design-os-apple
mkdir -p ~/.gemini/skills/design-os-apple
cp -R /tmp/design-os-apple/skills/design-os-apple/* ~/.gemini/skills/design-os-apple/
rm -rf /tmp/design-os-applegit clone https://github.com/jangtrinh/design-os-apple.git /tmp/design-os-apple
mkdir -p ~/.agents/skills/design-os-apple
cp -R /tmp/design-os-apple/skills/design-os-apple/* ~/.agents/skills/design-os-apple/
rm -rf /tmp/design-os-appleVerify or uninstall
Verify installation:
python3 scripts/self_check.pyOr run /doctor inside Claude Code / Codex to inspect installed skill paths, plugin manifests, and gate health.
Uninstall:
rm -rf ~/.claude/skills/design-os-apple ~/.codex/skills/design-os-apple ~/.gemini/skills/design-os-apple ~/.agents/skills/design-os-appleOnce installed, skills/design-os-apple/SKILL.md activates automatically when your prompt matches its domain triggers. Browse docs/cookbook.md for copy-paste prompt recipes.
Generate & Scaffold
"Build a native SwiftUI settings and telemetry screen using DesignOSApple semantic tokens, 44pt minimum hit targets, and Dynamic Type."
Audit & Verify
"Audit our SwiftUI views against the Apple HIG gate for hardcoded colors, missing accessibility labels, and Reduce Motion fallbacks."
Export & Automate
"Run the portable contract verifiers for quickstart parity, app style registry, and layered UI-kit specimens."
| Command | Environment | What it does |
|---|---|---|
/doctor |
Claude Code / Codex | Read-only diagnostic check of installed skill paths, plugin manifests, and runtime prerequisites |
python3 scripts/self_check.py |
Terminal / CI | Deterministic offline verification of manifests, skill contracts, and governance files |
python3 scripts/verify-quickstart-parity.py |
Terminal / CI | Verify that published Swift quickstart examples in docs and HTML remain 100% byte-identical and type-safe |
- Intent Routing — Your AI agent matches your request against
skills/design-os-apple/SKILL.mdfrontmatter triggers. - Progressive Context Loading — Only the entry-point
SKILL.mdrouter loads initially; detailed recipes and scripts load on demand. - Deterministic Execution — Domain scripts and contracts execute locally with reproducible inputs and outputs.
- Gate Verification —
scripts/self_check.pyand domain verifiers (python3 scripts/verify-quickstart-parity.py && python3 scripts/verify-layered-kit.py) validate the artifact before completion. - Zero-Telemetry Delivery — Verified files are written directly to your workspace with zero external network calls.
User Prompt / CLI Invocation
│
▼
┌───────────────────────────────────────────────┐
│ skills/design-os-apple/SKILL.md
│ Progressive disclosure router & hard rules │
└───────────┬───────────────────────────────────┘
│ loads on demand
▼
┌───────────────────────────────────────────────┐
│ python3 scripts/verify-quickstart-parity.py
│ Deterministic build & contract enforcement │
└───────────┬───────────────────────────────────┘
│ verifies
▼
┌───────────────────────────────────────────────┐
│ python3 scripts/self_check.py + /doctor │
│ Zero-telemetry local verification gate │
└───────────────────────────────────────────────┘
design-os-apple uses progressive context disclosure so your agent's context window stays fast and focused:
| File | Loaded when |
|---|---|
skills/design-os-apple/SKILL.md |
Always (~100–150 lines) — routing rules, triggers, and execution workflow |
docs/cookbook.md |
When selecting multi-step prompt recipes or domain patterns |
commands/doctor.md / prompts/doctor.md |
Only when running /doctor diagnostics |
llms.txt |
When indexed by AI answer engines, RAG pipelines, or repo crawlers |
design-os-apple/
├── .claude-plugin/
│ ├── plugin.json # Claude Code plugin manifest
│ └── marketplace.json # Claude Code marketplace catalog
├── .codex-plugin/
│ └── plugin.json # OpenAI Codex plugin & interface manifest
├── .agents/
│ └── plugins/marketplace.json # Cross-agent local plugin registry
├── .factory-plugin/
│ ├── plugin.json # Factory / Droid plugin manifest
│ └── marketplace.json # Factory marketplace metadata
├── skills/
│ └── design-os-apple/
│ └── SKILL.md # Canonical agent skill entrypoint
├── commands/
│ └── doctor.md # /doctor diagnostic slash command
├── prompts/
│ └── doctor.md # Codex diagnostic prompt mirror
├── scripts/
│ └── self_check.py # Deterministic repository & skill self-check
├── docs/
│ ├── cookbook.md # Copy-paste prompt recipes by job
│ └── llms.txt # GEO / LLM discovery index
├── PRIVACY.md # Zero-telemetry & local-first privacy commitment
├── SECURITY.md # Vulnerability disclosure & security policy
├── CONTRIBUTING.md # Contribution workflow & verification rules
├── CODE_OF_CONDUCT.md # Contributor Covenant code of conduct
├── CHANGELOG.md # Release history
├── llms.txt # Root LLM indexing manifest
├── LICENSE # PolyForm Shield 1.0.0
└── README.md
python3 scripts/self_check.pyprintsok: design-os-apple self-check passed (design-os-apple)and exits0.python3 scripts/verify-quickstart-parity.py && python3 scripts/verify-layered-kit.pypasses with zero contract or test regressions.- Your AI coding agent loads
skills/design-os-apple/SKILL.mdautomatically when given any prompt fromdocs/cookbook.md. - Network traffic during execution remains zero (guaranteed by
PRIVACY.md).
- Cross-platform React Native, Flutter, or web-only applications (use
design-osordesign-os-generative-ui). - Legacy UIKit/AppKit codebases targeting iOS versions below the SwiftUI 6 deployment baseline.
- Low-level Metal game engines with no standard HIG control surfaces.
design-os-apple is one of the 13 source-available engines in the DESIGN:OS ecosystem:
Built by Jang Trịnh. More projects, case studies and writing at jang.work.
- Contributing: See
CONTRIBUTING.mdfor pull request guidelines and verification gates (python3 scripts/self_check.py). - Code of Conduct: Governed by
CODE_OF_CONDUCT.md. - Security & Privacy: Zero telemetry — see
SECURITY.mdandPRIVACY.md. - Changelog & LLM Index: Track releases in
CHANGELOG.mdand machine-readable index inllms.txt. - License: PolyForm Shield 1.0.0 © Jang Trinh. Free to use and modify, including for paid client work; you may not resell it or build a competing product from it.
If design-os-apple saves you time, a star on GitHub helps other engineers and AI agents find it.