Token导航 LogoToken导航TokenDH.com
开发敏感数据github未标认证来源可访问许可证需确认审计提醒

flutter-setting-up-on-macosFlutter setting UP ON macOS 命令行

Agent Skill

flutter-setting-up-on-macos 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

189,072

周安装

7,814

GitHub Stars

1,276

下载量

61,776
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:flutter-setting-up-on-macos(Flutter setting UP ON macOS 命令行)
来源仓库:https://github.com/flutter/skills
仓库路径:skills/flutter-setting-up-on-macos
安装命令:
npx skills add https://github.com/flutter/skills --skill flutter-setting-up-on-macos
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/flutter/skills --skill flutter-setting-up-on-macos

简介

使用 Xcode 和 CocoaPods 设置自动配置 Flutter 开发的 macOS 环境。

  • 指导 Xcode 命令行工具的安装和链接、接受开发人员许可证以及 CocoaPods 依赖项管理
  • 包括使用 flutter doctor 的验证工作流程
  • 和颤振装置
  • 确认正确的环境设置和 macOS 桌面识别
  • 提供常见问题的故障排除步骤,包括缺少命令行工具、CocoaPods 路径问题和桌面支持启用

SKILL.md

Setting Up a macOS Environment for Flutter Development

Contents

Prerequisites

Ensure the following baseline requirements are met before configuring the macOS-specific toolchain:

  • macOS operating system.
  • Flutter SDK installed and added to the system PATH.
  • Active internet connection for downloading toolchains and dependencies.

Tooling Configuration

macOS desktop development requires specific Apple toolchains to compile and debug native Swift and Objective-C code.

  • Xcode: Required for compiling macOS desktop applications.
  • CocoaPods: Required for managing native dependencies used by Flutter plugins.

Workflow: Configuring macOS Tooling

Copy and follow this checklist to configure the macOS build environment.

  • Install Xcode: Install the latest version of Xcode from the Mac App Store or the Apple Developer portal.
  • Configure Command-Line Tools: Link the Xcode command-line tools to the installed Xcode version. Run the following command in the terminal: 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.
  • Accept Xcode Licenses: Accept the required developer licenses by running: sudo xcodebuild -license Read and agree to the prompts.
  • Install CocoaPods: Install CocoaPods to handle native macOS plugin dependencies. sudo gem install cocoapods *Conditional*: If CocoaPods is already installed, ensure it is updated to the latest version (sudo gem update cocoapods).

Workflow: Validating the Environment

Execute this feedback loop to ensure the environment is correctly configured for macOS desktop development.

  • Run Validator: Execute the Flutter diagnostic tool with verbose output: flutter doctor -v
  • Review Errors: Check the Xcode section in the output.
  • Fix & Retry: If errors or missing components are reported under the Xcode section, resolve them according to the output instructions, then re-run flutter doctor -v until the Xcode section passes.
  • Verify Device Availability: Confirm that Flutter recognizes the macOS desktop as a valid deployment target: flutter devices *Success Criteria*: The output must contain at least one entry with macos listed as the platform.

Troubleshooting

If the validation workflow fails, apply the following resolutions:

  • Missing Command-Line Tools: If flutter doctor reports missing tools, ensure the xcode-select command was run with sudo and points to the correct .app directory.
  • CocoaPods Not Found: If CocoaPods is installed but not detected, verify that your Ruby gem binary path is included in your shell's PATH environment variable.
  • Device Not Listed: If flutter devices does not list macos, ensure desktop support is enabled in your Flutter configuration: flutter config --enable-macos-desktop

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.62%
按下载量换算23,240

Claude

32.92%
按下载量换算20,337

Cursor

17.31%
按下载量换算10,693

Gemini CLI

9.21%
按下载量换算5,690

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills