Index of every page on this site: llms.txt
All skills
abiramcodes avatar

/angular-developer

@5863679
by Abiramabiramcodes/ng-point9 stars
Run it yourself

Generates Angular code and provides architectural guidance. Trigger when creating projects, components, services, or HTTP communication, or for best practices on reactivity (signals, linkedSignal, resource, httpResource), queries and content projection, forms, dependency injection, routing, server and hybrid rendering (SSR, prerendering, hydration), accessibility (ARIA), animations, styling (component styles, Tailwind CSS), testing, naming conventions, or CLI tooling.

  • 45 files
  • 180.7 KB
  • MIT
  • Updated 2 days ago
  • GitHub
Use this Skill: https://skilld.dev/gh/abiramcodes/ng-point/angular-developer

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

referencesdeferrable-views.md

≈700 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Deferrable Views

Use a @defer block for template content that can be lazy loaded and is not required for the initial render. Angular splits eligible dependencies into a separate chunk and loads them when the block triggers.

Code splitting

A component, directive, or pipe is deferred only when:

  • It is standalone.
  • It is not referenced outside the @defer block in the same file, including by a view query.

Dependencies used by @placeholder, @loading, and @error are eager. Keep those blocks small. Avoid barrel imports when they cause a deferred dependency to be referenced eagerly.

States and triggers

@defer (on viewport; prefetch on idle) {
<product-reviews />
} @placeholder (minimum 200ms) {
<div class="reviews-placeholder" aria-hidden="true"></div>
} @loading (after 100ms; minimum 200ms) {
<p role="status">Loading reviews...</p>
} @error {
<p role="alert">Reviews could not be loaded.</p>
}
  • @placeholder renders before the trigger.
  • @loading renders while the deferred chunk loads. Use after and minimum to avoid flicker.
  • @error renders when loading fails.
  • on idle is the default. Other triggers are viewport, interaction, hover, immediate, and timer.
  • when expression triggers when the expression first becomes truthy. The block does not revert if it later becomes false.
  • prefetch downloads the chunk before the main trigger renders it.

See defer block triggers for trigger details and options.

For viewport, interaction, or hover, use a single-root placeholder or pass a template reference to the trigger.

SSR and hydration

By default, SSR and prerendering render the @placeholder block, or nothing when it is absent, without invoking triggers. In the browser, Angular hydrates the placeholder and activates the regular trigger.

When incremental hydration is enabled and the server should render the deferred content, add a hydrate trigger:

@defer (on viewport; hydrate on interaction) {
<product-reviews />
} @placeholder {
<div class="reviews-placeholder" aria-hidden="true"></div>
}

The regular trigger controls later client-side rendering. The hydrate trigger controls when server-rendered deferred content becomes interactive.

Layout stability

  • Do not defer above-the-fold or LCP content.
  • Give placeholders the same dimensions or aspect ratio as the final content.
  • Keep placeholder, loading, error, and final states geometrically consistent.
  • Avoid initial-render triggers such as immediate, short timer values, or early viewport triggers when replacement would cause layout shift.
  • Give nested @defer blocks different triggers to avoid cascading requests.

Source: SKILL.md on GitHub

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No third-party reports yet.

Signed by skilld at 5863679. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 10 hours ago.

Activeupdated 2 days ago
Other metadata
metadata
{
  "author": "Copyright 2026 Google LLC",
  "version": "1.0",
  "internal": true
}

README badge

README badge for abiramcodes/ng-point/angular-developer