Agent skill

Frb Prepare PR

by fzyzcjy in fzyzcjy/flutter_rust_bridge

A skill your agent uses when about to create a PR or push changes in flutterrustbridge to ensure code generation is up to date

MITAuto-check passedMobile

Install Frb Prepare PR

skills CLI
$ npx skills add fzyzcjy/flutter_rust_bridge --skill frb-prepare-pr -a claude-code

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

GitHub CLI
$ gh skill install fzyzcjy/flutter_rust_bridge frb-prepare-pr --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/fzyzcjy/flutter_rust_bridge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/frb-prepare-pr .claude/skills/frb-prepare-pr && 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
frb-prepare-pr
GitHub stars
5.4k
Token cost
~998 tokens
SKILL.md length
444 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when about to create a PR or push changes in flutterrustbridge to ensure code generation is up to date

  • Works in 10 steps: [ ] REQUIRED: Read frb-code-generation… → [ ] REQUIRED for integrate output diffs:… → [ ] REQUIRED for copied Cargokit diffs:… → …
  • About to create a PR
  • SKILL.md covers Overview, Workflow, Quick Checklist and What CI Will Do, plus 1 more section
  • Calls gh

What it does

Frb Prepare PR is an agent skill from fzyzcjy/flutter_rust_bridge. Use when about to create a PR or push changes in flutterrustbridge to ensure code generation is up to date

Its SKILL.md is about 1000 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps and Pull requests. It works with Flutter and Rust. The repository describes itself as: Flutter/Dart <- Rust binding generator, feature-rich, but seamless and simple. The licence is MIT.

When your agent uses it

  • About to create a PR
  • Push changes in flutterrustbridge to ensure code generation is up to date

Example prompts

  • “/frb-prepare-pr”

Workflow steps

10 steps, taken from the first numbered list in SKILL.md.

  1. [ ] REQUIRED: Read frb-code-generation skill, run commands if needed
  2. [ ] REQUIRED for integrate output diffs: If the PR changes Flutter integrate example outputs or platform scaffolds, confirm whether…
  3. [ ] REQUIRED for copied Cargokit diffs: If the PR changes copied cargokit files under frb_example/**, read frb-cargokit, then run…
  4. [ ] REQUIRED: Read frb-lint skill, run ./frb_internal lint --fix
  5. [ ] (Optional) Read frb-test skill, run relevant tests
  6. [ ] REQUIRED for non-trivial PRs: Read frb-pr-review, run the review gate before final readiness
  7. [ ] REQUIRED for bug fixes: PR description includes the reproduction report from frb-develop-feature, including baseline commit…
  8. [ ] REQUIRED for CI iteration branches: Read frb-ci-filter, then remove ci-manual-dispatch and rerun normal CI if the PR used filtered CI…
  9. [ ] Commit all changes
  10. [ ] Push and create PR

What it can do on your machine

Read from SKILL.md and the folder at commit 848e438. 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

    Shell commands in SKILL.md call:

    • gh

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

  • Network

    No URLs in SKILL.md. Its commands use gh, which can reach the network depending on how they are called.

    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

Frb Prepare PR loads about 998 tokens when it runs. Until then it costs about 31 tokens; SKILL.md has 444 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

The full file from fzyzcjy/flutter_rust_bridge at commit 848e438, republished under its MIT licence (© fzyzcjy). 444 words, ~998 tokens.

Download SKILL.mdSave it as .claude/skills/frb-prepare-pr/SKILL.md (or your agent's skills folder).
name
frb-prepare-pr
description
Use when about to create a PR or push changes in flutter_rust_bridge to ensure code generation is up to date

FRB Prepare for PR

Note: Read frb-dev-env before running commands and follow the active user's environment rules.

Overview

Before creating a PR, ensure generated code is up to date, lint passes, and bug fixes have a concrete reproduction report in the PR description. Before treating a non-trivial PR as ready, run frb-pr-review.

Core principle: Generate → Lint → Commit → PR.

After codegen: Follow frb-dev-env and verify generated output is present in the selected worktree before reviewing the diff.

Workflow

1. Read frb-code-generation skill
   |
   +-- Run required generation commands
   |
   +-- 2. For integrate output diffs, verify templates and run precommit-integrate
   |
   +-- 3. Read frb-lint skill --> Run lint --fix
   |
   +-- 4. (Optional) Read frb-test skill --> Run relevant tests
   |
   +-- 5. For non-trivial PRs, read frb-pr-review --> Run review gate
   |
   +-- 6. For bug fixes, add the reproduction report to the PR description
   |
   +-- 7. Commit all changes
   |
   +-- 8. Create PR (follow the active user-level PR workflow)

Quick Checklist

  1. REQUIRED: Read frb-code-generation skill, run commands if needed
  2. REQUIRED for integrate output diffs: If the PR changes Flutter integrate example outputs or platform scaffolds, confirm whether frb_codegen/assets/integration_template/ is the source that should change, then run ./frb_internal precommit-integrate
  3. REQUIRED for copied Cargokit diffs: If the PR changes copied cargokit files under frb_example/**, read frb-cargokit, then run ./frb_internal sync-cargokit-copies
  4. REQUIRED: Read frb-lint skill, run ./frb_internal lint --fix
  5. (Optional) Read frb-test skill, run relevant tests
  6. REQUIRED for non-trivial PRs: Read frb-pr-review, run the review gate before final readiness
  7. REQUIRED for bug fixes: PR description includes the reproduction report from frb-develop-feature, including baseline commit, mechanical steps, observed failure, and expected behavior
  8. REQUIRED for CI iteration branches: Read frb-ci-filter, then remove ci-manual-dispatch and rerun normal CI if the PR used filtered CI, unless the PR is explicitly about changing CI behavior
  9. Commit all changes
  10. Push and create PR
Show full SKILL.md (212 more words)Show less

What CI Will Do

CI automatically runs:

  • Code generation check (fails if generated code is outdated)
  • All tests (Rust, Dart, Flutter, Web)
  • Lint and format checks

Run lint locally to avoid CI failures. Tests are optional locally.

While iterating, it can be useful to dispatch .github/workflows/ci.yaml with ci_filter so only the relevant job family or matrix entry runs. Read frb-ci-filter before doing this. Do not leave ci-manual-dispatch on the final PR unless changing CI behavior is the actual purpose of the PR.

If your PR fixes Flutter integrate example outputs and the real bug is inside the embedded cargokit submodule, do not stop at copied example files. Push the cargokit fix to fzyzcjy/cargokit and update the submodule ref in this repo before pushing the PR branch.

If the PR changes integrate-generated example output but not frb_codegen/assets/integration_template/, explicitly verify that the output-only change is intentional. Most integrate scaffold behavior should be fixed in the template and regenerated, not patched only in frb_example/**.

  • frb-code-generation - Determines which generation commands to run
  • frb-lint - Lint and format checks
  • frb-test - For local debugging when CI fails
  • frb-pr-review - PR readiness review gate
  • frb-ci-filter - Filtered CI dispatch rules
  • Follow the active user-level PR workflow when available; otherwise use gh pr create with the repository's title and body conventions.

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

Files

Just SKILL.md in .claude/skills/frb-prepare-pr of fzyzcjy/flutter_rust_bridge.

Open the folder on GitHubat commit 848e438

Compare with similar skills

Frb Prepare PR 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.

Frb Prepare PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Frb Prepare PR this skillfzyzcjy/flutter_rust_bridge5.4k—~998Automated safety check: PassMIT
Core API Changelibnativeapi/nativeapi164—~2.5kAutomated safety check: PassMIT
Winapp CLIboshi-xixixi/TraeSkill276—~1.9kAutomated safety check: PassMIT
Review PRhyochan/flutter_calendar_carousel860—~1.4kAutomated safety check: PassMIT
Flutter Calendar Carousel Workflowshyochan/flutter_calendar_carousel860—~757Automated safety check: PassMIT
Puremusicqingyueyin/Pure-music186—~907Automated safety check: PassGPL-3.0

Similar skills

  • Core API Change

    libnativeapi/nativeapi

    Carry a change to the C++ public API in core/ all the way downstream — design check, header edit, six platform implementations, C ABI + Rust/Dart/C/JS/Python regeneration, per-binding verification…

    164 GitHub stars~2.5k tokensUpdated yesterday
    MobileAuto-check passed
  • Winapp CLI

    boshi-xixixi/TraeSkill

    Windows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications.

    276 GitHub stars~1.9k tokensUpdated 5 mo ago
    MobileAuto-check passed
  • Review PR

    hyochan/flutter_calendar_carousel

    Inspect and finish fluttercalendarcarousel pull requests by fixing valid review findings, replying and resolving threads, diagnosing CI, using review-self when automation is unavailable, and polling…

    860 GitHub stars~1.4k tokensUpdated 19 days ago
    DevelopmentAuto-check passed
  • Flutter Calendar Carousel Workflows

    hyochan/flutter_calendar_carousel

    A skill your agent uses for fluttercalendarcarousel repository work that should follow its shared workflows for issue resolution, dependency and Flutter upgrades, full verification, commits, pushes…

    860 GitHub stars~757 tokensUpdated 19 days ago
    MobileAuto-check passed
  • Puremusic

    qingyueyin/Pure-music

    Pure-music 项目开发指南,覆盖 Windows Flutter/Dart 前端、Rust 后端、音频播放、歌词解析与渲染、桌面歌词、主题背景、设置、FFI、文档和测试。处理此仓库的代码理解、问题诊断、功能开发、缺陷修复、性能优化或代码审查时使用。

    186 GitHub stars~907 tokensUpdated today
    MobileAuto-check passed
  • Review Self

    hyochan/flutter_calendar_carousel

    Independently review and improve the current fluttercalendarcarousel implementation, working-tree changes, commit range, or pull request; fix actionable in-scope gaps; rerun relevant verification…

    860 GitHub stars~999 tokensUpdated 19 days ago
    MobileAuto-check passed

More from fzyzcjy/flutter_rust_bridge

All 28 skills in this repo
  • Frb Add Contributor

    fzyzcjy/flutter_rust_bridge

    Add or reconcile flutterrustbridge contributors through all-contributors PRs.

    5.4k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Frb Android Emulator Prepare

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when preparing, installing, diagnosing, or explaining the host Android Emulator environment for flutterrustbridge local runtime validation, including Android SDK command-line…

    5.4k GitHub stars~2.1k tokensUpdated yesterday
    Auto-check: notes
  • Frb Cargokit Dev

    fzyzcjy/flutter_rust_bridge

    Develop or update CargoKit for flutterrustbridge. An agent skill from fzyzcjy/flutter_rust_bridge.

    5.4k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Frb Categorize Code Diff

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when classifying a flutterrustbridge branch or PR diff into test and non-test changes, including colocated Rust test modules.

    5.4k GitHub stars~524 tokensUpdated yesterday
    Auto-check passed
  • Frb CI Filter

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when running focused flutterrustbridge GitHub Actions CI via cifilter, adding/removing the ci-manual-dispatch PR label, choosing exact CI jobs or matrix entries, documenting…

    5.4k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Frb Code Generation

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when modifying Rust APIs, codegen, generated examples, or platform scaffolds in flutterrustbridge to select generation commands and preserve source-of-truth and convergence…

    5.4k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Frb Prepare PR

What does Frb Prepare PR do?

A skill your agent uses when about to create a PR or push changes in flutterrustbridge to ensure code generation is up to date. Frb Prepare PR is an agent skill from fzyzcjy/flutter_rust_bridge.

When should I use Frb Prepare PR?

Frb Prepare PR fits situations like: about to create a PR; push changes in flutterrustbridge to ensure code generation is up to date.

How do I install Frb Prepare PR in Claude Code?

Run `npx skills add fzyzcjy/flutter_rust_bridge --skill frb-prepare-pr -a claude-code`. Or copy the skill folder (.claude/skills/frb-prepare-pr in fzyzcjy/flutter_rust_bridge) into .claude/skills/frb-prepare-pr in your project. Claude Code loads it when a task matches its description.

How do I install Frb Prepare PR in Codex?

Run `npx skills add fzyzcjy/flutter_rust_bridge --skill frb-prepare-pr -a codex`. Or copy the skill folder (.claude/skills/frb-prepare-pr in fzyzcjy/flutter_rust_bridge) into .agents/skills/frb-prepare-pr in your project. Codex loads it when a task matches its description.

Can I use Frb Prepare PR 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 fzyzcjy/flutter_rust_bridge --skill frb-prepare-pr -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/frb-prepare-pr, .gemini/skills/frb-prepare-pr, .github/skills/frb-prepare-pr and .opencode/skills/frb-prepare-pr in your project.

What does Frb Prepare PR need to run?

Going by SKILL.md and its folder, Frb Prepare PR needs the command-line tools its instructions call (gh).

Does Frb Prepare PR access the network?

SKILL.md contains no URLs. Its commands use gh, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Frb Prepare PR 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. Review the folder before installing.

What licence does Frb Prepare PR use?

Frb Prepare PR 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 Frb Prepare PR use?

About 998 tokens (SKILL.md is roughly 4k 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 Frb Prepare PR?

Skills that share tags, products or a category with Frb Prepare PR: Core API Change (libnativeapi/nativeapi, 164 stars), Winapp CLI (boshi-xixixi/TraeSkill, 276 stars), Review PR (hyochan/flutter_calendar_carousel, 860 stars) and Flutter Calendar Carousel Workflows (hyochan/flutter_calendar_carousel, 860 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Frb Prepare PR?

fzyzcjy (a GitHub user) maintains it in fzyzcjy/flutter_rust_bridge, which has 5,446 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 10, 2026.

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