angular-components
БесплатноБез исполняемых скриптовНе проверенStandards for Standalone Components, Signals inputs, and Control Flow. Use when building standalone Angular components or implementing @if/@for control flow…
от ComeOnOliver★ 67 звёзд на GitHubОб этом скилле
Angular Components
Priority: P0 (CRITICAL)
Principles
- Standalone:
standalone: true. Import all dependencies directly inimportsarray. Do not declare in NgModule. (Angular 20+: standalone is the default —standalone: trueis not needed.) Useng generate cto scaffold automatically. - Signal Inputs: Use
input()and input.required() instead of@Input(). Use booleanAttribute ornumberAttributetransforms where applicable (e.g.,input(false, { transform: booleanAttribute })). Access value as a function: this.disabled(). - Signal Outputs: Use output
() (from v17.3+) instead of@Output() EventEmitter. Emit with: this.selected.emit(value). For two-way binding use model() which creates a writable signal. - Control Flow: Use @if (condition), @for (item of items; track item.id), @switch, and @empty { } blocks inside @for for empty state instead of
*ngIf,*ngFor. - Host Bindings: Define in the host: { } object on
@Component(e.g.,'[class.active]': 'isActive()','(click)': 'onClick()') — Never use @HostBinding or @HostListener decorators. - View Encapsulation: Default
Emulated. UseNonecarefully.
Signals Integration
- Use computed() for derived state and display values.
- Use
effect()strictly for side effects (logging, manual DOM manipulation), NEVER for state propagation. - Avoid logic in templates — move to
computed()or component methods. Set ChangeDetectionStrategy.OnPush.
Anti-Patterns
- No logic in template: Replace with
computed()signals or component method calls. - No ElementRef mutation: Encapsulate DOM changes in a Directive or use Renderer2.
- No class inheritance: Compose behavior using Directives and Services instead.
References
Установить angular-components в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл angular-components?
Standards for Standalone Components, Signals inputs, and Control Flow. Use when building standalone Angular components or implementing @if/@for control flow. (triggers: **/*.component.ts, **/*.component.html, angular component, standalone, input signal, output, @if, @for)
Как установить скилл angular-components?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл angular-components запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic