templates

macOS Template

System Text-to-Speech Ready
Slide: 0:00 / 0:00
Slide 1 of 0Interactive Deck

Full Lesson Reference

A CLAUDE.md template for macOS apps — menu bar utilities, window-based apps, and more.

The Template

terminal
# App Name

A macOS [menu bar app / utility / etc.] that [core functionality].

---

## What This Is

[Description of the app]

## Tech Stack

- macOS app (SwiftUI)
- [Menu bar presence / Window-based / Document-based]
- Target: macOS 14+
- No external dependencies (prefer built-in APIs)

## Current State

[Where is the project?]

## Features

- [ ] Core: [main feature]
- [ ] [Feature 2]
- [ ] [Feature 3]
- [ ] Polish & details

## Conventions

- SwiftUI-first (avoid AppKit unless necessary)
- Follow Apple Human Interface Guidelines
- Keep the app lightweight
- Native look and feel

## Structure

AppName/ ├── AppNameApp.swift # App entry point ├── Views/ │ ├── ContentView.swift │ └── ... ├── Models/ │ └── ... ├── Services/ │ └── ... └── Resources/ └── Assets.xcassets

terminal

## Notes

[Anything specific to this project]

Exercises

  1. Copy this template into a CLAUDE.md and decide whether your app is menu-bar, window-based, or document-based — fill that into both the title line and the Tech Stack.
  2. Replace the placeholder feature checklist with the real core feature and two supporting features for your macOS app.
  3. Add a "Notes" entry describing any macOS-specific behavior you want (for example, launch at login or a global keyboard shortcut) so Claude builds it in from the start.