Loading...
Loading...
Angular performance optimization and best practices guidelines for change detection, bundle optimization, templates, RxJS, and component architecture. Use when writing, reviewing, or refactoring Angular code, designing component hierarchies, optimizing performance, or implementing reactive patterns.
npx skill4agent add sajeetharan/angular-agent-kit angular-best-practices| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Change Detection | CRITICAL | |
| 2 | Bundle Size Optimization | CRITICAL | |
| 3 | Template Performance | HIGH | |
| 4 | RxJS & Async Operations | HIGH | |
| 5 | Component Architecture | MEDIUM-HIGH | |
| 6 | HTTP & Data Fetching | MEDIUM | |
| 7 | Forms & Validation | MEDIUM | |
| 8 | Testing & Debugging | LOW-MEDIUM | |
cd-onpushcd-trackbycd-pure-pipescd-immutable-datacd-detach-reattachcd-run-outside-angularbundle-lazy-loadingbundle-tree-shakingbundle-standalone-componentsbundle-defer-viewsbundle-preload-strategiesbundle-avoid-barrel-exportstemplate-avoid-function-callstemplate-async-pipetemplate-ng-containertemplate-control-flowtemplate-optimize-ngif-ngfortemplate-image-optimizationrxjs-avoid-nested-subscriptionsrxjs-unsubscriberxjs-share-replayrxjs-switchmap-vs-mergemaprxjs-signals-vs-observablesrxjs-debounce-throttlecomponent-smart-presentationalcomponent-input-transformscomponent-output-namingcomponent-content-projectioncomponent-dynamic-componentscomponent-host-directiveshttp-interceptorshttp-cachinghttp-retry-logichttp-cancel-requestshttp-typed-responseshttp-error-handlingforms-reactive-over-templateforms-typed-formsforms-custom-validatorsforms-async-validationforms-control-value-accessorforms-form-arraystesting-component-harnesstesting-mock-servicestesting-async-testingtesting-change-detectiontesting-marble-testingtesting-performance-profilingrules/cd-onpush.md
rules/bundle-lazy-loading.md
rules/_sections.mdAGENTS.md