From flutter-skills
Sets up a macOS environment for Flutter development. Use when configuring a macOS machine to run, build, or deploy Flutter applications for iOS or macOS.
npx claudepluginhub gsmlg-dev/code-agent --plugin flutter-skillsThis skill uses the workspace's default tool permissions.
- [Prerequisites](#prerequisites)
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides MCP server integration in Claude Code plugins via .mcp.json or plugin.json configs for stdio, SSE, HTTP types, enabling external services as tools.
Ensure the following baseline requirements are met before configuring the macOS-specific toolchain:
PATH.macOS desktop development requires specific Apple toolchains to compile and debug native Swift and Objective-C code.
Copy and follow this checklist to configure the macOS build environment.
sudo sh -c 'xcode-select -s /Applications/Xcode.app/Contents/Developer && xcodebuild -runFirstLaunch'
Conditional: If Xcode is installed in a custom directory, replace /Applications/Xcode.app with the correct absolute path.sudo xcodebuild -license
Read and agree to the prompts.sudo gem install cocoapods
Conditional: If CocoaPods is already installed, ensure it is updated to the latest version (sudo gem update cocoapods).Execute this feedback loop to ensure the environment is correctly configured for macOS desktop development.
flutter doctor -v
Xcode section in the output.flutter doctor -v until the Xcode section passes.flutter devices
Success Criteria: The output must contain at least one entry with macos listed as the platform.If the validation workflow fails, apply the following resolutions:
flutter doctor reports missing tools, ensure the xcode-select command was run with sudo and points to the correct .app directory.gem binary path is included in your shell's PATH environment variable.flutter devices does not list macos, ensure desktop support is enabled in your Flutter configuration:
flutter config --enable-macos-desktop