Agent skill

Flutter China Deploy

by boshi-xixixi in boshi-xixixi/TraeSkill

当用户需要在中国环境部署 Flutter 项目、配置国内镜像加速或解决依赖下载问题时使用。此 Skill 提供 Flutter 项目初始化、部署和运行时的完整镜像配置方案。

MITAuto-check passedMobile

Install Flutter China Deploy

skills CLI
$ npx skills add boshi-xixixi/TraeSkill --skill flutter-china-deploy -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install boshi-xixixi/TraeSkill flutter-china-deploy --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/boshi-xixixi/TraeSkill.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.trae/Skills/03_Mobile_FlutterChinaDeploy .claude/skills/flutter-china-deploy && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
flutter-china-deploy
GitHub stars
275
Token cost
~624 tokens
SKILL.md length
80 words
Files
3 (incl. scripts)
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

当用户需要在中国环境部署 Flutter 项目、配置国内镜像加速或解决依赖下载问题时使用。此 Skill 提供 Flutter 项目初始化、部署和运行时的完整镜像配置方案。

  • Works in 2 steps: 设置环境变量镜像 → 项目初始化 (FVM 版)
  • Tasks that involve Cross-platform mobile apps
  • SKILL.md covers 快速开始, Gradle 配置优化, Android SDK 配置 and 运行项目, plus 2 more sections
  • Runs Python and Shell scripts from its folder; calls python3; reaches storage.flutter-io.cn and maven.aliyun.com

What it does

Flutter China Deploy is an agent skill from boshi-xixixi/TraeSkill. 当用户需要在中国环境部署 Flutter 项目、配置国内镜像加速或解决依赖下载问题时使用。此 Skill 提供 Flutter 项目初始化、部署和运行时的完整镜像配置方案。

Its SKILL.md is about 620 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/configure_mirrors.py` and `scripts/quick_deploy.sh`).

It sits in Mobile, covering Cross-platform mobile apps. It works with Flutter, Gradle and Android. The repository describes itself as: 为 Trae IDE 打造的全流程标准化 AI 开发技能库,内置调度分发与多角色研发技能,一键导入规范 AI 编码工作流 🚀. The licence is MIT.

When your agent uses it

  • Tasks that involve Cross-platform mobile apps

Example prompts

  • “/flutter-china-deploy”

Requirements

  • Python 3
  • A Bash shell

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. 设置环境变量镜像
  2. 项目初始化 (FVM 版)

What it can do on your machine

Read from SKILL.md and the folder at commit 9cf38e6. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python and Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • storage.flutter-io.cn
    • maven.aliyun.com
    • pub.flutter-io.cn

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Flutter China Deploy loads about 624 tokens when it runs. Until then it costs about 27 tokens; SKILL.md has 80 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~27
When it runs · the whole SKILL.md, loaded when a task matches
~624

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from boshi-xixixi/TraeSkill at commit 9cf38e6, republished under its MIT licence (© boshi-xixixi). 80 words, ~624 tokens.

Download SKILL.mdSave it as .claude/skills/flutter-china-deploy/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
flutter-china-deploy
description
当用户需要在中国环境部署 Flutter 项目、配置国内镜像加速或解决依赖下载问题时使用。此 Skill 提供 Flutter 项目初始化、部署和运行时的完整镜像配置方案。

Flutter 中国环境部署加速

快速开始

当用户需要部署 Flutter 项目时,按以下步骤执行:

1. 设置环境变量镜像

在终端执行或写入 ~/.zshrc:

bash
export PUB_HOSTED_URL=https://pub.flutter-io.cn
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn
2. 项目初始化 (FVM 版)
bash
fvm install stable
fvm use stable --force
fvm flutter pub get

Gradle 配置优化

gradle-wrapper.properties

修改 android/gradle/wrapper/gradle-wrapper.properties:

properties
distributionUrl=https\://mirrors.cloud.tencent.com/gradle/gradle-8.10.2-all.zip
settings.gradle.kts

在 android/settings.gradle.kts 的 repositories 块添加:

kotlin
repositories {
    maven { url = uri("https://storage.flutter-io.cn/download.flutter.io") }
    maven { url = uri("https://maven.aliyun.com/repository/google") }
    maven { url = uri("https://maven.aliyun.com/repository/public") }
    maven { url = uri("https://maven.aliyun.com/repository/gradle-plugin") }
    google()
    mavenCentral()
}
build.gradle.kts

在 android/build.gradle.kts 同样配置 Maven 镜像。

gradle.properties

在 android/gradle.properties 添加优化配置:

properties
kotlin.compiler.execution.strategy=in-process
org.gradle.daemon=false
android.useAndroidX=true
android.enableJetifier=true

Android SDK 配置

local.properties

创建或修改 android/local.properties:

properties
sdk.dir=/Volumes/MacOS/Android/sdk
环境变量

在 ~/.zshrc 添加:

bash
export ANDROID_HOME=/Volumes/MacOS/Android/sdk
export PATH=$PATH:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

运行项目

bash
export FLUTTER_STORAGE_BASE_URL=https://storage.flutter-io.cn && \
export PUB_HOSTED_URL=https://pub.flutter-io.cn && \
fvm flutter run -d <设备ID>

常见问题排查

错误信息解决方案
Timeout waiting to lock build logic queuepkill -f gradle 并删除 android/.gradle
Could not find io.flutter:...检查 settings.gradle.kts 是否包含 download.flutter.io 镜像
Operation not permitted检查 GRADLE_USER_HOME 路径权限

配置脚本

使用 scripts/configure_mirrors.py 自动配置:

bash
# 检查当前配置状态
python3 scripts/configure_mirrors.py --check

# 配置 Shell 环境变量
python3 scripts/configure_mirrors.py --shell

# 配置 Gradle 镜像 (指定项目路径)
python3 scripts/configure_mirrors.py --project /path/to/flutter/project --gradle

# 执行所有配置
python3 scripts/configure_mirrors.py --project /path/to/flutter/project --all

© boshi-xixixi, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in .trae/Skills/03_Mobile_FlutterChinaDeploy of boshi-xixixi/TraeSkill.

  • SKILL.md
  • scripts/configure_mirrors.py
  • scripts/quick_deploy.sh

Open the folder on GitHubat commit 9cf38e6

Compare with similar skills

Flutter China Deploy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Flutter China Deploy compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Flutter China Deploy this skillboshi-xixixi/TraeSkill275—~624Automated safety check: PassMIT
Claude Android NinjaDrjacky/claude-android-ninja124—~5.2kAutomated safety check: PassApache-2.0
Android Cicddavila7/claude-code-templates32k—~2.2kAutomated safety check: PassMIT
Android Native DevHHU3637kr/skills145—~5.6kAutomated safety check: PassMIT
Mobile App Builderrevfactory/harness-1001.3k—~1.8kAutomated safety check: PassApache-2.0
Engine Whats Newflutter/flutter179k—~978Automated safety check: PassBSD-3-Clause

Similar skills

  • Claude Android Ninja

    Drjacky/claude-android-ninja

    Build and migrate Android apps with Kotlin, Jetpack Compose, MVVM, Hilt, Room 3 (KSP, SQLiteDriver, Flow/suspend DAOs), Navigation3, and multi-module Gradle.

    124 GitHub stars~5.2k tokensUpdated 10 days ago
    MobileAuto-check passed
  • Android Cicd

    davila7/claude-code-templates

    Automated Android CI/CD pipeline to Google Play — supports TWA, React Native, Flutter, and native Android.

    32k GitHub stars~2.2k tokensUpdated today
    MobileAuto-check passed
  • Android Native Dev

    HHU3637kr/skills

    A skill your agent uses when the user is developing, reviewing, or troubleshooting a native Android app, especially Kotlin/Compose, Material Design 3, Gradle project setup, Android accessibility…

    145 GitHub stars~5.6k tokensUpdated 16 days ago
    MobileAuto-check passed
  • Mobile App Builder

    revfactory/harness-100

    Full mobile app development pipeline. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~1.8k tokensUpdated 6 mo ago
    MobileAuto-check passed
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    179k GitHub stars~978 tokensUpdated today
    MobileAuto-check passed
  • Updating Android SDK

    flutter/flutter

    Upgrades Flutter's Android SDK dependency to a new Android API version (or preview/canary release) in packages.txt, verifies CIPD tag uniqueness, and packages/uploads the binaries using…

    179k GitHub stars~1.7k tokensUpdated today
    MobileAuto-check passed

More from boshi-xixixi/TraeSkill

All 16 skills in this repo
  • AI Team Orchestration

    boshi-xixixi/TraeSkill

    Bootstrap and run a multi-agent AI development team. An agent skill from boshi-xixixi/TraeSkill.

    275 GitHub stars~1.4k tokensUpdated 5 mo ago
    Auto-check passed
  • Arize Instrumentation

    boshi-xixixi/TraeSkill

    INVOKE THIS SKILL when adding Arize AX tracing or observability to an app for the first time, or when the user wants to instrument their LLM app or get started with LLM observability.

    275 GitHub stars~5.1k tokensUpdated 5 mo ago
    Auto-check: notes
  • Dotnet MCP Builder

    boshi-xixixi/TraeSkill

    Build Model Context Protocol (MCP) servers in C/.NET against the current ModelContextProtocol 1.x NuGet packages.

    275 GitHub stars~1.7k tokensUpdated 5 mo ago
    Auto-check passed
  • Skill Creator

    boshi-xixixi/TraeSkill

    当用户需要创建新 Skill 或更新现有 Skill 时使用。此 Skill 提供技能创建的完整工作流指导,包括需求分析、编写规范、工程化构建、质量评估和迭代优化。

    275 GitHub stars~3.9k tokensUpdated 5 mo ago
    Auto-check passed
  • Trae Project Setup

    boshi-xixixi/TraeSkill

    Trae 项目规范化配置专家。用于快速初始化 Trae 项目配置文件、生成项目规则、用户偏好设置和 Skill 模板。当用户需要:(1) 初始化新项目的 Trae 配置 (2) 生成 .trae 目录结构 (3) 创建 USERPREFERENCES.md 用户偏好文件 (4) 创建 projectrules.md 项目规则文件 (5) 创建新的 Skill 模板 时使用此 Skill。

    275 GitHub stars~708 tokensUpdated 5 mo ago
    Auto-check: notes
  • Web Coder

    boshi-xixixi/TraeSkill

    Expert 10x engineer with comprehensive knowledge of web development, internet protocols, and web standards.

    275 GitHub starsUsed in 1 repo~5.2k tokens
    Auto-check passed

Categories

Questions about Flutter China Deploy

What does Flutter China Deploy do?

当用户需要在中国环境部署 Flutter 项目、配置国内镜像加速或解决依赖下载问题时使用。此 Skill 提供 Flutter 项目初始化、部署和运行时的完整镜像配置方案。. Flutter China Deploy is an agent skill from boshi-xixixi/TraeSkill.

When should I use Flutter China Deploy?

Flutter China Deploy fits situations like: tasks that involve Cross-platform mobile apps.

How do I install Flutter China Deploy in Claude Code?

Run `npx skills add boshi-xixixi/TraeSkill --skill flutter-china-deploy -a claude-code`. Or copy the skill folder (.trae/Skills/03_Mobile_FlutterChinaDeploy in boshi-xixixi/TraeSkill) into .claude/skills/flutter-china-deploy in your project. Claude Code loads it when a task matches its description.

How do I install Flutter China Deploy in Codex?

Run `npx skills add boshi-xixixi/TraeSkill --skill flutter-china-deploy -a codex`. Or copy the skill folder (.trae/Skills/03_Mobile_FlutterChinaDeploy in boshi-xixixi/TraeSkill) into .agents/skills/flutter-china-deploy in your project. Codex loads it when a task matches its description.

Can I use Flutter China Deploy in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add boshi-xixixi/TraeSkill --skill flutter-china-deploy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/flutter-china-deploy, .gemini/skills/flutter-china-deploy, .github/skills/flutter-china-deploy and .opencode/skills/flutter-china-deploy in your project.

What does Flutter China Deploy need to run?

Going by SKILL.md and its folder, Flutter China Deploy needs Python and a shell for the scripts in its folder and the command-line tools its instructions call (python3). Our summary lists: Python 3; A Bash shell.

Does Flutter China Deploy access the network?

SKILL.md names 3 domains. In commands or code: storage.flutter-io.cn, maven.aliyun.com and pub.flutter-io.cn; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Flutter China Deploy safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Flutter China Deploy use?

Flutter China Deploy is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Flutter China Deploy use?

About 624 tokens (SKILL.md is roughly 2.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Flutter China Deploy?

Skills that share tags, products or a category with Flutter China Deploy: Claude Android Ninja (Drjacky/claude-android-ninja, 124 stars), Android Cicd (davila7/claude-code-templates, 32k stars), Android Native Dev (HHU3637kr/skills, 145 stars) and Mobile App Builder (revfactory/harness-100, 1.3k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Flutter China Deploy?

boshi-xixixi (a GitHub user) maintains it in boshi-xixixi/TraeSkill, which has 275 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on May 12, 2026.

Source: boshi-xixixi/TraeSkill on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.