agentleFS
brbndonbrbndon/AppleDevelopmentFoundation/AGENTS.md

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…

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
  1. Common:

    Keep skills neutral and reusable: no business models, branding, secrets, user-specific paths, or hidden network behavior

    line 12
  2. Very specific:

    Follow the Apple verification capability ladder in MCP.md: XcodeBuildMCP MCP tools first.

    line 13
  3. Very specific:

    Use $apple-development-foundation for new-chat routing and new iOS/macOS app bootstrap (it shortlists $codex-bootstrap).

    line 15
  4. Very specific:

    Update skills through .agents/skills/.

    line 16
  5. Distinctive:

    Use Swift 6.2 or later, SwiftUI, SwiftData where appropriate, native observation, initializer or environment injection, structured …

    line 34
  6. Distinctive:

    All SwiftUI components must support Dynamic Type, VoiceOver, keyboard access, contrast, Reduce Motion, Differentiate Without Color, and a …

    line 36
  7. Distinctive:

    Avoid broad unrelated refactors.

    line 46

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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-testing as the main workflow; combine XcodeBuildMCP for Apple builds/simulators with Maestro MCP and CLI flows for UI inspection and regression coverage.
  • Use $apple-development-foundation for new-chat routing and new iOS/macOS app bootstrap (it shortlists $codex-bootstrap); use $codex-bootstrap directly when already selected
  • Update skills through .agents/skills/; see docs/skills/skill-authoring-guide.mdx before 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 custom glassEffect only for a navigation-plane control the system cannot express, with a GlassEffectContainer when 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.sh if installer behavior changes)
  • Archived package changes (only when explicitly requested): cd archive && ./Scripts/verify.sh — see ARCHIVE.md and archive/Documentation/ModuleBoundaries.md

Avoid broad unrelated refactors. Report commands not available locally.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.