Agent skill

Refactor

by VB10 in VB10/vexana

Migrate a Flutter project that already uses an older vexana (4.x or 5.x) to vexana 6.x — bumps the dependency, rewrites removed imports and immutable-model mutations, and flags call sites whose…

No licenceAuto-check passedMobile

Install Refactor

skills CLI
$ npx skills add VB10/vexana --skill refactor -a claude-code

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

GitHub CLI
$ gh skill install VB10/vexana refactor --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/VB10/vexana.git skills-src && mkdir -p .claude/skills && cp -r skills-src/plugins/vexana/skills/refactor .claude/skills/refactor && 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
refactor
GitHub stars
154
Token cost
~516 tokens
SKILL.md length
237 words
Files
2 (incl. references)
Skills in repo
5
Repo updated
First seen
Licence
None found

At a glance

Migrate a Flutter project that already uses an older vexana (4.x or 5.x) to vexana 6.x — bumps the dependency, rewrites removed imports and immutable-model mutations, and flags call sites whose…

  • Works in 6 steps: Detect the current version → Baseline → Scan and plan → …
  • The user says vexana refactor
  • SKILL.md covers 1. Detect the current version, 2. Baseline, 3. Scan and plan and 4. Apply, plus 2 more sections
  • Calls flutter and dart

What it does

Refactor is an agent skill from VB10/vexana. Migrate a Flutter project that already uses an older vexana (4.x or 5.x) to vexana 6.x — bumps the dependency, rewrites removed imports and immutable-model mutations, and flags call sites whose behaviour changed (removeAll, sendPrimitive, downloadFileSimple, cache keys). Use when the user says "vexana refactor", "vexana'yı güncelle", "6.x'e geçir", "migrate vexana", "upgrade vexana", or analyze errors appear after bumping vexana.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files, including reference files (for example `references/migration.md`).

It sits in Mobile, covering Refactoring and Cross-platform mobile apps. It works with Flutter. The repository describes itself as: Vexana is network manager project with dio.

When your agent uses it

  • The user says vexana refactor
  • Vexanayı güncelle
  • Analyze errors appear after bumping vexana

Example prompts

  • “vexana refactor”
  • “vexana”
  • “e geçir”
  • “/refactor”

Workflow steps

6 steps, taken from the step headings in SKILL.md.

  1. Detect the current version
  2. Baseline
  3. Scan and plan
  4. Apply
  5. Verify
  6. Report

What it can do on your machine

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

    • flutter
    • dart

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

  • Network

    No URLs in SKILL.md.

    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

Refactor loads about 516 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 111 tokens; SKILL.md has 237 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~111
When it runs · the whole SKILL.md, loaded when a task matches
~516
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

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

Without a licence we can't republish the file, so here is its outline and opening line. It has 237 words (~516 tokens).

“Target: vexana ^6.0.0. Read references/migration.md and ../add/references/vexana-api.md first. This skill only migrates vexana usage; it does not convert raw dio/http code or restyle models.”

— opening of SKILL.md by VB10
name
refactor

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file (references) in plugins/vexana/skills/refactor of VB10/vexana.

  • SKILL.md
  • references/migration.md

Open the folder on GitHubat commit a3d4f3d

Compare with similar skills

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

Refactor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Refactor this skillVB10/vexana154—~516Automated safety check: PassNone
Squadron Workerd-markey/squadron138—~1.6kAutomated safety check: PassMIT
Liquid Glass Widgetssdegenaar/liquid_glass_widgets711—~3.8kAutomated safety check: PassMIT
Code Guidelinesgetsentry/sentry-dart873—~2.2kAutomated safety check: PassMIT
Remote API DevelopmentFNOSP/FlyNarwhal495—~1.3kAutomated safety check: PassMIT
Fullstack Webapprevfactory/harness-1001.3k—~1.8kAutomated safety check: PassApache-2.0

Similar skills

  • Squadron Worker

    d-markey/squadron

    A skill your agent uses when building, writing, or refactoring Squadron workers, worker pools, worker services, or using squadronbuilder annotations (@SquadronService, @SquadronMethod) for…

    138 GitHub stars~1.6k tokensUpdated 14 days ago
    MobileAuto-check passed
  • Liquid Glass Widgets

    sdegenaar/liquid_glass_widgets

    Mastery guide and architectural rules for liquidglasswidgets.

    711 GitHub stars~3.8k tokensUpdated yesterday
    MobileAuto-check passed
  • Code Guidelines

    getsentry/sentry-dart

    Official

    Enforce Sentry Dart/Flutter SDK code guidelines for implementation, refactoring, and review.

    873 GitHub stars~2.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Remote API Development

    FNOSP/FlyNarwhal

    A skill your agent uses when adding, modifying, or refactoring any remote/HTTP API call in this Flutter project.

    495 GitHub stars~1.3k tokensUpdated today
    MobileAuto-check passed
  • Fullstack Webapp

    revfactory/harness-100

    A full development pipeline where an agent team collaborates to develop fullstack web apps through requirements analysis, design, frontend, backend, testing, and deployment.

    1.3k GitHub stars~1.8k tokensUpdated 6 mo ago
    MobileAuto-check passed
  • Test Guidelines

    getsentry/sentry-dart

    Official

    Enforce Sentry Dart/Flutter SDK test conventions for naming, structure, and fixtures.

    873 GitHub stars~3.1k tokensUpdated today
    Testing & QAAuto-check passed

More from VB10/vexana

  • Add

    VB10/vexana

    Generate a vexana INetworkModel (with nested classes), a sendRequest service method and a round-trip model test from a JSON sample, a JSON file or an existing model, for a Flutter project using…

    154 GitHub stars~896 tokensUpdated 8 days ago
    Auto-check passed
  • Init

    VB10/vexana

    Set up vexana (the dio-based Flutter networking layer) in a Flutter project — adds the dependency, builds one NetworkManager, an optional error model and the test fixture helper, placed in the…

    154 GitHub stars~734 tokensUpdated 8 days ago
    Auto-check passed
  • Multiple Add

    VB10/vexana

    Generate vexana models, services, fake services, mocktail service tests and model tests for several JSON samples at once (a folder, several files or a pasted list), deduplicating shared nested types.

    154 GitHub stars~628 tokensUpdated 8 days ago
    Auto-check passed
  • Verify

    VB10/vexana

    vexana'yı doğrula — statik analiz, testler ve web/wasm derlemeleri tek komutta koşar, temiz özet verir.

    154 GitHub stars~376 tokensUpdated 8 days ago
    Auto-check passed

Works with

Questions about Refactor

What does Refactor do?

Migrate a Flutter project that already uses an older vexana (4.x or 5.x) to vexana 6.x — bumps the dependency, rewrites removed imports and immutable-model mutations, and flags call sites whose…. Refactor is an agent skill from VB10/vexana.x — bumps the dependency, rewrites removed imports and immutable-model mutations, and flags call sites whose behaviour changed (removeAll, sendPrimitive, downloadFileSimple, cache keys).

When should I use Refactor?

Refactor fits situations like: the user says vexana refactor; vexanayı güncelle; analyze errors appear after bumping vexana.

How do I install Refactor in Claude Code?

Run `npx skills add VB10/vexana --skill refactor -a claude-code`. Or copy the skill folder (plugins/vexana/skills/refactor in VB10/vexana) into .claude/skills/refactor in your project. Claude Code loads it when a task matches its description.

How do I install Refactor in Codex?

Run `npx skills add VB10/vexana --skill refactor -a codex`. Or copy the skill folder (plugins/vexana/skills/refactor in VB10/vexana) into .agents/skills/refactor in your project. Codex loads it when a task matches its description.

Can I use Refactor 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 VB10/vexana --skill refactor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/refactor, .gemini/skills/refactor, .github/skills/refactor and .opencode/skills/refactor in your project.

What does Refactor need to run?

Going by SKILL.md and its folder, Refactor needs the command-line tools its instructions call (flutter and dart).

Does Refactor access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Refactor 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 Refactor use?

No licence was found for Refactor or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Refactor use?

About 516 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 846 tokens, read only when the agent opens those files.

What are the alternatives to Refactor?

Skills that share tags, products or a category with Refactor: Squadron Worker (d-markey/squadron, 138 stars), Liquid Glass Widgets (sdegenaar/liquid_glass_widgets, 711 stars), Code Guidelines (getsentry/sentry-dart, 873 stars) and Remote API Development (FNOSP/FlyNarwhal, 495 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Refactor?

VB10 (a GitHub user) maintains it in VB10/vexana, which has 154 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on September 29, 2026.

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