Przejdź do treści
Biblioteka skilli
Programowanie · Budowanie i kod

angular-architecture-standalone-components-adoption

/angular-architecture-standalone-components-adoption

Przechodzi stopniowo na komponenty standalone w stabilnej aplikacji Angular, osobno od aktualizacji wersji, ograniczając użycie NgModule.

Repozytorium
ngautopilot ↗
Licencja
MIT
Ostatnia zmiana repozytorium
25.10.2026

Ocena i bezpieczeństwo

90/ 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ść25 / 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 25.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przechodzi stopniowo na komponenty standalone w stabilnej aplikacji Angular, osobno od aktualizacji wersji, ograniczając użycie NgModule.

Oryginalny opis (EN)

Adopt Angular standalone components after an Angular upgrade when the app is stable on Ivy and the goal is architectural modernization rather than a version hop. Use when the project is ready to reduce NgModule usage incrementally or convert bounded feature areas without mixing the change into the upgrade itself.

Jak działa

  1. Purpose
  2. When to Use
  3. When Not to Use
  4. Required Inputs
  5. Procedure
  6. Do
  7. Do Not
  8. Review Checklist
  9. Expected Output
  10. Exit Criteria
Sekcje z nagłówków SKILL.md, w oryginale · 67 linii, 255 słów
Podgląd SKILL.md
---
name: angular-architecture-standalone-components-adoption
description: "Adopt Angular standalone components after an Angular upgrade when the app is stable on Ivy and the goal is architectural modernization rather than a version hop. Use when the project is ready to reduce NgModule usage incrementally or convert bounded feature areas without mixing the change into the upgrade itself."
license: MIT
metadata:
  ngautopilot-id: "angular.architecture.standalone-components-adoption"
  ngautopilot-source: "skills/angular/architecture/standalone-components-adoption/SKILL.md"
  ngautopilot-version: "0.11.0"
---


# Standalone Components Adoption

## Purpose

Adopt standalone components in bounded slices after the Angular upgrade is stable.

## When to Use

- The app is already on a stable Angular version.
- The team wants to reduce `NgModule` usage incrementally.
- The change is architectural modernization, not a version upgrade.

## When Not to Use

- The app is still in the middle of a major Angular hop.
- The goal is to fix a build break during upgrade.
- The app is not stable on Ivy.

## Required Inputs

- `angular.json`
- feature module boundaries
- routing setup
- shared declarations/modules
- test coverage for the target slice

## Procedure

1. Select a bounded feature area.
2. Convert leaf components first.
3. Update routing and imports.
4. Remove obsolete declarations only after the slice is stable.
5. Validate build, tests, and runtime behavior.

## Do

- Prefer incremental conversion.
- Keep shared module changes small.
- Validate lazy routes and bootstrap paths.

## Do Not

- Do not convert the whole app in one pass.
- Do not mix standalone adoption with upgrade hops.
- Do not remove modules that still provide shared declarations.

## Review Checklist

- [ ] Slice is bounded.
- [ ] Routing still works.
- [ ] Tests pass.
- [ ] Remaining NgModule debt is documented.

## Expected Output

1. Slice converted to standalone.
2. Remaining module dependencies.
3. Test result.
4. Follow-up list.

## Exit Criteria

- Adoption is incremental.
- The next slice is clear.

Wersje

W bazie nie ma innych skilli o nazwie angular-architecture-standalone-components-adoption.

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

Migawka bazy z 28.10.2026 · wersja paczki d556f860b594 (skrót SHA-256 całej paczki)

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 80Angular Standalone First Adoption v19
    Wprowadza komponenty standalone i API bootstrap w ograniczonych wycinkach po wersji 19, stopniowo ograniczając NgModule.
  • 80Angular Standalone First Adoption v20
    Wprowadza komponenty standalone i API bootstrap w ograniczonych wycinkach po wersji 20, stopniowo ograniczając NgModule.
  • 90angular-architecture
    Układa strukturę aplikacji Angular 17 lub nowszej: komponenty standalone, organizację według funkcji, leniwe ładowanie i sygnały dla stanu.
  • 100angular-conventions
    Opisuje konwencje projektów Angular 18-21: struktura, standalone czy NgModule, nowa składnia sterowania przepływem, dekoratory, inject(), cykl życia i potoki, dobierając wzorce do stylu projektu.
  • 100ionic-angular
    Prowadzi przez wzorce Angulara w aplikacjach Ionic: struktura projektu, standalone czy NgModule, nawigacja z routerem, lazy loading, cykl życia stron, formularze reaktywne, guardy i testy.
  • 100angular
    Pomaga tworzyć aplikacje Angular: komponenty standalone, signals, trasy lazy, strażniki, interceptory i formularze reaktywne, w tym aktualizację starszych projektów.

Uwagi i zgłoszenia

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