platform-design-skills / macos
AGENTS.md603 starsChanged 8 months agoMITView on GitHub
This skill provides Apple Human Interface Guidelines for macOS. Apply these rules when building, reviewing, or designing Mac apps using SwiftUI or AppKit. Rules marked CRITICAL must never be skipped. Rules marked HIGH should be followed unless there is a documented reason. Rules marked MEDIUM are strong recommendations.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- shashwattrili/reclaudeword for word, first seen Mar 20, 2026
Other versions1 project uses a version of this.
Word for word · 1
- shashwattrili/reclaude★ 2100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,439 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/android/AGENTS.mdAGENTS.md
- skills/ios/AGENTS.mdAGENTS.md
- skills/ipados/AGENTS.mdAGENTS.md
- skills/tvos/AGENTS.mdAGENTS.md
- skills/visionos/AGENTS.mdAGENTS.md
- skills/watchos/AGENTS.mdAGENTS.md
- skills/web/AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- android-design-guidelinesSkill
- ios-design-guidelinesSkill
- ipados-design-guidelinesSkill
- macos-design-guidelinesSkill
- tvos-design-guidelinesSkill
- visionos-design-guidelinesSkill
- watchos-design-guidelinesSkill
- web-design-guidelinesSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 0 are common, 11 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
Read SKILL.md for the full rule set with code examples
- Very specific: line 19
Read rules/_sections.md for the categorized quick-reference
- Very specific: line 20
Use the evaluation checklist in SKILL.md before shipping
- Distinctive: line 45
Every destructive action needs Cmd+Z undo
- Distinctive: line 53
Never ship without a menu bar
- Distinctive: line 54
Never use hamburger menus — use the menu bar or a sidebar
- Distinctive: line 55
Never place a tab bar at the bottom of the screen
- Distinctive: line 56
Never hardcode colors — use semantic system colors for Dark Mode compatibility
- Distinctive: line 57
Never build non-resizable main windows
- Distinctive: line 58
Never omit keyboard shortcuts for common actions
- Distinctive: line 59
Never block full keyboard navigation — no keyboard traps
- Distinctive: line 60
Never override traffic light buttons or window chrome
- Distinctive: line 61
Never use floating action buttons — use toolbar and menu bar actions
- Distinctive: line 62
Never ignore VoiceOver — every control needs an accessibility label
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
macOS Design Guidelines — Agent Instructions
Purpose
This skill provides Apple Human Interface Guidelines for macOS. Apply these rules when building, reviewing, or designing Mac apps using SwiftUI or AppKit.
When to Apply
- Building any macOS application
- Reviewing Mac UI code or designs
- Implementing menu bars, toolbars, sidebars, or window management
- Adding keyboard shortcuts or pointer interactions
- Porting iOS apps to Mac via Catalyst or Designed for iPad
- Evaluating desktop app usability
How to Use
- Read
SKILL.mdfor the full rule set with code examples - Read
rules/_sections.mdfor the categorized quick-reference - Use the evaluation checklist in SKILL.md before shipping
Priority
Rules marked CRITICAL must never be skipped. Rules marked HIGH should be followed unless there is a documented reason. Rules marked MEDIUM are strong recommendations.
Rule Categories
| # | Category | Impact |
| 1 | Menu Bar | CRITICAL |
| 2 | Windows | CRITICAL |
| 3 | Toolbars | HIGH |
| 4 | Sidebars | HIGH |
| 5 | Keyboard | CRITICAL |
| 6 | Pointer and Mouse | HIGH |
| 7 | Notifications and Alerts | MEDIUM |
| 8 | System Integration | MEDIUM |
| 9 | Visual Design | HIGH |
| 10 | Popovers | MEDIUM |
| 11 | Accessibility | CRITICAL |
Key Principles
- Mac users expect menu bars, keyboard shortcuts, and multi-window support
- Every destructive action needs Cmd+Z undo
- Toolbars and sidebars should be user-customizable
- Respect system appearance (Dark Mode, accent color, font size)
- Support drag and drop everywhere it makes sense
- Desktop apps are power-user tools — don't hide functionality behind discoverability walls
Never Do
- Never ship without a menu bar
- Never use hamburger menus — use the menu bar or a sidebar
- Never place a tab bar at the bottom of the screen
- Never hardcode colors — use semantic system colors for Dark Mode compatibility
- Never build non-resizable main windows
- Never omit keyboard shortcuts for common actions
- Never block full keyboard navigation — no keyboard traps
- Never override traffic light buttons or window chrome
- Never use floating action buttons — use toolbar and menu bar actions
- Never ignore VoiceOver — every control needs an accessibility label
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

