Drop an AI coding agent into an iOS codebase with no guidance and you'll get syntactically correct Swift that ignores your architecture.
I wrote up how I approached this: layered AGENTS.md docs, a Makefile that wraps xcodebuild, executable skills the agent follows like runbooks, and design token enforcement through SwiftLint.
https://sundayswift.com/posts/preparing-ios-codebase-for-ai-agents/
