# Frb Prepare Pr

> Use when about to create a PR or push changes in flutter_rust_bridge to ensure code generation is up to date

- Skill: `tomevault-io/frb-prepare-pr` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/frb-prepare-pr`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/frb-prepare-pr/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/frb-prepare-pr

---


# FRB Prepare for PR

> **Note:** Check your user-level `remote-testing` rules before running commands. Codegen, lint, and tests may require remote execution.

## Overview

Before creating a PR, ensure generated code is up to date and lint passes.

**Core principle:** Generate → Lint → Commit → PR.

> **After codegen:** Check your user-level `remote-testing` rules. If codegen was run remotely, pull changes back to local.

## Workflow

```
1. Read frb-code-generation skill
   |
   +-- Run required generation commands
   |
   +-- 2. Read frb-lint skill --> Run lint --fix
   |
   +-- 3. (Optional) Read frb-test skill --> Run relevant tests
   |
   +-- 4. Commit all changes
   |
   +-- 5. Create PR (use creating-pull-requests skill)
```

## Quick Checklist

1. [ ] **REQUIRED:** Read `frb-code-generation` skill, run commands if needed
2. [ ] **REQUIRED:** Read `frb-lint` skill, run `./frb_internal lint --fix`
3. [ ] (Optional) Read `frb-test` skill, run relevant tests
4. [ ] Commit all changes
5. [ ] Push and create PR

## 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.

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.

## Related Skills

- `frb-code-generation` - Determines which generation commands to run
- `frb-lint` - Lint and format checks
- `frb-test` - For local debugging when CI fails
- `creating-pull-requests` - Standard PR creation process

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/fzyzcjy) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

