[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6D2FXEH7SQY3QNDQQC88JHN":3,"skill-same:01M6D2FXEH7SQY3QNDQQC88JHN":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":36,"linkOnly":37,"markdownContent":38,"markdownBody":39,"frontMatter":40,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":46,"ownerDescription":48,"updatedAt":49,"install":50,"resources":63},"01M6D2FXEH7SQY3QNDQQC88JHN","ui-stack-angular",null,"Building interfaces in Angular: standalone components, signals and computed state, the built-in control flow, OnPush change detection, inject, typed reactive forms, the router with lazy routes and guards, HttpClient with interceptors, Angular CDK and Material, SSR with hydration, and testing. Read when the project uses Angular.","enowdev\u002Fenowxcli","enowdev","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F179420349?v=4","01M6D1MVX2KC0X3Z9NESE7P22K","Enow Dev.","01M6D1MW1FMZGBDKWAJY4GQX81",67,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-angular\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35],"angular","ui stack angular","stack","ui","state","ssr","flow","detection","testing","change","read","router","forms","signals","project","control","components","2026-11-10 10:12:30",false,"---\nname: ui-stack-angular\ndescription: \"Building interfaces in Angular: standalone components, signals and computed state, the built-in control flow, OnPush change detection, inject, typed reactive forms, the router with lazy routes and guards, HttpClient with interceptors, Angular CDK and Material, SSR with hydration, and testing. Read when the project uses Angular.\"\n---\n\n# Angular\n\nAngular written from old tutorials still looks like 2019: NgModules,\n`*ngIf` and `*ngFor`, constructor injection, objects mutated in place,\nsubscriptions nobody closes, a `BehaviorSubject` store per screen, and\nMaterial in its default violet with Roboto. Current Angular is standalone\ncomponents, signals and the built-in control flow. This covers Angular 20\nto 22 (22 is current in 2026): keep to what the project's version has.\n\n## 1. Files\n\n- Folders by feature (`features\u002Forders\u002F` with its routes, pages, parts and\n  API service), `core\u002F` for interceptors, guards and the shell,\n  `shared\u002Fui\u002F` for parts built on the component library. Each feature is\n  lazy-loaded and imports no other feature's internals.\n- `ng new` in v22 is standalone, zoneless and tested with Vitest. Names\n  follow the v20 style guide (`orders-page.ts` holds `OrdersPage`, no\n  `.component` suffix); an older project keeps its own.\n\n## 2. Components and templates\n\n```ts\nimport { Component, inject, input } from \"@angular\u002Fcore\";\nimport { httpResource } from \"@angular\u002Fcommon\u002Fhttp\";\nimport { RouterLink } from \"@angular\u002Frouter\";\nimport { OrdersApi, type Order } from \".\u002Forders-api\";\n\n@Component({\n  selector: \"app-orders-page\",\n  imports: [RouterLink],\n  template: `\n    @if (orders.error()) {\n      \u003Cp role=\"alert\">Orders could not load. \u003Cbutton type=\"button\" (click)=\"orders.reload()\">Try again\u003C\u002Fbutton>\u003C\u002Fp>\n    } @else if (orders.hasValue()) {\n      \u003Cul>\n        @for (order of orders.value(); track order.id) {\n          \u003Cli>\u003Ca [routerLink]=\"['\u002Forders', order.id]\">{{ order.number }}\u003C\u002Fa>\n            \u003Cbutton type=\"button\" (click)=\"api.remind(order.id)\">Send reminder\u003C\u002Fbutton>\u003C\u002Fli>\n        } @empty { \u003Cli>No orders with this status.\u003C\u002Fli> }\n      \u003C\u002Ful>\n    } @else { \u003Cp>Loading orders…\u003C\u002Fp> }\n  `,\n})\nexport class OrdersPage {\n  readonly status = input\u003Cstring>(); \u002F\u002F ?status=, bound by withComponentInputBinding()\n  protected readonly api = inject(OrdersApi);\n  protected readonly orders = httpResource\u003COrder[]>(() => `\u002Fapi\u002Forders?status=${this.status() ?? \"open\"}`);\n}\n```\n\n- Standalone only (the default since v19), each listing its template's\n  needs in `imports`; `input()`, `input.required()`, `output()`, `model()`,\n  `viewChild()`; host bindings in the `host` object; template-only members\n  `protected`; derived values `computed`, never template function calls.\n- `@if`, `@for` with `track` (a stable id; `$index` only for a list that\n  never changes) and `@empty`, `@switch`, `@let`. `*ngIf` and `*ngFor` are\n  deprecated since v20 (`ng generate @angular\u002Fcore:control-flow`).\n- `@defer (on viewport)` for heavy parts below the fold, with a\n  `@placeholder` (one element: it is what is observed) and `@loading\n  (after 100ms; minimum 500ms)` so nothing flickers.\n\n## 3. Signals, change detection, injection\n\n- `signal` for state, `computed` for what follows, `linkedSignal` for\n  state that resets with its source (the selected row when the list\n  reloads); `effect` only to reach outside Angular (storage, a chart),\n  never to copy one signal into another. Update immutably\n  (`items.update((list) => [...list, item])`).\n- OnPush everywhere: the default from v22 (`ChangeDetectionStrategy.Eager`,\n  formerly `Default`, opts out); up to v21, set `changeDetection:\n  ChangeDetectionStrategy.OnPush` on every component. New apps are\n  zoneless since v21, so whatever the view shows lives in signals.\n- `inject()` in field initialisers; `@Service()` (v22) for an app-wide\n  singleton (`@Injectable({ providedIn: \"root\" })` before); shared state in\n  a service of signals; RxJS only where streams help (`toSignal()`,\n  `takeUntilDestroyed()`).\n\n## 4. Data: resources and interceptors\n\n- `httpResource(() => url)` refetches when a signal in the URL changes:\n  `value()`, `isLoading()`, `error()`, `hasValue()`, `reload()`;\n  `resource()` wraps a promise, `rxResource()` an Observable. Stable in v22\n  (experimental from 19.2 to 21). Mutations are service methods returning\n  a promise (`firstValueFrom(http.post(...))`), then `reload()`.\n- `provideHttpClient(withInterceptors([sessionInterceptor]))` (fetch is\n  the v22 default, no `withFetch()`); this one sends a 401 to sign-in:\n\n```ts\nexport const sessionInterceptor: HttpInterceptorFn = (req, next) => {\n  const router = inject(Router);\n  return next(req).pipe(catchError((error: unknown) => {\n    if (error instanceof HttpErrorResponse && error.status === 401) {\n      router.navigate([\"\u002Fsign-in\"], { queryParams: { returnUrl: router.url } });\n    }\n    return throwError(() => error);\n  }));\n};\n```\n\n## 5. Forms\n\nSignal Forms are stable in v22: use them for new forms. Typed reactive forms\nstay right in older versions and existing code (`frontend-forms`).\n\n```ts\nimport { email, form, FormField, required, submit } from \"@angular\u002Fforms\u002Fsignals\";\n@Component({\n  selector: \"app-booking-form\",\n  imports: [FormField],\n  template: `\n    \u003Cform (submit)=\"send($event)\" novalidate>\n      @let emailError = booking.email().touched() && booking.email().invalid();\n      \u003Clabel for=\"email\">Email\u003C\u002Flabel>\n      \u003Cinput id=\"email\" type=\"email\" autocomplete=\"email\" [formField]=\"booking.email\"\n             [attr.aria-invalid]=\"emailError\" [attr.aria-describedby]=\"emailError ? 'email-error' : null\" \u002F>\n      @if (emailError) { \u003Cp id=\"email-error\">{{ booking.email().errors()[0].message }}\u003C\u002Fp> }\n      \u003Cbutton type=\"submit\" [disabled]=\"booking().submitting()\">Book appointment\u003C\u002Fbutton>\n    \u003C\u002Fform>\n  `,\n})\nexport class BookingForm {\n  private readonly api = inject(BookingApi);\n  protected readonly model = signal({ email: \"\", date: \"\" });\n  protected readonly booking = form(this.model, (path) => {\n    required(path.email, { message: \"Enter your email address.\" });\n    email(path.email, { message: \"Enter an email address like name@example.com.\" });\n  });\n  protected async send(event: Event) {\n    event.preventDefault();\n    await submit(this.booking, {\n      action: () => this.api.book(this.model()),\n      onInvalid: (f) => f().errorSummary()[0]?.fieldTree().focusBoundControl(),\n    });\n  }\n}\n```\n\n`[formField]` binds a native input (value, `required`, `disabled`, touched\non blur); rules sit in the schema (`minLength`, `pattern`, `validate`,\n`validateHttp`). `submit()` marks every field touched, runs the action only\nwhen valid and puts the errors it returns on their fields. The reactive\nequivalent: `inject(NonNullableFormBuilder).group({ email: [\"\",\n[Validators.required, Validators.email]] })`, `formControlName` on each\ninput, `markAllAsTouched()` and focus on the first error when invalid.\n\n## 6. The router\n\n- Lazy routes (`loadComponent: () => import(\".\u002Forders-page\").then((m) =>\n  m.OrdersPage)`), each with a `title`, a `**` route for not found; guards\n  are functions returning `true` or a `UrlTree` (`inject(Router)\n  .createUrlTree([\"\u002Fsign-in\"], { queryParams: { returnUrl: state.url } })`).\n- `provideRouter(routes, withComponentInputBinding(), withInMemoryScrolling(\n  { scrollPositionRestoration: \"enabled\" }))`. A missing parameter sets its\n  input to `undefined`, so defaults live in code (`?? \"open\"`).\n  `withViewTransitions()` (developer preview) keeps its animations inside\n  `@media (prefers-reduced-motion: no-preference)`.\n- After a navigation, focus moves to the new page's `h1` (a small service\n  on `NavigationEnd`); Angular does not do it (`frontend-accessibility`).\n\n## 7. CDK, Aria and Material\n\n- Angular Aria (`@angular\u002Faria`, stable in v22): headless accordion,\n  combobox, grid, listbox, menu, tabs, toolbar and tree, styled with your\n  tokens. The CDK adds `cdkTrapFocus`, `LiveAnnouncer`, overlays, virtual\n  scroll, and drag and drop (with keyboard buttons alongside).\n- Material themed from the project's tokens, never its default violet and\n  Roboto (`ui-themes`): palettes from the brand colour with\n  `ng generate @angular\u002Fmaterial:theme-color`, then:\n\n```scss\n@use \"@angular\u002Fmaterial\" as mat;\n@use \".\u002Fstyles\u002Ftheme-colors\" as brand;\nhtml {\n  color-scheme: light dark; \u002F* the system tokens use light-dark() *\u002F\n  @include mat.theme((\n    color: (primary: brand.$primary-palette, tertiary: brand.$tertiary-palette),\n    typography: (plain-family: \"Plus Jakarta Sans\", brand-family: \"Fraunces\"),\n    density: -1,\n  ));\n}\n```\n\n- Your CSS reads `--mat-sys-*` variables; component tweaks go through the\n  `*-overrides` mixins, never deep selectors. Spartan is the unstyled option.\n\n## 8. Server rendering and speed\n\n- `ng add @angular\u002Fssr`; `app.routes.server.ts` sets a `RenderMode` per\n  route (`Prerender` for public pages, `Server` per request, `Client` for\n  the signed-in app); `provideClientHydration(withEventReplay())`, with\n  incremental hydration on by default in v22 (`@defer (hydrate on\n  viewport)`). Browser-only code (`window`, storage, a chart) runs in\n  `afterNextRender()`, or the server render fails.\n- `NgOptimizedImage` (`priority` on the largest first-screen image);\n  `angular.json` budgets; `@angular\u002Flocalize` or Transloco (`i18n`).\n\n## Check it\n\n- `ng build` fails on template type errors and over-budget bundles (read\n  the lazy chunks); `ng lint` after `ng add angular-eslint`, template\n  accessibility rules on; `ng test` (Vitest, or Karma when older). With\n  Testing Library: `render(BookingForm, { providers: [provideHttpClient(),\n  provideHttpClientTesting()] })`, `userEvent.click(screen.getByRole(\n  \"button\", { name: \"Book appointment\" }))`, `await screen.findByText(...)`.\n- Playwright for journeys; `preview` with `url` `http:\u002F\u002Flocalhost:4200\u002F`\n  and `start` `npm start -- --port 4200`; then `ui_check`.\n\n## Avoid\n\nNgModules, `*ngIf` and constructor injection in new code; `subscribe` in\ncomponents that only render; objects mutated in place; `effect` copying\nsignals; functions called in templates; `$index` tracking a changing list;\n`window` touched during server rendering; Material's default theme; drag\nand drop with no keyboard way; a guard that navigates instead of returning\na `UrlTree`; the whole app in one bundle.\n","# Angular\n\nAngular written from old tutorials still looks like 2019: NgModules,\n`*ngIf` and `*ngFor`, constructor injection, objects mutated in place,\nsubscriptions nobody closes, a `BehaviorSubject` store per screen, and\nMaterial in its default violet with Roboto. Current Angular is standalone\ncomponents, signals and the built-in control flow. This covers Angular 20\nto 22 (22 is current in 2026): keep to what the project's version has.\n\n## 1. Files\n\n- Folders by feature (`features\u002Forders\u002F` with its routes, pages, parts and\n  API service), `core\u002F` for interceptors, guards and the shell,\n  `shared\u002Fui\u002F` for parts built on the component library. Each feature is\n  lazy-loaded and imports no other feature's internals.\n- `ng new` in v22 is standalone, zoneless and tested with Vitest. Names\n  follow the v20 style guide (`orders-page.ts` holds `OrdersPage`, no\n  `.component` suffix); an older project keeps its own.\n\n## 2. Components and templates\n\n```ts\nimport { Component, inject, input } from \"@angular\u002Fcore\";\nimport { httpResource } from \"@angular\u002Fcommon\u002Fhttp\";\nimport { RouterLink } from \"@angular\u002Frouter\";\nimport { OrdersApi, type Order } from \".\u002Forders-api\";\n\n@Component({\n  selector: \"app-orders-page\",\n  imports: [RouterLink],\n  template: `\n    @if (orders.error()) {\n      \u003Cp role=\"alert\">Orders could not load. \u003Cbutton type=\"button\" (click)=\"orders.reload()\">Try again\u003C\u002Fbutton>\u003C\u002Fp>\n    } @else if (orders.hasValue()) {\n      \u003Cul>\n        @for (order of orders.value(); track order.id) {\n          \u003Cli>\u003Ca [routerLink]=\"['\u002Forders', order.id]\">{{ order.number }}\u003C\u002Fa>\n            \u003Cbutton type=\"button\" (click)=\"api.remind(order.id)\">Send reminder\u003C\u002Fbutton>\u003C\u002Fli>\n        } @empty { \u003Cli>No orders with this status.\u003C\u002Fli> }\n      \u003C\u002Ful>\n    } @else { \u003Cp>Loading orders…\u003C\u002Fp> }\n  `,\n})\nexport class OrdersPage {\n  readonly status = input\u003Cstring>(); \u002F\u002F ?status=, bound by withComponentInputBinding()\n  protected readonly api = inject(OrdersApi);\n  protected readonly orders = httpResource\u003COrder[]>(() => `\u002Fapi\u002Forders?status=${this.status() ?? \"open\"}`);\n}\n```\n\n- Standalone only (the default since v19), each listing its template's\n  needs in `imports`; `input()`, `input.required()`, `output()`, `model()`,\n  `viewChild()`; host bindings in the `host` object; template-only members\n  `protected`; derived values `computed`, never template function calls.\n- `@if`, `@for` with `track` (a stable id; `$index` only for a list that\n  never changes) and `@empty`, `@switch`, `@let`. `*ngIf` and `*ngFor` are\n  deprecated since v20 (`ng generate @angular\u002Fcore:control-flow`).\n- `@defer (on viewport)` for heavy parts below the fold, with a\n  `@placeholder` (one element: it is what is observed) and `@loading\n  (after 100ms; minimum 500ms)` so nothing flickers.\n\n## 3. Signals, change detection, injection\n\n- `signal` for state, `computed` for what follows, `linkedSignal` for\n  state that resets with its source (the selected row when the list\n  reloads); `effect` only to reach outside Angular (storage, a chart),\n  never to copy one signal into another. Update immutably\n  (`items.update((list) => [...list, item])`).\n- OnPush everywhere: the default from v22 (`ChangeDetectionStrategy.Eager`,\n  formerly `Default`, opts out); up to v21, set `changeDetection:\n  ChangeDetectionStrategy.OnPush` on every component. New apps are\n  zoneless since v21, so whatever the view shows lives in signals.\n- `inject()` in field initialisers; `@Service()` (v22) for an app-wide\n  singleton (`@Injectable({ providedIn: \"root\" })` before); shared state in\n  a service of signals; RxJS only where streams help (`toSignal()`,\n  `takeUntilDestroyed()`).\n\n## 4. Data: resources and interceptors\n\n- `httpResource(() => url)` refetches when a signal in the URL changes:\n  `value()`, `isLoading()`, `error()`, `hasValue()`, `reload()`;\n  `resource()` wraps a promise, `rxResource()` an Observable. Stable in v22\n  (experimental from 19.2 to 21). Mutations are service methods returning\n  a promise (`firstValueFrom(http.post(...))`), then `reload()`.\n- `provideHttpClient(withInterceptors([sessionInterceptor]))` (fetch is\n  the v22 default, no `withFetch()`); this one sends a 401 to sign-in:\n\n```ts\nexport const sessionInterceptor: HttpInterceptorFn = (req, next) => {\n  const router = inject(Router);\n  return next(req).pipe(catchError((error: unknown) => {\n    if (error instanceof HttpErrorResponse && error.status === 401) {\n      router.navigate([\"\u002Fsign-in\"], { queryParams: { returnUrl: router.url } });\n    }\n    return throwError(() => error);\n  }));\n};\n```\n\n## 5. Forms\n\nSignal Forms are stable in v22: use them for new forms. Typed reactive forms\nstay right in older versions and existing code (`frontend-forms`).\n\n```ts\nimport { email, form, FormField, required, submit } from \"@angular\u002Fforms\u002Fsignals\";\n@Component({\n  selector: \"app-booking-form\",\n  imports: [FormField],\n  template: `\n    \u003Cform (submit)=\"send($event)\" novalidate>\n      @let emailError = booking.email().touched() && booking.email().invalid();\n      \u003Clabel for=\"email\">Email\u003C\u002Flabel>\n      \u003Cinput id=\"email\" type=\"email\" autocomplete=\"email\" [formField]=\"booking.email\"\n             [attr.aria-invalid]=\"emailError\" [attr.aria-describedby]=\"emailError ? 'email-error' : null\" \u002F>\n      @if (emailError) { \u003Cp id=\"email-error\">{{ booking.email().errors()[0].message }}\u003C\u002Fp> }\n      \u003Cbutton type=\"submit\" [disabled]=\"booking().submitting()\">Book appointment\u003C\u002Fbutton>\n    \u003C\u002Fform>\n  `,\n})\nexport class BookingForm {\n  private readonly api = inject(BookingApi);\n  protected readonly model = signal({ email: \"\", date: \"\" });\n  protected readonly booking = form(this.model, (path) => {\n    required(path.email, { message: \"Enter your email address.\" });\n    email(path.email, { message: \"Enter an email address like name@example.com.\" });\n  });\n  protected async send(event: Event) {\n    event.preventDefault();\n    await submit(this.booking, {\n      action: () => this.api.book(this.model()),\n      onInvalid: (f) => f().errorSummary()[0]?.fieldTree().focusBoundControl(),\n    });\n  }\n}\n```\n\n`[formField]` binds a native input (value, `required`, `disabled`, touched\non blur); rules sit in the schema (`minLength`, `pattern`, `validate`,\n`validateHttp`). `submit()` marks every field touched, runs the action only\nwhen valid and puts the errors it returns on their fields. The reactive\nequivalent: `inject(NonNullableFormBuilder).group({ email: [\"\",\n[Validators.required, Validators.email]] })`, `formControlName` on each\ninput, `markAllAsTouched()` and focus on the first error when invalid.\n\n## 6. The router\n\n- Lazy routes (`loadComponent: () => import(\".\u002Forders-page\").then((m) =>\n  m.OrdersPage)`), each with a `title`, a `**` route for not found; guards\n  are functions returning `true` or a `UrlTree` (`inject(Router)\n  .createUrlTree([\"\u002Fsign-in\"], { queryParams: { returnUrl: state.url } })`).\n- `provideRouter(routes, withComponentInputBinding(), withInMemoryScrolling(\n  { scrollPositionRestoration: \"enabled\" }))`. A missing parameter sets its\n  input to `undefined`, so defaults live in code (`?? \"open\"`).\n  `withViewTransitions()` (developer preview) keeps its animations inside\n  `@media (prefers-reduced-motion: no-preference)`.\n- After a navigation, focus moves to the new page's `h1` (a small service\n  on `NavigationEnd`); Angular does not do it (`frontend-accessibility`).\n\n## 7. CDK, Aria and Material\n\n- Angular Aria (`@angular\u002Faria`, stable in v22): headless accordion,\n  combobox, grid, listbox, menu, tabs, toolbar and tree, styled with your\n  tokens. The CDK adds `cdkTrapFocus`, `LiveAnnouncer`, overlays, virtual\n  scroll, and drag and drop (with keyboard buttons alongside).\n- Material themed from the project's tokens, never its default violet and\n  Roboto (`ui-themes`): palettes from the brand colour with\n  `ng generate @angular\u002Fmaterial:theme-color`, then:\n\n```scss\n@use \"@angular\u002Fmaterial\" as mat;\n@use \".\u002Fstyles\u002Ftheme-colors\" as brand;\nhtml {\n  color-scheme: light dark; \u002F* the system tokens use light-dark() *\u002F\n  @include mat.theme((\n    color: (primary: brand.$primary-palette, tertiary: brand.$tertiary-palette),\n    typography: (plain-family: \"Plus Jakarta Sans\", brand-family: \"Fraunces\"),\n    density: -1,\n  ));\n}\n```\n\n- Your CSS reads `--mat-sys-*` variables; component tweaks go through the\n  `*-overrides` mixins, never deep selectors. Spartan is the unstyled option.\n\n## 8. Server rendering and speed\n\n- `ng add @angular\u002Fssr`; `app.routes.server.ts` sets a `RenderMode` per\n  route (`Prerender` for public pages, `Server` per request, `Client` for\n  the signed-in app); `provideClientHydration(withEventReplay())`, with\n  incremental hydration on by default in v22 (`@defer (hydrate on\n  viewport)`). Browser-only code (`window`, storage, a chart) runs in\n  `afterNextRender()`, or the server render fails.\n- `NgOptimizedImage` (`priority` on the largest first-screen image);\n  `angular.json` budgets; `@angular\u002Flocalize` or Transloco (`i18n`).\n\n## Check it\n\n- `ng build` fails on template type errors and over-budget bundles (read\n  the lazy chunks); `ng lint` after `ng add angular-eslint`, template\n  accessibility rules on; `ng test` (Vitest, or Karma when older). With\n  Testing Library: `render(BookingForm, { providers: [provideHttpClient(),\n  provideHttpClientTesting()] })`, `userEvent.click(screen.getByRole(\n  \"button\", { name: \"Book appointment\" }))`, `await screen.findByText(...)`.\n- Playwright for journeys; `preview` with `url` `http:\u002F\u002Flocalhost:4200\u002F`\n  and `start` `npm start -- --port 4200`; then `ui_check`.\n\n## Avoid\n\nNgModules, `*ngIf` and constructor injection in new code; `subscribe` in\ncomponents that only render; objects mutated in place; `effect` copying\nsignals; functions called in templates; `$index` tracking a changing list;\n`window` touched during server rendering; Material's default theme; drag\nand drop with no keyboard way; a guard that navigates instead of returning\na `UrlTree`; the whole app in one bundle.\n",{"name":5,"description":7},"main","38293fe1b096e6bf3646c7344c38786ed688f464","crates\u002Fenowx-core\u002Fskills\u002Fui-stack-angular",21,"https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli","https:\u002F\u002Fenowx.ai","https:\u002F\u002Fgithub.com\u002Fenowdev","Pretending to be a Developer","2026-10-06 02:05:35",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add enowdev\u002Fenowxcli --skill ui-stack-angular",{"tool":56,"command":57},"bunx","bunx skills add enowdev\u002Fenowxcli --skill ui-stack-angular",{"tool":59,"command":60},"pnpm","pnpm dlx skills add enowdev\u002Fenowxcli --skill ui-stack-angular","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-angular\u002FSKILL.md",true,[],[65,75,92,103,124,143],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":36},"01M6D2HQYSQD9N7MTNDT4A7CBM","demo-skill","Project-scope demo skill for tests.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fworkspace\u002F.agents\u002Fskills\u002Fdemo-skill\u002FSKILL.md",[],[72,73,74,33,29],"demo skill","demo","tests",{"skillNo":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"publishedAt":36},"01M6D2HM0GCPM0TM2HPG9HHR2R","writing","Writing words people read: the specific thing instead of claims, words to drop, sentences, interface copy (buttons, labels, errors, empty states, confirmations), page copy, notifications and emails, alt text and link text, numbers and dates, words that translate well, documentation and voice. Read before writing a page's copy, an interface's text or a document.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fwriting\u002FSKILL.md",[],[77,82,83,84,85,86,29,87,88,89,90,91],"text","emails","empty","drop","document","page","voice","notifications","documentation","translate",{"skillNo":93,"name":22,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":36},"01M6D2HG07YS49NM196Q0R3AZ8","Designing or restyling an interface: direction, layout, type, colour, icons, components, states, responsive behaviour. Read before building a page, a screen or a set of components.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui\u002FSKILL.md",[],[22,98,35,99,100,87,101,29,102],"icons","SET","responsive","layout","before building",{"skillNo":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":36},"01M6D2HB59HZHWG1RYZDV4SJ91","ui-themes","Light and dark themes, and colour that holds in both: tokens with a value per theme, and what each kind of content needs to stay visible (icons, SVG drawings and line art, logos, photos, screenshots, charts, code, maps, borders, shadows, focus, form controls), switching without a flash, and checking both. Read before building a second theme or a theme toggle, and before any drawing, logo or chart on a page that has two themes.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-themes\u002FSKILL.md",[],[22,110,111,112,113,114,115,116,117,29,102,118,87,119,120,121,98,122,123],"ui themes","switching","photos","tokens","drawing","focus","maps","Art","flash","code","Charts","content","screenshots","logo",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":36},"01M6D2H5R5KRAE524C8QX0T7Q0","ui-structure","Structure before styling: the blueprint written before any interface code (the screen's job, the regions its kind of page needs, their order and why, the layout skeleton in numbers, the components and their states), the anatomy and order of a homepage, a dashboard, a list, a detail page, settings, a form, sign-in, pricing, docs, an article and a checkout, and how to turn the blueprint into code (tokens, layout primitives, components, sections, page). Read first, before building or rebuilding any page or screen.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-structure\u002FSKILL.md",[],[131,22,132,35,133,134,119,135,136,137,101,113,138,139,140,29,102,87,141,142],"structure","ui structure","pricing","dashboard","Blueprint","article","anatomy","styling","primitives","list","why","how",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":36},"01M6D2H0ZZBJG77MBGPZHA6MWD","ui-stack-vue","Building interfaces in Vue 3 and Nuxt: project layout, script setup with typed defineProps, defineEmits and defineModel, attribute fallthrough, slots and scoped slots, template refs, ref, reactive and computed, watch versus watchEffect, composables and VueUse, provide and inject, Pinia, keyed v-for, transitions, Nuxt 4 (app directory, pages, layouts, useFetch and useAsyncData keys, $fetch in handlers, server routes, runtime config, useSeoMeta, NuxtImg, middleware), VeeValidate forms, Reka UI and Nuxt UI, testing, vue-tsc, and the traps. Read when the project uses Vue or Nuxt.","https:\u002F\u002Fgithub.com\u002Fenowdev\u002Fenowxcli\u002Fblob\u002Fmain\u002Fcrates\u002Fenowx-core\u002Fskills\u002Fui-stack-vue\u002FSKILL.md",[],[22,150,21,151,31,152,153,154,101,33,155,156,29,157,158,159,160,161,162,27],"vue","ui stack vue","pages","watch","runtime","transitions","fetch","pinia","nuxt","template","server","config","directory"]