frb-feature-flag
fzyzcjy/flutter_rust_bridge/.claude/skills/frb-feature-flag/SKILL.md
Use when adding or testing flutter_rust_bridge feature flags, especially flags that require coverage for both enabled and disabled states or should have package-level config plus item-level #[frb(...)] overrides.
Skill5.4k starsChanged 27 days ago
What's in it
- FRB Feature Flags
- API Surface
- Test Coverage
--- name: frb-feature-flag description: "Use when adding or testing flutter_rust_bridge feature flags, especially flags that require coverage for both enabled and disabled states or should have package-level config plus item-level #[frb(...)] overrides." --- # FRB Feature Flags Use this skill when adding a feature flag, changing a feature flag, or writing coverage for a feature flag. ## API Surface For feature flags requiring coverage for both enabled and disabled states: - Expose the flag in `flutter_rust_bridge.yaml`. - Expose the flag in the command-line interface. - Prefer adding an item-level `#[frb(...)]` override when the behavior can reasonably be scoped to a Rust item. ## Test Coverage In `frb_example/pure_dart`, prefer tests that use the item-level `#[frb(...)]` override so enabled and disabled cases are both exercised in the same package. Do not rely only on package-level config differences when both states can be covered clearly with item-level Rust APIs.
More agent context in fzyzcjy/flutter_rust_bridge
30 other files this repository gives its agents.
AGENTS.md
CLAUDE.md
Skill
- frb-add-contributor.claude/skills/frb-add-contributor/SKILL.md
- frb-android-emulator-prepare.claude/skills/frb-android-emulator-prepare/SKILL.md
- frb-cargokit-dev.claude/skills/frb-cargokit-dev/SKILL.md
- frb-cargokit.claude/skills/frb-cargokit/SKILL.md
- frb-categorize-code-diff.claude/skills/frb-categorize-code-diff/SKILL.md
- frb-ci-filter.claude/skills/frb-ci-filter/SKILL.md
- frb-code-generation.claude/skills/frb-code-generation/SKILL.md
- frb-debugging.claude/skills/frb-debugging/SKILL.md
- frb-develop-feature.claude/skills/frb-develop-feature/SKILL.md
- frb-dev-env.claude/skills/frb-dev-env/SKILL.md
- frb-docker.claude/skills/frb-docker/SKILL.md
- frb-fix-ci.claude/skills/frb-fix-ci/SKILL.md
- frb-fix-codecov.claude/skills/frb-fix-codecov/SKILL.md
- frb-fix-main-ci.claude/skills/frb-fix-main-ci/SKILL.md
- frb-fix-merge-conflict.claude/skills/frb-fix-merge-conflict/SKILL.md
- frb-issue-to-green-pr.claude/skills/frb-issue-to-green-pr/SKILL.md
- frb-lint.claude/skills/frb-lint/SKILL.md
- frb-manual-test.claude/skills/frb-manual-test/SKILL.md
- frb-pr-chain-split.claude/skills/frb-pr-chain-split/SKILL.md
- frb-prepare-pr.claude/skills/frb-prepare-pr/SKILL.md
- frb-pr-review.claude/skills/frb-pr-review/SKILL.md
- frb-publish-release.claude/skills/frb-publish-release/SKILL.md
- frb-tart-prepare.claude/skills/frb-tart-prepare/SKILL.md
- frb-test.claude/skills/frb-test/SKILL.md
- frb-upgrade-docker.claude/skills/frb-upgrade-docker/SKILL.md
- frb-upgrade-flutter.claude/skills/frb-upgrade-flutter/SKILL.md
- frb-vmware-windows-prepare.claude/skills/frb-vmware-windows-prepare/SKILL.md
- frb-write-changelog.claude/skills/frb-write-changelog/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

