settings-screen

Generate modular settings screens for iOS and macOS with SwiftUI @AppStorage.

114|8|Updated Mar 4, 2025
One-click install
npx skills add https://github.com/gustavscirulis/snapgrid --skill settings-screen-gustavscirulis
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: settings-screen
Source: https://github.com/gustavscirulis/snapgrid/tree/main/.claude/skills/skills/generators/settings-screen
Command: npx skills add https://github.com/gustavscirulis/snapgrid --skill settings-screen-gustavscirulis

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines the creation of comprehensive settings and preferences screens for iOS and macOS applications, reducing development time and ensuring a consistent user experience.

Core Features & Use Cases

  • Modular Section Generation: Creates standard settings sections like Account, Appearance, Notifications, About, and Legal.
  • Platform Adaptability: Generates code suitable for both iOS (using NavigationStack) and macOS (using Settings scene or TabView).
  • Use Case: When a user requests to "add settings" to their app, this skill can generate a complete, customizable settings interface with options for dark mode, push notifications, and an about screen.

Quick Start

Use the settings-screen skill to generate a new settings screen for an iOS app.

Frequently Asked Questions about settings-screen

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a settings screen in SwiftUI for iOS and macOS?

To create a settings screen in SwiftUI, generate modular sections like Account and Appearance using NavigationStack for iOS and the Settings scene for macOS. This approach provides platform-specific adaptability and a consistent user experience.

What is the best way to handle user preferences and data persistence in a SwiftUI settings screen?

The best way to handle user preferences in a SwiftUI settings screen is by integrating with @AppStorage for data persistence. This mechanism automatically synchronizes user configurations and preferences across app sessions.

Can I use this approach to generate settings screens for both iOS and macOS applications?

Yes, you can generate settings screens for both iOS and macOS applications. The generated code provides platform adaptability, utilizing NavigationStack on iOS and the native Settings scene or TabView on macOS.

What standard sections should I include when building app settings and preferences interfaces?

Standard sections to include when building app settings interfaces are Account, Appearance, Notifications, About, and Legal. These modular sections cover core user configurations and essential app information comprehensively.

How do I add an About screen and dark mode toggle to my iOS app preferences?

To add an About screen and dark mode toggle to your iOS app preferences, generate a customizable settings interface with modular Appearance and About sections. The interface integrates with @AppStorage to persist the dark mode configuration.