Skip to content

Most items $2 · Packs priced separately

pocketshelf

CLAUDE.md Rules for SwiftUI (iOS)

Project rules: SwiftUI (iOS)

You are working in an iOS app built with SwiftUI. Follow these rules on every task. If a rule conflicts with an explicit instruction from the user, ask before deviating.

Commands

  • Build: `xcodebuild -scheme App build`
  • Test: `xcodebuild -scheme App test -destination "platform=iOS Simulator,name=iPhone 15"`
  • Format: `swift-format -i -r Sources`
  • Lint: `swiftlint`
  • Resolve packages: `swift package resolve`
  • Clean: `xcodebuild clean`

77% more in the full file

What's inside

Format
Markdown
Contents
Claude.md · 48 lines
Version
1.0 · Updated 3 Oct 2026
Licence
Commercial What this means
Checked
Checked before it ships
Files in your download
  • CLAUDE.mdMarkdown · 2 KB
  • LICENSE.txtadded to every download

About this item

A single CLAUDE.md that tells an AI coding assistant how to work in an iOS app built with SwiftUI. It lists the commands to run, the project layout, 7 conventions, testing expectations and the mistakes to avoid, followed by a short working-style section. It also works as AGENTS.md or as a starting point for other coding assistants. Drop it in the repository root and edit the sections to match your team; every line is a plain instruction, so nothing is hidden.

  • AI coding
  • SwiftUI iOS app
  • Developer tools
  • CLAUDE.md
  • Rules

You might also grab