Use for ordinary flutter_rust_bridge Docker/devcontainer setup, local image usage, and Apple Silicon containers; route image upgrades and publishing to frb-upgrade-docker.
68
82%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Use this skill for ordinary FRB Docker/devcontainer work: local container usage, Apple Silicon behavior, and local Dockerfile validation.
Read frb-upgrade-docker before changing toolchain inputs or publishing fzyzcjy/flutter_rust_bridge_dev. It owns
PR boundaries, candidate tags, stable-tag promotion, and registry workflow policy.
.devcontainer/devcontainer.json.devcontainer/Dockerfile.github/workflows/publish_dev_docker.yamlfzyzcjy/flutter_rust_bridge_devThe Dockerfile is the source of truth for tool versions. Derive image tags from its ARG values instead of hardcoding stale versions.
Prefer devcontainer for normal development.
Dev Containers: Reopen in ContainerThe devcontainer builds from .devcontainer/Dockerfile and runs ./frb_internal pub-get-all to prepare Dart/Flutter package dependencies; first Rust/wasm builds may still be slow because crate compilation caches are not warmed.
Default behavior is still to build locally from .devcontainer/Dockerfile. If you want to use a prebuilt image instead, switch to the full version tag derived from the current Dockerfile args rather than latest.
docker run --rm -it -v "$PWD:/workspace" -w /workspace fzyzcjy/flutter_rust_bridge_dev:latest bashUse latest only for quick local checks where reproducibility does not matter.
Use this when not using VS Code devcontainers, or when validating local Dockerfile changes.
docker build -f .devcontainer/Dockerfile -t frb-dev .devcontainer
docker run --rm -it -v "$PWD:/workspace" -w /workspace frb-dev bashInside a fresh manual container, run:
./frb_internal pub-get-allThen run normal development commands such as:
./frb_internal lint
cargo checkApple Silicon Macs use the same commands as other platforms. Do not add --platform linux/amd64 for normal local development.
Docker should select linux/arm64 automatically for multi-arch images. If a command only works with --platform linux/amd64, treat that as a regression to investigate.
For Dockerfile changes, validate at least:
docker build -f .devcontainer/Dockerfile -t frb-dev .devcontainer
docker run --rm -v "$PWD:/workspace" -w /workspace frb-dev bash -lc './frb_internal --help'For environment changes, smoke-test the installed tools:
docker run --rm -v "$PWD:/workspace" -w /workspace frb-dev bash -lc '
set -euo pipefail
flutter --version
dart --version
node --version
npm --version
cargo --version
wasm-pack --version
"${CHROME_BIN}" --version
'For broader confidence, run:
docker run --rm -v "$PWD:/workspace" -w /workspace frb-dev bash -lc './frb_internal pub-get-all && ./frb_internal lint --fix'
docker run --rm -v "$PWD:/workspace" -w /workspace/frb_rust frb-dev bash -lc 'cargo check && cargo check --target wasm32-unknown-unknown'If generated files drift during lint/codegen, do not manually edit generated files. Restore unrelated generated drift unless the task intentionally changes generation outputs.
Do not publish from this ordinary-use workflow. Continue with frb-upgrade-docker when validation must produce a
candidate or stable registry image.
8f2ab1b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.