Przejdź do treści
Biblioteka skilli
Programowanie · Planowanie

codebase-migration-batches

/codebase-migration-batches

Dzieli szeroką refaktoryzację lub migrację, na przykład zmiany nazw API, migracje frameworków i mechaniczne codemody, na partie nadające się do przeglądu.

Repozytorium
agent-powerups ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
27.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co robi i kiedy

Dzieli szeroką refaktoryzację lub migrację, na przykład zmiany nazw API, migracje frameworków i mechaniczne codemody, na partie nadające się do przeglądu.

Oryginalny opis (EN)

Use when a wide refactor or migration is too large to ship as one change — API renames across many files, framework or config migrations, or mechanical codemod-backed refactors that need reviewable batches.

Jak działa

  1. When to Use
  2. Core Rules
  3. Workflow
  4. Batch Ledger
  5. Verification
Sekcje z nagłówków SKILL.md, w oryginale · 71 linii, 347 słów
Podgląd SKILL.md
---
name: codebase-migration-batches
description: Use when a wide refactor or migration is too large to ship as one change — API renames across many files, framework or config migrations, or mechanical codemod-backed refactors that need reviewable batches.
---

# Codebase Migration Batches

Use this skill for broad, repetitive refactors that should move in slices.

## When to Use

- API renames across many files
- Framework or config migrations
- Mechanical refactors backed by codemods or search/replace rules
- Any change where "all at once" would be too large to review safely

## Core Rules

- Define the transform precisely before editing files
- Keep one migration theme per batch
- Prefer deterministic codemods over manual repetition
- Maintain a batch ledger so already-migrated files are not touched twice
- Validate each batch before moving to the next
- No auto-commit, auto-push, or auto-PR

## Workflow

1. **Define the migration**
   - What changes
   - What does not change
   - How success is measured

2. **Measure the blast radius**
   - Count affected files
   - Sample representative files
   - Identify edge cases before the first codemod pass

3. **Choose batch size**
   - Small enough to review and debug
   - Large enough to make visible progress

4. **Run the transform**
   - Prefer AST-aware tools when syntax matters
   - Use plain search/replace only for truly mechanical edits
   - Keep any helper scripts under versioned project control if they are reused

5. **Verify the batch**
   - Run targeted tests first
   - Run broader validation when the batch changes shared primitives
   - Track residual manual fixes separately from the codemod logic

6. **Advance or stop**
   - Continue if the batch is stable
   - Shrink the batch if review or validation gets noisy
   - Stop and redesign the transform if repeated manual cleanup dominates

## Batch Ledger

Track at least:

```text
Batch ID
Files included
Transform rule
Validation run
Known exceptions
```

## Verification

- [ ] The transform was defined precisely — what changes, what does not — before the first file edit
- [ ] Each batch held one migration theme and passed validation before the next began
- [ ] The batch ledger records files, transform rule, validation run, and exceptions for every batch
- [ ] No already-migrated file was touched twice; no auto-commit, auto-push, or auto-PR occurred

Wersje

W bazie nie ma innych skilli o nazwie codebase-migration-batches.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 5f7e0400b3f2 (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

  • 90sweep-rewriter
    Wprowadza jednolitą zmianę w wielu plikach, np. zmiany nazw lub migracje API, z narzędziami AST i skanem pozostałości.
  • 100database-migrations
    Stosuje bezpieczne migracje baz: zmiany tylko do przodu, etapowe zmiany nazw, indeksy współbieżne i partie uzupełniania danych dla PostgreSQL i Prisma.
  • 100engineering-small-prs
    Dzieli duże funkcje, refaktoryzacje i migracje na małe, łatwe do przeglądu PR-y i ustala ich kolejność, także w stosach.
  • 95scraps-review
    Filtruje duże PR-y migracji systemu projektowego Scraps w Sentry, oddzielając mechaniczne zmiany ścieżek importu, wygenerowane pliki bazowe, mocki snapshotów i zmiany nazw od zmian w komponentach i logice.
  • 100ef-core-migrations
    Tworzy i wdraża migracje Entity Framework Core bezpiecznie: sprawdza wygenerowany SQL, zmiany bez przestoju i plan wycofania.
  • 95migrate-ops
    Prowadzi migracje frameworków i języków: podnoszenie wersji, zmiany łamiące zgodność, audyt zależności, codemody i bezpieczny rollback, między innymi dla React 19, Next.js, Laravel i Pythona.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.