frb-code-generation
Skill by fzyzcjy
Selects the minimal code generation commands for flutter_rust_bridge changes. It also keeps source-of-truth and convergence rules intact for Rust API and scaffold edits.
Install frb-code-generation
Built from the published package, never by AI.
git clone --depth 1 https://github.com/fzyzcjy/flutter_rust_bridge /tmp/flutter_rust_bridge && mkdir -p ~/.claude/skills && cp -r /tmp/flutter_rust_bridge/.claude/skills/frb-code-generation ~/.claude/skills/frb-code-generationRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/fzyzcjy/flutter_rust_bridge /tmp/flutter_rust_bridge && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/flutter_rust_bridge/.claude/skills/frb-code-generation ~/.gemini/antigravity-cli/skills/frb-code-generationAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install frb-code-generation in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
frb-code-generation is an agent skill for the flutter_rust_bridge repository. It maps change types, such as Rust API edits, codegen logic, generated examples and platform scaffolds, to the narrowest ./frb_internal generation command needed. It also lists rules for keeping source-of-truth files and generated output in sync.
The skill covers root README and CHANGELOG fan-out, integrate template drift, and OHOS integrate composition. It asks the assistant to run the owning generator twice and require a clean diff before accepting results. It points to frb-dev-env, frb-fix-ci and frb-cargokit for environment setup, CI diagnosis and cargokit ownership. It is aimed at contributors who change flutter_rust_bridge code or its generated examples.
Written from the project's SKILL.md and checked against it.
What it can do
- Command selection by change typeMaps Rust API, codegen, docs and example changes to the matching ./frb_internal generation command.
- Root documentation fan-outRuns generate-internal-readme after changes to the root README.md or CHANGELOG.md.
- Integrate template drift checkChecks whether integrate output changes belong in frb_codegen/assets/integration_template/ instead.
- Generation convergence rulesRequires the owning generator to produce a clean diff on a second run before a change is accepted.
- Generated output provenanceClassifies each changed generated path by its owning source before accepting drift.
- OHOS integrate compositionDescribes how to overlay OHOS-owned paths from the OHOS Flutter fork onto a generated scaffold.
What you need
- A flutter_rust_bridge repository checkout
- The frb_internal command entry point
- The frb-dev-env skill for environment rules
Try asking
- Which generation command do I run after changing frb_rust/src/ core API?
- Check whether my integrate output change belongs in the integration template.
- Verify that my README.md edit is fanned out to frb_dart/README.md correctly.
Good to know
- Covers command selection only, not CI failure diagnosis, which is handled by frb-fix-ci.
- Generated files should not be manually patched as the final fix.
- Requires reading frb-dev-env before running commands.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/frb-code-generation/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md6 KB
Alternatives to frb-code-generation
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
frb-code-generation: common questions
What does frb-code-generation do?
It tells the assistant which flutter_rust_bridge generation command to run for a given change type. It also states rules for source-of-truth files and convergence.
When should I use this skill instead of frb-fix-ci?
Use this skill for choosing generation commands. The source says frb-fix-ci is the skill for CI failure-propagation diagnosis and repeated package-level Generate drift.
Should I edit generated files by hand?
The source says not to manually patch generated files as the final fix. The accepted result should come from the corresponding generation command in a clean matching environment.
How do I install frb-code-generation?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is frb-code-generation free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is frb-code-generation safe to use?
It scores 81 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to frb-code-generation?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
