sheet-and-settings-sizing
Skill259 starsChanged 35 days agoApache-2.0View on GitHub
How every sheet and Settings tab in the Noodle macOS apps is sized and resized. Use whenever adding or changing a SwiftUI .sheet, a create, edit or picker sheet, a Settings tab, or anything that sets a sheet's or Settings window's frame, fixedSize or presentationSizing, in Noodle, Browser, Computer, Applet or Hub.
In this repository18 other files it gives its agents.
- AGENTS.mdAGENTS.md
- Applet/AGENTS.mdAGENTS.md
- Browser/AGENTS.mdAGENTS.md
- Computer/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- Hub/AGENTS.mdAGENTS.md
- Incubator/AGENTS.mdAGENTS.md
- Mobile/AGENTS.mdAGENTS.md
- Terminal/AGENTS.mdAGENTS.md
- Tools/AGENTS.mdAGENTS.md
- agents-md-symlinkSkill
- apple-history-utilitiesSkill
- helper-visibilitySkill
- mint-releaseSkill
- no-code-docsSkill
- test-first-changesSkill
- ui-copySkill
- version-bound-cleanupSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Every window that fits its content resizes the same way: the content hides while the window changes size, then fades back in, and the …
- Very specific: line 12
Every sheet ends with .noodleSheetSizing(), after its .frame(width:).
- Very specific: line 13
Never use .fixedSize(horizontal: false, vertical: true) or .presentationSizing(.fitted) on a sheet instead, and never resize a sheet's …
- Very specific: line 16
Every Settings window uses SettingsTabView, and each tab ends with .settingsContentSize(width:) instead of .frame(width:).fixedSize(...).
- Very specific: line 21
Create and edit windows are sheets, not new Window scenes or NSWindows.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
Sheet and Settings sizing
Every window that fits its content resizes the same way: the content hides while
the window changes size, then fades back in, and the window never grows taller
than the screen; taller content scrolls. The modifiers live in Shared/SettingsUI.
- Every sheet ends with
.noodleSheetSizing(), after its.frame(width:). Never use.fixedSize(horizontal: false, vertical: true)or.presentationSizing(.fitted)on a sheet instead, and never resize a sheet's window by hand. - Every Settings window uses
SettingsTabView, and each tab ends with.settingsContentSize(width:)instead of.frame(width:).fixedSize(...). - A shared package that presents a sheet depends on
Shared/SettingsUIfor this. The one exception isShared/Wallpaper, which also builds for iOS; its sheets have a fixed width and height and never resize. - Create and edit windows are sheets, not new
Windowscenes or NSWindows.
Fix a sizing problem in these modifiers, for every app at once, not with a local workaround in one sheet or tab.
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.

