Angular-Änderungen überprüfen
Prüft Templates, gezielte Verhaltenstests und echte Browserabläufe vor einer belastbaren Fertigmeldung.
angular-verification
Entdecke, wie der Skill hilftWann ist der Skill hilfreich?
Nutze diesen Skill, wenn eine Angular-Änderung mehr Nachweise als einen TypeScript-Lauf benötigt.
Wobei hilft er dir?
- Führt die passenden tatsächlichen Build-, Template- und Lintbefehle aus.
- Testet Komponentenverhalten, HTTP-Verträge, Abbruch und Fehlerbehandlung.
- Prüft Routen, Bildschirmbreiten und Tastatur und benennt ausgelassene Prüfungen.
Das könntest du fragen
Prüfe unsere Bestellansicht mit Direktlinks, Servervalidierung, Zurücknavigation und Tastaturbedienung auf schmalem Bildschirm. Sende bei schmalem Viewport eine ungültige Bestellung, korrigiere sie und kehre zur Liste zurück. Berichte Browserergebnis sowie Build- und Testergebnisse.
Ausführliche Dokumentation
Hier findest du die ursprüngliche Anleitung, Beispiele und Prüfschritte des Skills in ihrer Originalsprache.
Weniger anzeigen
Angular Verification & Browser QA
Prove that an Angular change compiles with strict template checking, passes targeted automated tests, and behaves properly in the browser across states and routes before calling it done.
1. Template typecheck, lint and build verification
- Run the project's actual scripts from
package.json/angular.json:- Typecheck & template check: run
ng build --configuration developmentortsc --noEmit/ngc(as configured) so Angular's template compiler (strictTemplates) validates component bindings, pipes, directives and signal/observable types. - Lint: run
ng lint/eslintand fix every error or warning in touched files. - Build: run the build script when changing lazy-loaded routes, standalone imports, providers, SSR config or bundle assets.
- Typecheck & template check: run
2. Targeted component, service and RxJS tests
- Test observable behavior rather than private fields:
- For components: use
TestBed.configureTestingModule,ComponentFixtureorTestbedHarnessEnvironment(ComponentHarness), trigger inputs and DOM events, callfixture.detectChanges(), and assert on rendered DOM and emitted outputs. - For HTTP services and interceptors: use
provideHttpClient()+provideHttpClientTesting()andHttpTestingController(expectOne,flush,verify()), asserting request method, URL, params, headers and error paths. - For RxJS streams and timers: test cancellation, debounce and error recovery deterministically (
fakeAsync/tick, marble tests or controlled subjects).
- For components: use
3. Browser, route and interaction check
- Whenever browser or preview tools are available, verify the changed flow in a real browser:
- States: initial load, loading indicator, empty state, client & server validation errors, retry and success.
- Navigation: direct URL load, browser Back/Forward, reload and same-component route parameter changes.
- Console & network: verify zero Angular runtime errors (
NG0100,NG0200,NG0950), unhandled rejections, or duplicate HTTP calls. - Responsive & keyboard: check phone, tablet and desktop widths, keyboard navigation (
Tab,Enter,Escape) and visible focus.
4. Honest handoff
- Record the exact commands, tests, routes and states verified and any environment limits, along with clear reproduction and testing steps for the reviewer or tester.
Before you finish
- Angular build/template typecheck, linter and targeted tests ran and passed.
- No Angular runtime errors (
NG*), console errors or duplicate HTTP calls in the changed flow. - Loading, empty, error, navigation and form states verified.
- Verification steps and remaining environment limits documented for the tester.
Enthaltene Dateien 2
LICENSE.txtSKILL.md
Über dieses Skill-Paket
angular-verification
angular-verification: Entwickelt wartbare Angular-Funktionen mit klaren Komponentengrenzen, reaktivem Zustand, Formularen und geprüften Migrationen.
Weniger anzeigen
angular-verification
angular-verification: Entwickelt wartbare Angular-Funktionen mit klaren Komponentengrenzen, reaktivem Zustand, Formularen und geprüften Migrationen.
Enthält den vollständigen Skill und seine Begleitdateien (2 Dateien). Der genaue, ursprünglich verfasste Anwendungsbereich bleibt unten erhalten.
Ursprüngliche Skill-Beschreibung (Quellsprache)
Use when verifying Angular changes before completion: running ng build/typecheck, angular-eslint, TestBed/ComponentHarness unit and integration tests, inspecting browser console, network requests, responsive widths and keyboard accessibility, and documenting verification steps.
Installiere den Skill, prüfe seine Quelle und Vertrauenseinstellungen und aktiviere ihn für das passende Projekt oder den Agenten.
Voraussetzungen
- Orqestria auf deinem Computer installiert.
