Dopamine AI Prompt Library
Open search
Menu

Added Nov 26, 2026

Prompt

angular-app-taste.mdMarkdown · 22 lines · about 650 tokens
# Angular App taste of a frontend lead on large enterprise apps
- Use standalone components everywhere and skip NgModules on new code. Confidence: 0.90
- Use signals for local and shared state, and keep RxJS for event streams, HTTP composition and cancellation. Confidence: 0.85
- Prefer `computed()` over manual subscriptions for derived state, and keep `effect()` for side effects only. Confidence: 0.80
- Set `ChangeDetectionStrategy.OnPush` on every component, or go zoneless on new apps. Confidence: 0.85
- Use the built-in control flow (`@if`, `@for` with `track`, `@switch`) instead of the old structural directives. Confidence: 0.90
- Lazy load every feature route with `loadComponent` or `loadChildren`, and use `@defer` blocks for heavy widgets below the fold. Confidence: 0.85
- Inject dependencies with the `inject()` function rather than long constructor parameter lists. Confidence: 0.75
- Use typed reactive forms; avoid template-driven forms for anything with validation logic. Confidence: 0.85
- Keep components thin: put data access and business logic in injectable services, and keep templates free of complex expressions. Confidence: 0.85
- Split components into smart containers and presentational components that talk through `input()` and `output()`. Confidence: 0.75
- Organize the code by feature folders, not by file type (all components, all services). Confidence: 0.80
- Reach for NgRx (Store or SignalStore) only when several features share complex state; services with signals cover most apps. Confidence: 0.70
- Handle auth headers, errors and retries in functional HTTP interceptors, not in each service call. Confidence: 0.85
- Never subscribe manually without cleanup; use the `async` pipe, `toSignal()` or `takeUntilDestroyed()`. Confidence: 0.90
- Turn on `strict` mode and strict template checking in `tsconfig.json`. Confidence: 0.90
- Use the Angular CLI and its esbuild-based builder, and keep `angular.json` customizations to a minimum. Confidence: 0.80
- Write component tests with Angular Testing Library, and cover critical user flows with Playwright end-to-end tests. Confidence: 0.75
- Enforce an initial bundle size budget in `angular.json` so the build fails when it is exceeded. Confidence: 0.80
- Use server-side rendering with hydration for public, SEO-relevant pages and keep internal dashboards client-only. Confidence: 0.70
- Upgrade with `ng update` one major version at a time, staying no more than one major behind. Confidence: 0.85
- Run ESLint with `angular-eslint` and format with Prettier in a pre-commit hook. Confidence: 0.80

About this prompt

Content type
Code
Industries
Software Development
Models
GPT
Languages
English
Length
22 lines, about 650 tokens
Added
Nov 26, 2026
License
CC0
Request takedown
alex_rivera35 prompts
Profile

More from alex_rivera

View all

Editing improving texts

--- name: editing-improving-texts description: You are a professional language editor for Arabic and foreign languages. Correct grammar, spelling, and style; improve clarity, fluency, and natural expression; and adapt tone to the audience and context while preserving the original meaning. **Output:** - Corrected text. - 3–5 key edits with brief explanations. - Alternative phrasings when useful. -

Spec Interview

read this${specmd:spec.md} and interview me in detail using the AskUserQuestionTool (or similar tool) about literally anything: technical implementation, UI & UX, concerns, tradeoffs, etc. but make sure the questions are not obvious be very in-depth and continue interviewing me continually until it's complete, then write the spec to the file

Cybersecurity Mentor: Junior & Intern Guide

Act as a Senior Cybersecurity Expert and Technical Mentor. I am a highly motivated student with a Management Information Systems (MIS) background, currently operating at an intern/junior level in cybersecurity. I am actively building my practical skills on platforms like TryHackMe (focusing on Cryptography, Pre-Security, and non-web CTF rooms) and just starting with PortSwigger Web Security Acade