Agent skill

Preparing PR

by flutter in flutter/devtools

Prepare a pull request by running presubmit with fixes. An agent skill from flutter/devtools.

BSD-3-ClauseAuto-check passedDevelopment

Install Preparing PR

skills CLI
$ npx skills add flutter/devtools --skill preparing-pr -a claude-code

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

GitHub CLI
$ gh skill install flutter/devtools preparing-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/flutter/devtools.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/preparing-pr .claude/skills/preparing-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
preparing-pr
GitHub stars
1.7k
Token cost
~351 tokens
SKILL.md length
175 words
Files
1
Skills in repo
10
Repo updated
First seen
Licence
BSD-3-Clause

At a glance

Prepare a pull request by running presubmit with fixes. An agent skill from flutter/devtools.

  • Works in 4 steps: Verify dt configuration → Update Flutter SDK → Run Presubmit with Fixes → …
  • Preparing to commit
  • Calls git
  • Tasks that involve Pull requests

What it does

Preparing PR is an agent skill from flutter/devtools. Prepare a pull request by running presubmit with fixes. Use when preparing to commit or send a PR.

Its SKILL.md is about 350 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 Development, covering Pull requests. It works with Flutter. The repository describes itself as: Developer tools for Flutter & Dart. The licence is BSD-3-Clause.

When your agent uses it

  • Preparing to commit
  • Tasks that involve Pull requests

Example prompts

  • “/preparing-pr”

Workflow steps

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

  1. Verify dt configuration
  2. Update Flutter SDK
  3. Run Presubmit with Fixes
  4. Run Tests for Affected Code

What it can do on your machine

Read from SKILL.md and the folder at commit 3a3b64a. 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:

    • git

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

  • Network

    No URLs in SKILL.md. Its commands use git, 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

Preparing PR loads about 351 tokens when it runs. Until then it costs about 28 tokens; SKILL.md has 175 words of instructions outside code blocks.

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

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 flutter/devtools at commit 3a3b64a, republished under its BSD-3-Clause licence (© flutter). 175 words, ~351 tokens.

Download SKILL.mdSave it as .claude/skills/preparing-pr/SKILL.md (or your agent's skills folder).
name
preparing-pr
description
Prepare a pull request by running presubmit with fixes. Use when preparing to commit or send a PR.

Preparing a Pull Request

Follow these steps to prepare a pull request for DevTools:

  1. Verify dt configuration:
    • Ensure dt is available on the path by running dt --help or verifying its alias.
    • If not available, refer to the CONTRIBUTING guide for instructions on how to set up the dt executable on your path.
  2. Update Flutter SDK:
    • Run dt update-flutter-sdk to ensure the SDK is up to date.
  3. Run Presubmit with Fixes:
    • Run dt presubmit --fix to address automated fixes.
    • If any issues remain or if the command fails, fix the issues manually and run dt presubmit --fix again to verify the fix.
  4. Run Tests for Affected Code:
    • Use git status or git diff upstream/master to find changed files.
    • Run tests that are associated with the changed code. For example, if you edited packages/devtools_app/lib/src/screens/logging/logging_screen.dart, run the logging tests under packages/devtools_app/test/screens/logging/.

Verification

If any step fails, stop and address the issue, and then verify the issue is fixed before proceeding.

[!IMPORTANT] Do NOT commit or push changes without getting explicit user approval first.

© flutter, BSD-3-Clause. 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 .agents/skills/preparing-pr of flutter/devtools.

Open the folder on GitHubat commit 3a3b64a

Compare with similar skills

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

Preparing PR compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Preparing PR this skillflutter/devtools1.7k—~351Automated safety check: PassBSD-3-Clause
Code Reviewflutter/flutter179k—~1.4kAutomated safety check: PassBSD-3-Clause
Code Review Skillawesome-skills/code-review-skill2.1k—~2.8kAutomated safety check: NotesMIT
Review PRhyochan/flutter_calendar_carousel860—~1.4kAutomated safety check: PassMIT
Grix Code Reviewaskie/grix153—~799Automated safety check: PassCustom licence
Frb Issue To Green PRfzyzcjy/flutter_rust_bridge5.4k—~1.8kAutomated safety check: PassMIT

Similar skills

  • Code Review

    flutter/flutter

    Performs a comprehensive, multi-step code review of pull requests or local code changes, using iterative refinement (generation, critique, synthesis) to ensure high-quality, actionable feedback.

    179k GitHub stars~1.4k tokensUpdated today
    DevelopmentAuto-check passed
  • Code Review Skill

    awesome-skills/code-review-skill

    Provides comprehensive code review guidance for React 19, Vue 3, Angular 17+, Svelte 5, Rust, TypeScript, Java, Java 8, PHP, Ruby, Rails, Python, Django, FastAPI, Go, C/.NET, Kotlin, Swift, Dart…

    2.1k GitHub stars~2.8k tokensUpdated 29 days ago
    DevelopmentAuto-check: notes
  • 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 16 days ago
    DevelopmentAuto-check passed
  • Audit Grix diffs and pull requests for correctness, regressions, security, lifecycle safety, and cross-component contract consistency.

    153 GitHub stars~799 tokensUpdated today
    DevelopmentAuto-check passed
  • Frb Issue To Green PR

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when implementing a GitHub issue, bug fix, or feature in flutterrustbridge end-to-end: develop the change, add regression coverage, prepare and open a PR, and use the user's…

    5.4k GitHub stars~1.8k tokensUpdated today
    DevelopmentAuto-check passed
  • Review PR

    hyochan/flutter_calendar_carousel

    Inspect and finish fluttercalendarcarousel pull requests by fixing valid review findings, resolving threads, diagnosing CI, and polling every five minutes until the exact head is clean.

    860 GitHub stars~172 tokensUpdated 16 days ago
    DevelopmentAuto-check passed

More from flutter/devtools

All 10 skills in this repo
  • Adding Release Notes

    flutter/devtools

    Adds user-facing change descriptions to DevTools release notes.

    1.7k GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Adding Copyright Headers

    flutter/devtools

    Adds copyright headers to files based on file type. An agent skill from flutter/devtools.

    1.7k GitHub stars~640 tokensUpdated today
    Auto-check passed
  • Guidelines and step-by-step workflow for debugging DevTools extensions locally, including stub mode, fixed-port launching, browser auto-opening, URL query parameters, target app connection, and…

    1.7k GitHub stars~839 tokensUpdated today
    Auto-check passed
  • Reviewing PRs

    flutter/devtools

    General workflow for fetching, inspecting, reviewing GitHub Pull Requests using the gh CLI, drafting user-aligned review comments, and securing approval before posting.

    1.7k GitHub stars~570 tokensUpdated today
    Auto-check passed
  • Closing Obsolete Issues

    flutter/devtools

    Find and close obsolete, stale, or not reproducible issues in the flutter/devtools repository.

    1.7k GitHub stars~949 tokensUpdated today
    Auto-check passed
  • Reviewing Devtools PRs

    flutter/devtools

    DevTools repository-specific PR review workflow enforcing DevTools style guidelines and common review patterns.

    1.7k GitHub stars~638 tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Preparing PR

What does Preparing PR do?

Prepare a pull request by running presubmit with fixes. An agent skill from flutter/devtools. Preparing PR is an agent skill from flutter/devtools. Prepare a pull request by running presubmit with fixes.

When should I use Preparing PR?

Preparing PR fits situations like: preparing to commit; tasks that involve Pull requests.

How do I install Preparing PR in Claude Code?

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

How do I install Preparing PR in Codex?

Run `npx skills add flutter/devtools --skill preparing-pr -a codex`. Or copy the skill folder (.agents/skills/preparing-pr in flutter/devtools) into .agents/skills/preparing-pr in your project. Codex loads it when a task matches its description.

Can I use Preparing 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 flutter/devtools --skill preparing-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/preparing-pr, .gemini/skills/preparing-pr, .github/skills/preparing-pr and .opencode/skills/preparing-pr in your project.

What does Preparing PR need to run?

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

Does Preparing PR access the network?

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

Is Preparing 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 Preparing PR use?

Preparing PR is published under the BSD-3-Clause licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Preparing PR use?

About 351 tokens (SKILL.md is roughly 1.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 Preparing PR?

Skills that share tags, products or a category with Preparing PR: Code Review (flutter/flutter, 179k stars), Code Review Skill (awesome-skills/code-review-skill, 2.1k stars), Review PR (hyochan/flutter_calendar_carousel, 860 stars) and Grix Code Review (askie/grix, 153 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Preparing PR?

flutter (a GitHub organization) maintains it in flutter/devtools, which has 1,732 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 7, 2026.

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