Skip to content

Instantly share code, notes, and snippets.

@NDCSwift
NDCSwift / CLAUDE.md
Created March 4, 2026 18:56
A simple template for Swift 6 and iOS development in Xcode using Agentic coding (Claude or Codex)

Project Context

Overview

  • iOS 26 SwiftUI app targeting iPhone and iPad
  • Minimum deployment: iOS 26
  • Swift 6 with strict concurrency
  • Uses SwiftUI throughout - no UIKit unless absolutely necessary

Architecture

Create a claude.md file for this project. Include: project purpose, key architecture decisions, coding conventions, and how you should approach common tasks like debugging and adding features.

This function [name] should [expected behavior], but currently [actual behavior]. The error is [error message].

Add [feature] to [file]. It should [specific behavior]. Follow our existing pattern in [similar file]. Consider [edge cases]. Update tests in [test file].