flutter-cn-setup

v0.0.1

为中国区开发者在新电脑上搭建完整 Flutter 开发环境,覆盖 Android/iOS toolchain、镜像配置、诊断和验收。用户提到安装 Flutter、中国区镜像、修复 flutter doctor、或新 macOS 初始化 Flutter 环境时使用。

0· 106·0 current·0 all-time
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (Flutter CN setup for macOS) align with the files and scripts. The scripts perform Homebrew installs, git clone of the official Flutter repo, configure Chinese mirrors, run flutter precache/doctor, and create a smoke project — all expected for this purpose.
Instruction Scope
SKILL.md and scripts instruct the agent/user to run bootstrap and validation scripts which: install tooling, write mirror env vars and PATH entries to the user's shell profile (~/.zshrc by default), run flutter commands, and create a project in $HOME. These actions are within scope but are persistent changes (shell profile edits) so the user should expect environment-wide effects.
Install Mechanism
No install spec in registry (instruction-only), but two included shell scripts perform network operations: git clone from https://github.com/flutter/flutter (official) and rely on Homebrew for package installs. No downloads from obscure hosts or URL shorteners; archive extraction is not used. This is a moderate-risk but standard approach for a local bootstrap script.
Credentials
No credentials or unrelated environment variables are requested. The only env/config touched are mirror URLs, FLUTTER_DIR, and the shell profile path — all proportional to configuring Flutter. The scripts do persistently append mirror and PATH exports to the chosen shell profile.
Persistence & Privilege
The scripts append lines to the shell profile and create a smoke project in $HOME; they do not set always:true or require elevated platform privileges. They recommend manual Xcode steps (some requiring sudo) but do not execute destructive uninstall operations. Users should be aware of persistent modifications to ~/.zshrc.
Assessment
This skill appears coherent and does what it promises, but it will modify your shell profile and perform network installs on your machine. Before running: 1) review the two scripts (bootstrap and validate) yourself; 2) back up your shell profile (e.g., cp ~/.zshrc ~/.zshrc.bak); 3) consider running validate first or using NEED_IOS=no to limit changes; 4) be aware the script clones from the official Flutter GitHub and configures global PUB_HOSTED_URL/FLUTTER_STORAGE_BASE_URL which affect all Dart/Flutter projects on the machine; 5) run these scripts in a test account or VM if you want to verify behavior before applying to your main workstation.

Like a lobster shell, security has layers — review code before you run it.

fluttervk9706t3bzht0zgkc3ge5h99rks83hzq4latestvk9706t3bzht0zgkc3ge5h99rks83hzq4

License

MIT-0
Free to use, modify, and redistribute. No attribution required.

Comments