Claude-specific extensions to
AGENTS.md. ReadAGENTS.mdfirst — this file only adds Claude-specific behaviour on top of it.
When working in Cowork mode or Claude Code, use the todo list tool to track multi-step tasks within a session.
Use local .ai/progress.md only for personal continuity when needed (it is gitignored in this repo).
AGENTS.mdis the canonical, cross-agent policy source.CLAUDE.mdshould contain only Claude-specific behavior extensions.
Always include:
- Necessary imports (
Foundation,SwiftUI, etc.) - Complete, compilable examples — not pseudocode or stubs unless explicitly asked
- Error handling, not just the happy path
@MainActorannotations wherever UI state is updated- A brief comment explaining any non-obvious Swift behaviour
- After writing or editing code, briefly summarise what changed and why
import Foundation
import SwiftUI
@Observable
@MainActor
final class ExampleViewModel {
var formulae: [Formula] = []
func loadFormulae() async throws {
formulae = try await repository.fetchInstalled()
}
}