flutter-template: Skill for Claude Code

.agents/skills/create-pr/SKILL.md

create-pr is a skill for Claude Code from strvcom/flutter-template. It costs 92 tokens per session (1,550 once invoked), scanned A, original, MIT.

A workflow for creating or updating a GitHub pull request for a Flutter project. A pull request is a proposal to merge a branch's changes into another branch.

In plain words
What is it for?
Use it to prepare Flutter changes for review on GitHub, including the work type, ticket, description, target branch, verification, and pull-request details.
Why use it?
It gathers the information needed for the pull request, checks the project, and can prepare the commit, push the branch, and open or update the request when approved.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; reads .claude/ paths; installed under .agents/ (shared by several agents).

This is strvcom/flutter-template's own configuration. It tells Claude Code how to work on flutter-template itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything flutter-template configures →

Reuse

Borrowing it

Nothing to install: this file belongs to strvcom/flutter-template. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/strvcom/flutter-template/master/.agents/skills/create-pr/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/strvcom/flutter-template

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for create-pr

README.md
[![agentmods](https://agentmods.dev/badge/skills/strvcom/flutter-template/create-pr/github.svg)](https://agentmods.dev/skills/strvcom/flutter-template/create-pr)
Your own site
<a href="https://agentmods.dev/skills/strvcom/flutter-template/create-pr"><img src="https://agentmods.dev/badge/skills/strvcom/flutter-template/create-pr/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for create-pr

Your own site · 80×15
<a href="https://agentmods.dev/skills/strvcom/flutter-template/create-pr"><img src="https://agentmods.dev/badge/skills/strvcom/flutter-template/create-pr.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 92 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,550 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00092 $0.01550
Opus 5.5 $0.00037 $0.00620
Sonnet 5.5 $0.00018 $0.00310
Haiku 4.5 $0.00009 $0.00155

Measured 2mo ago against content hash 670d0aa70efb, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

create-pr scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/create-pr/SKILL.md · 201 lines

How it starts

The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Flutter Template Create Pull Request

Create or update a GitHub PR for the current branch. This workflow may commit and push, so ask before changing branches, committing, or pushing unless the user's request already clearly authorizes those actions.

Read First

  • AGENTS.md
  • docs/PROJECT_OVERVIEW.md
  • docs/PROJECT_GUIDELINES.md
  • git status
  • relevant task docs under .claude/tasks/, when present

Step 1: Collect PR Metadata

If the user did not provide these when invoking the skill, ask before proceeding:

  1. Type of work: one of chore, feat, fix, refactor
  2. Ticket number: e.g. MOB-120, or confirm that there is no ticket
  3. Short description: plain-English summary for the commit and PR title

Step 2: Decide Branch And Base

This repo may use stacked PRs. The PR base is the branch the current branch should merge into, which is not always the default branch.

Try to detect the parent branch:

git show-branch --all 2>/dev/null \
  | grep '\*' \
  | grep -v "$(git rev-parse --abbrev-ref HEAD)" \
  | head -1 \
  | sed 's/.*\[\(.*\)\].*/\1/' \
  | sed 's/[\^~].*//'

Alternative: use git log --format=%D HEAD --decorate and pick the nearest branch that is not HEAD.

If detection fails or is ambiguous, ask the user which branch this PR should target.

Ask whether to create a new branch or push the current branch unless the user already made that clear:

Should I create a new branch for these changes, or push to the current branch <current>? The PR will target <detected-or-confirmed-base>.

If creating a new branch, ask for the branch name or derive one from <type>/<ticket>/<slug>.

Step 3: Verify Build And Review

Run the build-verify skill:

.claude/skills/build-verify/scripts/verify.sh

It runs the Flutter verification suite for this repo: dependency sync, code generation when needed, analyzer, tests, iOS and Android native builds when in scope, and formatting. If it fails, fix the root cause and re-run before continuing.

Read the full file on GitHub · 201 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 201 lines · 92 tokens per session scan A 670d0aa70efb

Subscribe to this mod's changes

create-pr is a skill published in the GitHub repository strvcom/flutter-template (24 stars, last pushed 4mo ago), licensed MIT. It adds 92 tokens to every session and 1,550 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

create-pr compared with skills from other repositories

create-pr next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
create-prstrvcom/flutter-templateSkill244mo agoMITA92Claude Code
prYeachan-Heo/oh-my-claudecodeSkill41kyesterdayMITA47Claude Code
merge-batchdiegosouzapw/OmniRouteSkill83k6d agoMITA46Claude Code
otto-pr-review-loopomnigent-ai/omnigentSkill11kyesterdayApache-2.0A17Claude Code, Codex
engram-branch-prGentleman-Programming/engramSkill7.8kyesterdayMITA37Claude Code, Codex
github-contributordaymade/claude-code-skillsSkill1.5kyesterdayMITA105Claude Code, Codex
revdiffumputun/revdiffSkill945yesterdayMITA250Claude Code