AppleDevelopmentFoundation
AGENTS.md2 starsChanged 2 months agoMITView on GitHub
This repository is a Codex-first skills and MCP/commands reference for Apple development (iOS 17+, macOS 14+). Codex is the supported and verified agent host: skills use .agents/skills/, the installer targets ${CODEX_HOME:-$HOME/.codex}/skills, and examples use $skill-name. Other skill- and MCP-capable hosts have documentation-only/manual compatibility unless this repository adds and verifies a host adapter. See docs/reference/host-support.mdx. The exploratory Swift package and demos are isolated under archive/ — do not expand them unless explicitly asked. Agent-facing playbook (install, routing, MCP, verification): Blume site…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,700 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository17 other files it gives its agents.
- apple-accessibility-reviewSkill
- apple-app-marketing-siteSkill
- apple-design-systemSkill
- apple-development-foundationSkill
- apple-error-statesSkill
- apple-platform-plannerSkill
- apple-security-privacy-reviewSkill
- codex-bootstrapSkill
- codex-skill-maintainerSkill
- ios-macos-platform-adaptationSkill
- maestro-apple-app-testingSkill
- reusable-code-extractorSkill
- swift-concurrency-reviewSkill
- swift-package-module-authorSkill
- swift-testing-verificationSkill
- swiftui-component-authorSkill
- swiftui-tab-navigationSkill
The file
We split this AGENTS.md into the rules it gives an agent
7 rules. About 1 is common, 3 are distinctive, and 3 are very specific to this project.
≈1
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 12
Keep skills neutral and reusable: no business models, branding, secrets, user-specific paths, or hidden network behavior
- Very specific: line 13
Follow the Apple verification capability ladder in MCP.md: XcodeBuildMCP MCP tools first.
- Very specific: line 15
Use $apple-development-foundation for new-chat routing and new iOS/macOS app bootstrap (it shortlists $codex-bootstrap).
- Very specific: line 16
Update skills through .agents/skills/.
- Distinctive: line 34
Use Swift 6.2 or later, SwiftUI, SwiftData where appropriate, native observation, initializer or environment injection, structured …
- Distinctive: line 36
All SwiftUI components must support Dynamic Type, VoiceOver, keyboard access, contrast, Reduce Motion, Differentiate Without Color, and a …
- Distinctive: line 46
Avoid broad unrelated refactors.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Apple Development Foundation
This repository is a Codex-first skills and MCP/commands reference for Apple development (iOS 17+, macOS 14+). Codex is the supported and verified agent host: skills use .agents/skills/, the installer targets ${CODEX_HOME:-$HOME/.codex}/skills, and examples use $skill-name. Other skill- and MCP-capable hosts have documentation-only/manual compatibility unless this repository adds and verifies a host adapter. See docs/reference/host-support.mdx.
The exploratory Swift package and demos are isolated under archive/ — do not expand them unless explicitly asked.
Agent-facing playbook (install, routing, MCP, verification): Blume site under docs/ (npm run dev). Keep always-on rules here; put longer onboarding in docs/.
Primary work
- Maintain, install, and verify skills:
./Scripts/install-skills.sh,./Scripts/verify-skills.sh,./Scripts/test-install-skills.sh - Keep skills neutral and reusable: no business models, branding, secrets, user-specific paths, or hidden network behavior
- Follow the Apple verification capability ladder in
MCP.md: XcodeBuildMCP MCP tools first; XcodeBuildMCP CLI only when the active project/user policy explicitly permits it; repository-native raw Xcode tooling only when that policy authorizes it; otherwise report blocked. Never infer fallback permission from tool availability. - For Maestro app testing, use
$maestro-apple-app-testingas the main workflow; combine XcodeBuildMCP for Apple builds/simulators with Maestro MCP and CLI flows for UI inspection and regression coverage. - Use
$apple-development-foundationfor new-chat routing and new iOS/macOS app bootstrap (it shortlists$codex-bootstrap); use$codex-bootstrapdirectly when already selected - Update skills through
.agents/skills/; seedocs/skills/skill-authoring-guide.mdxbefore changing skill behavior
Skill routing
For new-chat Apple-platform skill selection and explicitly requested foundation
audits, use apple-development-foundation.
It reads master-skill.json
to shortlist relevant child skills before reading their instructions. Explicit
invocation is required; ordinary routing does not imply an audit, repository
scan, installer action, or verification run. The catalog defines the detailed
inventory, audit classifications, and foundation-only verification workflow.
Skills apply to consumer apps
Skills target the active workspace (the app or package the user is building), not this repository's archived modules. Do not add code to archive/Sources/, create modules with ./archive/Scripts/create-module.sh, or treat DesignSystem / FileKit here as live products unless the user explicitly asks to work on archived package code.
Apple development defaults (when writing Swift in any workspace)
Use Swift 6.2 or later, SwiftUI, SwiftData where appropriate, native observation, initializer or environment injection, structured concurrency, and focused views. Do not add a view model without a state-ownership or testability reason.
All SwiftUI components must support Dynamic Type, VoiceOver, keyboard access, contrast, Reduce Motion, Differentiate Without Color, and a descriptive label for an icon-only control. Validate imports before reading them. Never log credentials, tokens, private content, raw imports, complete sensitive paths, or security-scoped URLs.
- For any SwiftUI UI (including feature screens, not only shared components): keep content opaque; reserve glass for system navigation chrome; ~44×44 pt targets on iOS/touch platforms (platform-native sizing on macOS); system text styles (no Ultralight/Thin for UI); selective accent; frequency-gated motion (no animation on high-frequency or keyboard paths). Defer deep gesture physics to host-local motion skills.
- For Liquid Glass requests, interpret “Liquid Glass” as adopting the OS-owned navigation/control appearance: use native
TabView, navigation bars, toolbars, and sheets; never imitate system chrome with custom materials or safe-area bars. Use customglassEffectonly for a navigation-plane control the system cannot express, with aGlassEffectContainerwhen multiple glass elements must coordinate, and preserve accessibility plus older-OS fallback behavior.
Verification
- Skill or manifest changes:
./Scripts/verify-skills.sh(and./Scripts/test-install-skills.shif installer behavior changes) - Archived package changes (only when explicitly requested):
cd archive && ./Scripts/verify.sh— seeARCHIVE.mdandarchive/Documentation/ModuleBoundaries.md
Avoid broad unrelated refactors. Report commands not available locally.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

