CargoKit в flutter_rust_bridge — анализ слоёв и синхронизация
engineering
frb-cargokit is a Claude Code skill that explains how CargoKit is sourced, copied, and analyzed inside the flutter_rust_bridge project. It distinguishes three separate layers: the external CargoKit repository, git submodule pointers in the FRB integration template (`frb_codegen/assets/integration_template/**/cargokit`), and downstream copied files in generated examples (`frb_example/**/cargokit`). The skill enforces a strict diff-analysis order — identify the layer, inspect submodule SHA changes first, then review example files — so that large example diffs are not mistaken for large semantic CargoKit changes. Synchronization of checked-in copies is handled via `./frb_internal sync-cargokit-copies`, which mirrors the Rust integration template writer's filtering logic. Essential when investigating CargoKit copy drift, integrate/generate output churn, or any diff where identifying the true source of truth matters before drawing conclusions.
- #cargokit
- #flutter-rust-bridge
- #git-submodules
- #code-generation
- #templates