Ios scaffold

From SteveGJones/ai-first-sdlc-practices · View interactive version

Ios scaffold is an AI agent skill from the GitHub repository SteveGJones/ai-first-sdlc-practices. Scaffold a new iOS app with SDLC and submission-safe defaults — diffable project files, app + test targets, deployment-target policy, a git-stamped build number, and the Info.plist keys the pre-flight checker wants so the project passes TestFlight from day one. Use when starting a new iOS project.

How to use this skill

Skill file

iOS Scaffold

Create a new iOS app project that is submission-safe from the first commit — so it doesn't hit the

TestFlight/App Store blockers ios-testflight-release and the pre-flight checker exist to catch.

Belongs to the sdlc-team-ios plugin; pairs with swiftui-architect (structure) and

swift-language-expert (language).

Arguments

Steps

1. Choose the project-generation approach

Prefer a diffable, mergeable project definition over a hand-managed .xcodeproj:

that is committed, so project changes review cleanly and don't cause merge conflicts.

Ask which the team prefers; default to XcodeGen/Tuist for an app that needs a real Xcode project.

2. Establish structure

Models; thin app composition root) — see swiftui-architect.

.DS_Store, and any secrets file.

3. Wire submission-safe Info.plist defaults (this is the point of the skill)

Pre-set the keys the pre-flight checker looks for, so uploads don't stall or get rejected later:

HTTPS) — skips the export-compliance questionnaire on every upload.

(add them as you add frameworks; the pre-flight check maps CoreMotion→NSMotionUsageDescription,

etc.). Leave a comment reminding that these must be real human sentences.

across targets and Package.swift).

4. Git-stamped, monotonic build number

git rev-list --count HEAD (optionally plus the short SHA and date) in a build-phase script**,

so every build is unique, monotonic, and traceable to a commit.

elsewhere) — a script that reads git/the environment fails to archive under the sandbox otherwise.

5. Release-default safety

flag that is OFF in Release unless explicitly enabled.

6. CI and privacy manifest

7. Verify

(python -m ios_preflight.cli <project>) — it should be clean (or only INFO) on a fresh scaffold.

8. Report

Summarise what was generated, the generation approach chosen, the build-number policy, and confirm the

pre-flight checker is clean. Note anything the user must fill in (real purpose strings, signing team).

Notes

export-compliance key or build-number policy "for later".

idiomatic Swift, to swift-language-expert.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.