improve-architecture
/improve-architecture
Robi przegląd architektury bazy C# dla Windows: znajduje gorące punkty, proponuje głębsze moduły i refaktoryzuje po jednym kroku na commit.
- Autor
- MinnThikeTunn ↗
- Repozytorium
- Phan-Tee ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 02.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 3
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 02.11.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
Robi przegląd architektury bazy C# dla Windows: znajduje gorące punkty, proponuje głębsze moduły i refaktoryzuje po jednym kroku na commit.
Oryginalny opis (EN)
Architecture check-in for a growing Windows C# codebase. Finds hot spots, proposes deeper modules, and refactors one step per commit with behavior proven unchanged. Use when at the end of a milestone, before a big feature, when a file passes 500 lines, or when the user asks to clean up code.
Jak działa
- When to run
- The target architecture
- 1. Survey
- 2. Refactor in steps
- Done when
Podgląd SKILL.md
--- name: improve-architecture description: Architecture check-in for a growing Windows C# codebase. Finds hot spots, proposes deeper modules, and refactors one step per commit with behavior proven unchanged. Use when at the end of a milestone, before a big feature, when a file passes 500 lines, or when the user asks to clean up code. --- # Improve architecture Features pile up, and an app that was easy to change gets hard to change. A **check-in** catches that early: survey, propose, let the user pick, then refactor in small steps that keep behavior proven identical via tests. ## When to run - The end of a milestone (the `improve-loop` skill calls this skill there). - Before a big feature: "What change to the code would make this feature easy?" - A C# file over 500 lines, or a class with too many responsibilities. - UI code directly performing raw SQL queries or file system mutations. - When domain logic cannot be tested in `<AppName>CoreTests` without launching the UI. ## The target architecture ```text Sources/ <AppName>Core/ (Pure Domain, EF Core DbContext, models, services - NO XAML) <AppName>/ (Views, ViewModels, Window, Controls, Themes) Tests/ <AppName>CoreTests/ (xUnit tests running in milliseconds) ``` ## 1. Survey 1. Find largest files: ```powershell Get-ChildItem -Path Sources -Recurse -Filter *.cs | Sort-Object Length -Descending | Select-Object -First 10 Name, Length ``` 2. Identify shallow pass-through classes and merge or deepen them. 3. Move business rules from UI code-behinds into `<AppName>Core`. ## 2. Refactor in steps - One small refactor per commit. - Run `dotnet test` after every step to prove behavior is unchanged. ## Done when Large files have been broken down, business logic is isolated in `<AppName>Core`, and `dotnet test` passes with zero regressions.
Pliki w paczce (3)
- SKILL.md 2 KB
- architecture.md 1 KB
- agents/openai.yaml 1 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · MinnThikeTunn/Phan-Tee | 100 | MIT |
| daveebbelaar/bama | 100 | MIT |
| daveebbelaar/bawa | 100 | MIT |
| Stijnus/dsh-rev-eng | 100 | MIT |
| rune-kit/rune | 100 | MIT |
| woliveiras/baseline | 86 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 8c961eabf717 (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
- 90improve-codebase-architecture
Przeszukuje kod pod kątem możliwości pogłębienia architektury: refaktoryzacji zamieniających płytkie moduły w głębsze, z lepszą testowalnością i lokalnością, bez pisania kodu. - 90improve-codebase-architecture
Przeszukuje kod pod kątem możliwości pogłębienia architektury: refaktoryzacji zamieniających płytkie moduły w głębsze, z lepszą testowalnością i lokalnością, bez pisania kodu. - 100improve-codebase-architecture
Pomaga ulepszyć architekturę, scalić silnie sprzężone moduły i zwiększyć testowalność bazy kodu. - 95improve-codebase-architecture
Szuka w istniejącym kodzie miejsc na głębsze moduły, tworzy bezpieczny raport offline i bada jedną zmianę bez jej wdrażania. - 100improve-codebase-architecture
Pomaga, gdy kod trudno zmieniać, testować lub przeglądać: wskazuje tarcia architektoniczne i głębsze szwy modułów oraz rozpisuje jednego kandydata na kierunek refaktoryzacji. - 100improve-codebase-architecture
Przeszukuje bazę kodu pod kątem usprawnień architektury, pogłębiając płytkie moduły, aby ułatwić testowanie i nawigację także agentom AI.