refactor
/refactor
Migruje projekt Flutter z vexana 4.x lub 5.x do 6.x: podbija zależność, przepisuje usunięte importy i mutacje niemutowalnych modeli oraz wskazuje miejsca ze zmienionym zachowaniem.
Ocena i bezpieczeństwo
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 19.10.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Migruje projekt Flutter z vexana 4.x lub 5.x do 6.x: podbija zależność, przepisuje usunięte importy i mutacje niemutowalnych modeli oraz wskazuje miejsca ze zmienionym zachowaniem.
Wyzwalacze z opisu
Oryginalny opis (EN)
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.
Jak działa
- 1. Detect the current version
- 2. Baseline
- 3. Scan and plan
- 4. Apply
- 5. Verify
- 6. Report
Podgląd SKILL.md
--- name: refactor description: 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. --- # vexana refactor 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. ## 1. Detect the current version Read the resolved vexana version from `pubspec.lock` (fallback: `pubspec.yaml`). Already 6.x → say so and stop without changing any file. No vexana → stop and suggest `/vexana:init`. ## 2. Baseline Run `flutter test` before changing anything and keep the result, so migration regressions can be told apart from failures that already existed. ## 3. Scan and plan For every rule in `migration.md` from the current version up to the target, run its Detect pattern over `lib/` and `test/`. Build a list: file:line, rule, action (edit / flag / ask). Show it and **wait for confirmation** — unless the user explicitly said to proceed. Ask the `ask` rules' questions now; a rule whose condition does not hold (e.g. the SDK constraint is already ≥ 3.6.0) is skipped and listed as "not needed". ## 4. Apply Apply `edit` rules, set `vexana: ^6.0.0`, apply accepted `ask` rules, run `flutter pub get`. ## 5. Verify `dart analyze`, then `flutter test`. Analyze errors caused by the migration: fix and retry at most twice. Do not change test expectations to make tests pass. ## 6. Report - edits made (file:line, before → after); - flagged call sites to review by hand, each with the rule's explanation; - rules not needed, and why; - test results compared with the baseline: newly failing tests (regressions) vs. failures that already existed.
Pliki w paczce (2)
- SKILL.md 2 KB
- references/migration.md 3 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · vb10/vexana | 100 | MIT |
| froglet-studio/cosmic-shore | 100 | MIT |
| mgiovani/cc-arsenal | 100 | MIT |
| jongio/skills | 100 | MIT |
| boshu2/agentops | 100 | Apache-2.0 |
| y-miyazaki/terraform-aws-base | 100 | Apache-2.0 |
| mickeyyaya/evolve-loop | 100 | Apache-2.0 |
| j0hanz/j0hanz-marketplace | 100 | MIT |
| kriscard/kriscard-claude-plugins | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 5a4c9bfd2237 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100init
Konfiguruje vexana, warstwę sieciową Fluttera opartą na dio: dodaje zależność, buduje NetworkManager, opcjonalny model błędów i pomocnik fixture'ów testowych w istniejącej strukturze folderów. - 100add
Generuje z próbki JSON, pliku lub istniejącego modelu klasę INetworkModel vexana z zagnieżdżonymi klasami, metodę serwisu sendRequest i test modelu dla projektu Flutter z vexana 6.x. - 100migrate-scroll-spy-v0-to-v1
Prowadzi aktualizację projektu Flutter z scroll_spy 0.1.x lub 0.2.x do 1.x i naprawę błędów po zmianie, na przykład ScrollSpyRegistry, ScrollSpyGeometry i commitFrame.