This one teaches Claude about Angular's @defer syntax for lazy loading components, which landed in Angular 17. It covers the main triggers like viewport, interaction, and hover, so you can defer loading heavy charts until they scroll into view or modals until someone clicks a button. The examples are straightforward and show the placeholder pattern you'll actually use. It's a narrow skill, but if you're building Angular apps with performance concerns or working with component libraries that need conditional loading, it gives Claude the right syntax patterns without having to paste documentation every time.

skills.sh installs
178
GitHub stars
7
last updated
Aug 21, 2026

Install

$ npx -y skills add oguzhan18/angular-ecosystem-skills --skill angular-deferrable --agent claude-code

Installs into .claude/skills of the current project.

Files

Angular Deferrable Views

Version: Angular 17+ (2025) Tags: @defer, Deferrable, Lazy Loading

References: Deferrable Views

Best Practices

  • Use @defer with on viewport
@Component({
  template: `
    @defer (on viewport) {
      <heavy-chart />
    } @placeholder {
      <div>Loading...</div>
    }
  `
})
export class DashboardComponent {}
  • Use @defer with on interaction
@Component({
  template: `
    <button (click)="showModal = true">Open</button>
    @defer (when showModal) {
      <modal-component />
    }
  `
})
export class MyComponent {}
  • Use @defer with on hover
@Component({
  template: `
    @defer (on hover) {
      <tooltip />
    }
  `
})
export class TooltipWrapper {}

Sponsors

Details

Repository
github.com/oguzhan18/angular-ecosystem-skills
Category
Frontend Development
First seen
Jun 3, 2026

More from oguzhan18/angular-ecosystem-skills

All 45
1oguzhan18 avatarangular-resourceoguzhan18/angular-ecosystem-skillsALWAYS use when working with Angular Resource, Angular 19 resource API, or new async data loading with signals.178skills.sh installs
2oguzhan18 avatarangular-directivesoguzhan18/angular-ecosystem-skillsALWAYS use when working with Angular Directives, custom directives, attribute directives, structural directives, or directive composition in Angular application176skills.sh installs
3sickn33 avatarreact-flow-architectsickn33/antigravity-awesome-skillsreact flow architect176skills.sh installs
4oguzhan18 avatarangular-routeroguzhan18/angular-ecosystem-skillsALWAYS use when working with Angular Router, routing configuration, guards, resolvers, lazy loading, or navigation in Angular applications.172skills.sh installs
5tuziapi avatartuzi-markdown-to-htmltuziapi/tuzi-skills将 Markdown 转换为带样式的 HTML,支持微信公众号兼容主题。支持代码高亮、数学公式、PlantUML、脚注、提示框和信息图。当用户要求 "markdown to html"、"md转html"、"转换为html" 时使用。164skills.sh installs
6nexu-io avatarhtml-ppt-taste-editorialnexu-io/open-design16:9 HTML deck in editorial-minimalist taste. Warm cream slides, serif display + grotesque body, hairline rules, monospace meta, generous macro-whitespace, one 160skills.sh installs